Linux Common commands Quick Check memo

Source: Internet
Author: User
Tags disk usage

Linux Common commands Quick Check memo

PS: Memo only, detailed command parameters describe yourself man

I. Start, shut down, log in, log out related commands

[Login] Login

[Logout] Log out

[Exit] Log out

[Shutdown] Stop system

[Halt] Stop system

[Reboot] Restart

[Poweroff] Power off

[Sync] writes the contents of memory to disk

[Lilo] Install Lilo startup hypervisor

[Grub] Installing the LILO Boot management program

Two. Shell-related commands

[Chsh] Toggle Shell

[history] Show command resume

[alias] set command alias

[Unalias] Canceling command aliases

[which] shows where the command is located

[Type] Query command type

[echo] Displays string or variable contents

[Set] set/show shell variables

[PRINTENV] Display environment variables

[Export] Setting environment variables

[ENV] setting temporary environment variables

[unset] Releasing environment variables

[SETENV] Setting environment variables

[unsetenv] Releasing environment variables

[Source] command in Execute file

[Man] Query command manual

[INFO] Query Hypertext command Manual

[Whatis] Show command Introduction

[Apropos] Search Manuals by keyword

Three. User management related commands (Getting Started tutorial qkxue.net)

[SU] switch to another user

[Useradd] Append user

[AddUser] Append user

[Userdel] Delete user

[Usermod] Modifying user settings

[CHFN] Modify user private information

[Groupadd] Append Group

[Groupdel] Deleting a group

[Groupmod] Modifying group settings

[passwd] Change Password

[WhoAmI] Display user name

[logname] Show login user account

[Users] Displays all logged-in user information

[who] query login user Information

[W] Query login user Information

[ID] Displays the ID information for the specified user

[Groups] Displays the group to which the specified user belongs

[Finger] Displays the personal information of the specified user

[MESG] Switch send and receive messages to others

[Write] sends messages to other users

[Wall] Send messages to all users

[talk] chatting with other users

Four. System message-related commands

[Top] provides real-time status monitoring of the system's processor

[Date] Show/set Current time

[Uptime] Shows the system run time

[Arch] shows the core architecture of the machine (e.g. i386)

[uname] Display operating System information (Tengyun technology ty300.com)

[TTY] Display terminal name

[Last] Show login/logout in resume

[LASTB] Displays illegal login information

[Dumpkeys] Displays the current keyboard configuration

[Loadkeys] Changing the keyboard configuration

[DF] Querying disk usage information

[du] Querying disk usage information

[DMESG] Display system boot message

[Script] saving input and output to a file

Five. File operation related commands

[LS] Display file list

[Tree] Display directory tree

[PWD] Displays the current path

[CD] Change the current path

[pushd] Append path to directory stack

[POPD] Removing a path from the directory stack

[Dirs] Displays the contents of the directory stack

[mkdir] Creating a path

[RmDir] Delete path

[CP] Copy files/directories

[RM] Delete files/directories

Manuscripts: Diligent Learning qkxue.net

More Linux common commands quick Check memo

Linux Common commands Quick Check memo

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.