linux set env variable 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

... power of Linux, as a Linux administrator you will spend most of your time typing commands on the Linux command line, the so-called shell prompt. For someone who is new to the command line, the ... ARE authenticated. Command- Line Basics The command line is important, because a system administrator can do anything from it. Linux has many, many commands, more than you will ever know, and new commands ... xvii CHAPTER 1 Starting Linux Command- Line Administration 1 CHAPTER 2 Performing Essential Command- Line Tasks . . . . . . . . . . . . . . . . . . . . . . 27 CHAPTER 3 Administering the Linux File System ...

Ngày tải lên: 10/12/2013, 14:15

381 381 0
Accepting Command-Line Options, Switches, and Parameters

Accepting Command-Line Options, Switches, and Parameters

... checks to see if a variable (VAR) has been set. The -z (zero) test checks to see if the length of the string variable is zero. If it is, the code resets the value of the variable to a default ... used. If that variable is set to only a null value, then that value is used. If, however, the username variable is undefined, the script will exit and display the variable, the line of code ... result, this command uses the value of the LOGNAME variable for the echo com- mand, and sets the value of username to the value of LOGNAME. 32 CHAPTER 5 ■ ACCEPTING COMMAND- LINE OPTIONS,...

Ngày tải lên: 05/10/2013, 08:51

11 389 0
Command-Line E-mail Attachments

Command-Line E-mail Attachments

... 154 CHAPTER 23 ■ COMMAND- LINE E-MAIL ATTACHMENTS fi fi else echo $usage exit 1 fi Next the e-mail message is created, ... received 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). ... destination address manually. Finally we remove the temporary file for cleanup. 151 ■ ■ ■ CHAPTER 23 Command- Line E-mail Attachments I often send e-mail to myself containing information gathered from...

Ngày tải lên: 05/10/2013, 08:51

5 398 0
Command-Line Editing and History

Command-Line Editing and History

... com- mand line is command and file completion. With this feature, you can start to type a path or command, and once you’ve typed a sufficient number of characters for the path or command to ... entry to /home/rbpeters. Pressing Enter then executes the command. 100 CHAPTER 15 ■ COMMAND- LINE EDITING AND HISTORY When you enter command mode you start at the bottom of your history and ... 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....

Ngày tải lên: 05/10/2013, 08:51

3 300 0
Scripting from the Command Line

Scripting from the Command Line

... 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 LINE concurrent package installation ... 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 a previously entered ... kinds of scripts efficiently is command- line recall, which is discussed in Chapter 15. If you make a mistake while typing (not unlikely when you’re working with many lines at once), you can return...

Ngày tải lên: 05/10/2013, 08:51

3 430 0
The IDE - Eclipsing the Command Line

The IDE - Eclipsing the Command Line

... IDE: ECLIPSING THE COMMAND LINE3 4 9810ch02.qxd 5/15/08 11:04 AM Page 34 The IDE: Eclipsing the Command Line T here are two main ways you can work with Python: through the command line or through an ... 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 ... 2 ■ THE IDE: ECLIPSING THE COMMAND LINE 27 9810ch02.qxd 5/15/08 11:04 AM Page 27 Summary Eclipse is an increasingly popular IDE that offers many advantages over the command line. It’s free, and it...

Ngày tải lên: 05/10/2013, 10:20

20 387 0
FreeBSD and Command Line Tools

FreeBSD and Command Line Tools

... ping and arp 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 ... two computers. It is most commonly used as a secure command line interface to a remote computer. This means that you can access the command line interface of the FreeNAS server from a remote computer ... as those set down is chapter 9. The command line can be used to rebuild the array rather than the web interface. Once the new disk has been put back into the system, you need to use the forget command. This...

Ngày tải lên: 19/10/2013, 01:20

43 849 0
SecurePlatform Pro & Advanced Routing Command Line Interface

SecurePlatform Pro & Advanced Routing Command Line Interface

... 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 ... 309 Command History 311 Examples 311 Chapter 11 Martian Addresses Overview 314 Martian Address Commands 314 martian 315 Name 315 Syntax 315 Mode 315 Parameters 315 Description 316 Default 316 Command ... 652 Default 653 Command History 653 Table of Contents 27 Default 498 Command History 498 Examples 498 neighbor use-med 499 Name 499 Syntax 499 Mode 499 Parameters 499 Description 499 Default 500 Command...

Ngày tải lên: 19/10/2013, 12:15

1,3K 364 0
Open Outlook Items from the Command Line

Open Outlook Items from the Command Line

... this command line creates a new message with report.doc attached: ã "C:\Program Files\Microsoft Office\Office11\Outlook.exe " ã /a "C:\My Documents\report.doc" The command- line ... "C:\My 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 ... many cases, the following group of commands is more appropriate to use to programmatically use a feature, rather than for regular use. The format of the command line needed for these switches is...

Ngày tải lên: 24/10/2013, 06:15

3 388 0
B Command-Line Utilities

B Command-Line Utilities

... section will give you an overview of most of 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 ... 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 the environment properly. The Visual ... installation includes a command file (VCVARS32.bat) that configures the command environment properly by setting the path variable to include the Visual Studio .NET directory. The command file is installed...

Ngày tải lên: 04/11/2013, 16:15

8 434 0
Tài liệu 101 lệnh tronm Command Line doc

Tài liệu 101 lệnh tronm Command Line doc

... Checker Utility (Return to Default Setting) sfc /revert System File Checker Utility (Purge File Cache) sfc /purgecache System File Checker Utility (Set Cache Size to size x) sfc /cachesize=x ... Network Connections control netconnections Network Connections ncpa.cpl Network Setup Wizard netsetup.cpl Notepad notepad Nview Desktop Manager (If Installed) nvtuicpl.cpl Object ... (Display DHCP Class ID) ipconfig /showclassid IP Configuration (Modifies DHCP Class ID) ipconfig /setclassid ava Control Panel (If Installed) jpicpl32.cpl Java Control Panel (If Installed)...

Ngày tải lên: 09/12/2013, 22:15

7 384 0
Tài liệu Cisco Security Appliance Command Line pdf

Tài liệu Cisco Security Appliance Command Line pdf

... Appliance Command Line Configuration Guide OL-12172-01 Setting the Date and Time 2 Setting the Time Zone and Daylight Saving Time Date Range 3 Setting the Date and Time Using an NTP Server 4 Setting ... EXEC Mode (the enable Command) 6 43 Cisco Security Appliance Command Line Configuration Guide OL-12172-01 About This Guide Document Conventions Document Conventions Command descriptions use ... ã Examples depict screen displays and the command line in screen font. ã Information you need to enter in examples is shown in boldface screen font. ã Variables for which you must supply a...

Ngày tải lên: 21/12/2013, 05:18

1,2K 1,1K 2
Tài liệu Lab 2.2.9 Command Line Fundamentals ppt

Tài liệu Lab 2.2.9 Command Line Fundamentals ppt

... __________________________________________________________________________ Step 9 Use the command history feature a. Use the command history to see and reuse the previously entered commands. Press the up arrow or Ctrl-p to see the last entered command. Press it ... Step 6 List the show commands a. List all show commands by entering show ? at the router privileged EXEC prompt. Router#show ? b. Is running-config one of the available commands from this mode? ... configuration by using the command show running-config at the privileged EXEC router prompt. Router#show running-config b. List six key pieces of information shown with this command: ...

Ngày tải lên: 18/01/2014, 04:20

3 272 0
Tài liệu Command line pdf

Tài liệu Command line pdf

... ụ root (bao g m c file n).ồ ả ẩ command option arguments 1 The Command The Command Line Line Tài Li u H ng D n H c ệ ướ ẫ ọ Tài Li u H ng D n H c ệ ướ ẫ ọ Linux LPI Linux LPI www.athena.edu.vn www.athena.edu.vn Biên ... 2 The Command Line The Command Line  Giới thiệu dòng lệnh  Cú pháp dòng lệnh  Một số lệnh thông dụng  Chuyển hướng ... Linux.  V i h đi u hành Unix và Linux, các thao tác ớ ệ ề đ h a không th đáp ng đ công vi c c n ồ ọ ể ứ ủ ệ ầ thi t. Dòng l nh là công c h u hi u nh t.ế ệ ụ ữ ệ ấ  Dòng l nh trong Unix và Linux...

Ngày tải lên: 21/01/2014, 18:20

11 543 3
Tài liệu Sao lưu toàn bộ website bằng SSH Command Line pdf

Tài liệu Sao lưu toàn bộ website bằng SSH Command Line pdf

... sao lưu theo ý muốn của bạn. Tại câu lệnh này, Tar là 1 chuẩn định dạng file nén phổ biến trong Linux, tương tự như zip nhưng hiệu quả hơn nhiều, còn -vcf là 1 lựa chọn khác của hệ thống, với...

Ngày tải lên: 15/02/2014, 16:20

4 390 1
w