红联Linux门户
Linux帮助

linux collection

发布时间:2008-01-10 12:20:21来源:红联作者:training
1: ~
A tilde character (`~') denotes your home directory, which is where you'll find yourself when you log in.
2: #
If your shell prompt shows a number sign (`#') instead of a `$', this means that you're logged in with the superuser, or root, account.
3: partial of keywords + [Tab] (searching command full words using partial beginning alphabetics.)
eg:
~/Desktop$ ls[Tab]
ls lsb_release lshw lsof lspcmcia lsusb
lsattr lshal lsmod lspci lspgpot
4: running a list of command

To run more than one command on the input line, type each command in the order you want them to run, separating each command from the next with a semicolon (`;'). You'll sometimes find this useful when you want to run several non-interactive commands in sequence.

eg:
~/Desktop$ whoami;ls
gangcai
test~ test.pl~ test.txt
5: view your command history
$history[RET]
To run history event number 1, type:
$ !1 [RET]
文章评论

共有 0 条评论