Linux Common commands

Source: Internet
Author: User
Tags memory usage parent directory time and date

Click Query command Details
Awk a programming language that handles the aliases of text and data alias settings directives basename print a directory or the base name of a file BC supports arbitrary precision interactive execution of the Calculator language CAL displays the current calendar, or refers to Calendar with a date set.        Cat View File Contents cat/etc/resolv.conf View DNSCD switch working directory CHGRP change the user group that the file or directory belongs to chmod change the permissions of the file or directory Chown        Change the owner of a file or directory and the group that belongs to CP copy one or more source files or directories to the specified section in the specified destination file or directory cut display line, delete the specified field in the file date display or set the system time and date Df-h View disk partitions Usage DirName Remove the non-directory portion of the file name, displaying only directory-related content du view files and directory disks using space echo print out the specified variable or string in the terminal env view ring environment variable find files in the specified directory free-h view memory usage and swap usage gpasswd Management Group grep Text Search tool, support regular Groupadd create a new workgroup, new The workgroup information will be added to the system file Groupdel delete the specified workgroup groupmod change the group identifier or name groups on the standard input output group members of the specified users ' help display inside the shell The Help information for the command displays the specified number of command commands, reads the directory in the history command file into the history command buffer, and writes the directory in the history command buffer to the command file hostname displays and sets the host name of the system ifconfig configuration and display         Network parameters for the network interface in the Linux kernel info linux under Info format Help directive iptables-l View firewall settings kill the program in the Terminate process LS display target list lsb_release-a View System Version Information LSBLK lists information about all available block devices LSCPU Displays information about the CPU man see instructions in Linux, help with configuration files, and programming help mkdir create a directory MV to re-kill a file or directory Name, or move the file from one directory to another NETSTAT-NTLP see all port Usage newgrp log in to another group NEWGRP [group name]ntpdate set local date and time PASSW D Set the user's authentication information, including user password, password expiration time, etc. paste multiple files in a queued column Poweroff shut down the computer operating system and switch off the system power PS to report the current system's process status. You can break and delete unnecessary programs with the KILL command at any time.        PWD Displays the user's current working directory as an absolute path rm delete rmdir Delete empty directory RPM software package management tool screen simultaneously connects multiple local or remote command line sessions SED Stream editor, mainly used to automatically edit one or more files, you can use the regular expression with the sort file/text sort Stat To display the status information of the file, than the output information of the LS command to more detailed top real-time dynamic view of the overall operation of the system, monitoring system performance and run information touch to create a new empty file; file Refresh file time tree to list the contents of a directory in a TreeView TTY View current terminal equipment type displays the types of the specified command, judging whether the given instruction is an internal directive or an external command una        Lias canceling the command alias uname-a viewing the kernel/operating system/CPU information Uniq used to report or ignore duplicate rows in a file, generally with the sort command in conjunction with the new system user Useradd created Userdel Delete a given user, and user-related files usermod Modify the user's basic information WC can calculate the number of bytes, words, or columns of a file whatis query a command to perform what function whereis positioning instructions Binary programs,Path to related files such as source code files and man manual pages which find and display the absolute path of a given command who displays the user information for the currently logged on system who am I shows the current user of the actual login yum RPM-based package Manager,  You can find, install, and delete one, a group, or even all of the packages.  Current directory: Parent Directory ~ Home Directory

Linux Common commands

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.