linux权威指南

linux命令
pwd
pwd = print working directory
cd
cd = change directory
ls
ls =listing
man = manual
$ = equals to Shell command
Where are we now? A cd with no arguments returns us to our home directory.
我们到底在哪里呢?如果cd命令没有带参数将会帮忙我们返回到我们的home目录;
By the way, the home directory is often represented by a tilde (~).
 顺便提一句,主目录经常被替换成~符号;因此可以用~代替主目录;例如,以下命令是合法的:
cd ~
So the string ~/programs means that programs is located right under your home directory.
cd ~/test = cd /home/user_directory_name/test
The special character sequence .. refers to "the directory just above the current one."
这个特殊的字符串代表“当前目录的上一层”
When you have successfully logged in, you will see a prompt. If you're root, this may be a
simple: #
Similarly, the rm command deletes files. We won't show it here because we haven't yet shown
how to create a file.
类似地,rm命令用来删除文件;我们将不会在这里展示它因为我们还没有在这里展示怎么创建一个文件;
setterm -inversescreen on
setterm -inversescreen off
setterm -backgroud COLOR
setterm -foregroud COLOR

猜你喜欢

转载自zhengkunsheng.iteye.com/blog/2381231
今日推荐