您的位置:首页 > 运维架构 > Linux

How to use Linux

2018-02-25 14:37 330 查看

How to manage tasks by command

jobs :show the tasks running or stopped
bg [Order Number]:run the task stopped
fg [Order Number]:stop the task running
ApplicationName & :running the application


Switch user

su - :change to SuperUser
If you can't run the command,try "sudo passwd root" to change the password of root first.
While you see the "#" sign but "$" means you are superuser now.
passwd :change current user's password


Switch folder and file

pwd :print current dictionary
ls :list current dictionary
-a list all dictionary and files(including hidden dictionary and files)
-l show detail information
touch :create a new file

Some Sign about the Path:
~  :the user's home dictionary
.. :upper level dictionary
.  :current dictionary
-  :the last working dictionary you visited


#

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: