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

Useful Linux commands from OSSIE

2011-11-15 10:57 387 查看
B Useful Linux commands

• man {command}: This opens the help file for the specified command. For example, type man

pwd.

• pwd: Print working directory.

• ls: List files.

• cd: Change directory.

• mkdir: Create a new directory.

• cp: Copy a file.

• cp -r: Copy a directory.

• su: Enter root or supervisor mode.

• ps -e: Lists all current running processes.

• grep: Searches and prints lines matching a given pattern.

• vim: A shell-based text editor.

• killall: Kills all processes matching a given name or ID number.

• rm: Removes a file.

• rm -rf: Removes a directory.

• chmod: Change read, write and execute permissions for the owner, group and guest users.

• <CTRL>Z: Suspend process (application).

• ./: Current directory.

• ../: Parent directory of the current directory.

• : Home directory for your login.

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