现在的位置: 首页 > 综合 > 正文

Useful Linux commands from OSSIE

2012年12月16日 ⁄ 综合 ⁄ 共 688字 ⁄ 字号 评论关闭

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.

抱歉!评论已关闭.