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.
• 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.

本文全面介绍了Linux操作系统中常用的命令及其用途,包括文件管理、目录操作、权限设置、进程管理、搜索功能等核心命令,帮助用户快速掌握Linux环境下的基本操作技巧。
821

被折叠的 条评论
为什么被折叠?



