In Linux the basic commands are written as:
command [ parameter Options ] [ file or path ]
The command to use [ the file or path to be processed or consulted ] [This is the one that needs to be variable but must be matched with the command used ] .
Command Usage view method: Man helpIfon(query command using Parameters three commands)
case:650) this.width=650; "Width=" 213 "height=" "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/themes/default/images/word.gif") no-repeat center;border:1px solid #ddd; "alt=" spacer.gif "/ >650) this.width=650; "width=" 257 "height=" to "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/themes/default/images/word.gif") no-repeat center;border:1px solid #ddd; "alt=" spacer.gif "/ >
;650) this.width=650; "Width=" height= "src="/e/u261/themes/default/images/spacer.gif [style=] Background:url ("/e/u261/themes/default/images/word.gif") no-repeat center;border:1px solid #ddd; "alt=" spacer.gif "/ > Use these three query commands to know how the command is used.
Command:pwd English original print work directory Chinese meaning (print working table of Contents) View current user's path
Case:
650) this.width=650; "Width=" 248 "height=" Notoginseng "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/themes/default/images/word.gif") no-repeat center;border:1px solid #ddd; "alt=" spacer.gif "/ > typing pwd directly into the command line will display the current path. As in the case, directly in the input command it will be the user's current path (shown in root / down root this path), this path is also the user's home directory.
parameter Query method for pwd command man pwd
Case:
650) this.width=650; "Width=" 326 "height=" "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ( "/e/u261/themes/default/images/word.gif") no-repeat center;border:1px solid #ddd; "alt=" Spacer.gif "/>
Parameters:
1:-L--logical ( logic )
Use PWD from environment, even if it contains symlinks ( shows the current logical path )
Case:
650) this.width=650; "width=" 284 "height=" "src="/e/u261/themes/default/images/spacer.gif "style=" backgr Ound:url ("/e/u261/themes/default/images/word.gif") no-repeat center;border:1px solid #ddd; "alt=" Spacer.gif "/> only the logical path is shown when using- l
2:-P--Physical(physical)
Acoid All symlinks ( displays the physical full path of the current path )
Case:
650) this.width=650; "width=" 429 "height=" "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd; "alt=" spacer.gif "/> after adding- p shows that the original path in the current path is also a physical path (/etc/init.d is rc.d/init.d shortcuts) that show up.
Linux Basic command parameter details of PWD