set variable in linux command line

The Linux Command Line

The Linux Command Line

Ngày tải lên : 20/11/2013, 21:24
  • 522
  • 500
  • 1
Tài liệu Beginning the Linux Command Line [Apress 2009] ppt

Tài liệu Beginning the Linux Command Line [Apress 2009] ppt

Ngày tải lên : 10/12/2013, 14:15
... CHAPTER 1 Starting Linux Command- Line Administration T o unleash the full power of Linux, as a Linux administrator you will spend most of your time typing commands on the Linux command line, the ... xv Introduction xvii CHAPTER 1 Starting Linux Command- Line Administration 1 Linux Distributions 1 Linux History 1 Open Source 2 The First Distributions 2 Linux Turning Mainstream 2 Logging ... had in mind system administrators, software developers, and enthusiastic users who want to get things going from the Linux command line. For beginning users, this may be a daunting task, as Linux...
  • 381
  • 381
  • 0
Báo cáo y học: "High level expression of apoptosis inhibitor in hepatoma cell line expressing Hepatitis

Báo cáo y học: "High level expression of apoptosis inhibitor in hepatoma cell line expressing Hepatitis

Ngày tải lên : 02/11/2012, 11:17
... persistently HBV expressing cell line HepG2.215 and its parent cell line, a non-HBV expressing cell line HepG2. We found that cIAP1 and cIAP2 were clearly increased in the HBV expressing cells but XIAP ... how these proteins contribute to the carcinogenesis is still in the investigation. The involvement of these proteins in the NF-kB related signal transduction pathway that results in the cell apoptosis ... and procaspase-7 by binding and blocking the activity of caspase-9. Increasing evidence demonstrated that IAPs are up regulated in many human tumor types and tumor cell lines [ 18, 32, 29, 39,...
  • 6
  • 514
  • 0
C programming in linux

C programming in linux

Ngày tải lên : 13/09/2013, 09:23
  • 84
  • 443
  • 0
Accepting Command-Line Options, Switches, and Parameters

Accepting Command-Line Options, Switches, and Parameters

Ngày tải lên : 05/10/2013, 08:51
... a bit more elegant because it is con- tained within a single line of code instead of being spread out over four. The same test is performed against the variable, but the && (logical AND) ... related to setting default variables, at least conceptually. In the previous examples, I set default values by testing a particular variable to see if it had been defined, and then assigning it ... "${username:?$LOGNAME}" Changing the argument that follows the question mark to some type of error string will make this statement very useful in debugging and finding undefined variables in your code. The...
  • 11
  • 388
  • 0
Command-Line E-mail Attachments

Command-Line E-mail Attachments

Ngày tải lên : 05/10/2013, 08:51
... it, I copied the headers into the test message. I have preserved the line spacing of the copied message. Notice the line in the preceding code that defines a boundary string ( mime- attachment-boundary). ... obtain the original binary file. First we define a variable specifying the temporary file that will contain the encoded message as well as a variable that holds the script-usage string. #!/bin/sh tmpfile=/tmp/uu_output.$$ usage="Usage: ... {email_address}" Now we validate the input by determining whether the positional parameter holding the binary file is defined. if [ ! -z $1 ] then file=$1 CHAPTER 23 ■ COMMAND- LINE E-MAIL ATTACHMENTS 155 ■ Tip If...
  • 5
  • 398
  • 0
Command-Line Editing and History

Command-Line Editing and History

Ngày tải lên : 05/10/2013, 08:51
... CHAPTER 15 ■ COMMAND- LINE EDITING AND HISTORY 101 ksh In ksh configuring vi editing mode can once again be set either systemwide or for an indi- vidual user. Modifying the systemwide /etc/profile ... immensely when working at the command line. If you’re not comfortable with the vi edi- tor, I recommend practicing; vi is the default text editor on UNIX /Linux systems, and you’ll certainly have to ... that is usually kept in the user’s home directory. Adding the following line to one of those two files will enable vi mode: set editing-mode vi Another way to enable vi mode in bash is to modify...
  • 3
  • 300
  • 0
Scripting from the Command Line

Scripting from the Command Line

Ngày tải lên : 05/10/2013, 08:51
... using a command call within back-ticks (` `). A command string enclosed within back-ticks denotes not the given string, but the string obtained by evaluating the command string and replacing ... entered miniscript for easy modification and reuse. 1. To read a file line- by -line where the lines contain more than a single “word,” refer to Chapter 10. 104 CHAPTER 16 ■ SCRIPTING FROM THE COMMAND ... you’re working with many lines at once), you can return to the previous (mistyped) command in your history and then edit the command sequence using vi-style command- line editing. You can also recall...
  • 3
  • 430
  • 0
The IDE - Eclipsing the Command Line

The IDE - Eclipsing the Command Line

Ngày tải lên : 05/10/2013, 10:20
... the installation process by selecting Help ➤ Software Updates ➤ Find and Install. This br ings up the Install/Update window, shown in Figure 2-4. CHAPTER 2 ■ THE IDE: ECLIPSING THE COMMAND LINE ... you’ll learn how to use it both from the command line and from within Eclipse using the Subversive plug -in. CHAPTER 2 ■ THE IDE: ECLIPSING THE COMMAND LINE4 0 9810ch02.qxd 5/15/08 11:04 AM Page ... point in the program that the node in the explorer represents. The Outline view to the right shows the elements corresponding to the currently active editor. Clicking any element in the Outline...
  • 20
  • 387
  • 0
FreeBSD and Command Line Tools

FreeBSD and Command Line Tools

Ngày tải lên : 19/10/2013, 01:20
... from the Command Line In chapter 9, we looked at the ping and arp commands. These are available from the web interface but they are also available from the command line. To ping another machine from ... resources in the computer including memory, video, networking, and hard disks. Some popular operating systems today include Microsoft Windows, Apple OS X, Linux, and FreeBSD. As an operating system, ... done using the graid5 insert command. freenas:~# graid5 insert myraid5 da0 The array will now start rebuilding. You can check that it is rebuilding by using the graid5 status command again: Access:...
  • 43
  • 849
  • 0
SecurePlatform Pro & Advanced Routing Command Line Interface

SecurePlatform Pro & Advanced Routing Command Line Interface

Ngày tải lên : 19/10/2013, 12:15
... Features 234 Command Tokens 234 Command Line Completion 234 Moving About the Command Line 236 Context-Sensitive Help 236 History 237 Disabling/Enabling CLI Tracing 237 Aborting an Executing Command ... running-config 249 show version 251 terminal history 251 terminal history size 252 terminal length 253 write memory 254 Querying the Advanced Routing Suite CLI 255 Memory Information 255 Task Information ... 240 CLI Behavior Commands 241 configure file 241 configure terminal 242 disable 242 enable 243 end 243 exit 244 ip router-id 244 ip routingtable-id 245 logout 246 quit 246 show debugging 247 show...
  • 1.3K
  • 364
  • 0
Writing device drivers in Linux: A brief tutorial

Writing device drivers in Linux: A brief tutorial

Ngày tải lên : 23/10/2013, 22:15
... fclose(PARLELPORT); } Writing device drivers in Linux: A brief tutorial Final application: flashing lights 18 #include < ;linux/ init.h> #include < ;linux/ config.h> #include < ;linux/ module.h> #include ... < ;linux/ kernel.h> /* printk() */ #include < ;linux/ slab.h> /* kmalloc() */ #include < ;linux/ fs.h> /* everything */ #include < ;linux/ errno.h> /* error codes */ #include < ;linux/ types.h> ... io.h. <parlelport initial> = /* Necessary includes for drivers */ #include < ;linux/ init.h> #include < ;linux/ config.h> #include < ;linux/ module.h> #include < ;linux/ kernel.h> /* printk()...
  • 21
  • 437
  • 0
Open Outlook Items from the Command Line

Open Outlook Items from the Command Line

Ngày tải lên : 24/10/2013, 06:15
... Documents\report.doc" The command- line examples might be printed on two or more lines, but when typing them in, use one line and leave a space before the slash (/), as seen in the shorter examples. ... appropriate switch. ã /Embedding Embeds the specified message file (.msg) as an OLE (Object Linking and Embedding) object in a new message. Also used without command- line parameters for standard ... an email address or any resolvable name or distribution list in your address book. Use it with the /c command- line parameter as in this example: ã Outlook.exe /c IPM.note /m diane@poremsky.com...
  • 3
  • 388
  • 0
B Command-Line Utilities

B Command-Line Utilities

Ngày tải lên : 04/11/2013, 16:15
... the command- line switches that are available. Command- Line Syntax In Table B-5, you can see all the command- line switches understood by the Visual Basic .NET compiler. To get an instant listing ... output using UTF-8 encoding. /warn Set warning level. /warnaserror Promote warnings to errors. /win32icon Insert an .ico file into the output file. /win32res Insert a Win32 resource into the ... .NET Framework. This appendix will introduce these tools and will also detail the command- line usages of vbc.exe. Command Utilities In order to be able to run these command- line utilities, you must configure...
  • 8
  • 434
  • 0