【Ubuntu系统常用命令以及英文缩写】

Ubuntu系统常用命令以及英文缩写

Ubuntu common commands

Listing all Ubuntu commands and their explanations would be quite extensive, as Ubuntu, like other Linux distributions, has a very large number of commands. However, I can provide you with a summary of some key categories and examples of commands within them:

  1. System Information Commands:

    • lsblk: List block devices on the system.
    • lspci: List all PCI devices in the system.
    • lshw: Show detailed hardware information about the machine.
    • dmesg: Shows kernel messages since last boot.
    • uname: Displays the Linux kernel release and architecture.
  2. File Handling Commands:

    • ls: Lists files and directories in the current directory.
    • touch: Creates an empty file or alters a file’s timestamp.
    • cp: Copies files or directories.
    • mv: Moves or renames files or directories.
    • rm: Removes files or directories.
    • find: Finds files in a directory.
  3. Package Installation Commands:

    • apt-get install: Installs a package from the APT repository.
    • apt-get update: Updates package lists from repositories.
    • apt-get upgrade: Upgrades existing packages.
    • dpkg -i: Installs Debian-based packages.
  4. Commands for Downloading/Extracting Files:

    • wget: Downloads files from the web.
    • tar: Packages files into a single file or extracts them.
    • unzip: Extracts files from a ZIP archive.
    • zip: Compresses and archives files.
  5. Commands for Removing Packages/Uninstalling Software:

    • apt-get remove: Removes installation files while keeping configuration data.
    • apt-get autoremove: Removes automatically installed packages.
    • dpkg -P: Uninstalls specific configuration files.
    • apt-get purge: Removes everything related to a package.
  6. Networking Commands:

    • ifconfig: Configures interface information.
    • ip addr show: Shows IP addresses associated with an interface.
    • ifup: Configures network interfaces.
  7. Managing Processes and System Resources:

    • killall: Kills all running processes.
    • pkill: Kills processes by name.
    • ps: Shows running processes.
    • kill: Terminates specified processes.
  8. User Account Management Commands:

    • passwd: Changes a user’s password.
    • adduser: Creates a new user account.
    • deluser: Deletes an existing user account.

Each command has its own set of options and uses, which can be explored further using the man command in the terminal or by referring to various Linux command guides and documentation. For a more comprehensive list and details of these commands, you can refer to resources like Linux Handbook【10†source】, DEV Community【11†source】, and other Linux tutorials and guides.

命令常用网站

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值