Basic commands under Linux system

Source: Internet
Author: User

Basic commands under the Linux system

Linux System basic commands: to distinguish case
uname display version information (same as Win2K ver)
dir Displays the current directory file, Ls-al display includes hidden files (dir with Win2K)
pwd Query the directory location where you are currently located
CD CD. Go back to the previous level and note the CD with the. There are spaces between them. CD/Return to the root directory.
Cat file name view file contents
Cat >abc.txt The contents of the Abc.txt file.
More file names display a text file in a page-by-page fashion.
CP Copy File
MV Moving files
RM file name delete file, rm-a directory name delete directory and subdirectories
mkdir directory name creation directory
rmdir Delete subdirectories, there are no documents in the directory.
chmod setting access rights to files or directories
grep finds a string in the archive
diff file comparison
Find Archive Search
date, time of day
who queries the person who is currently using the same machine as you and the login time location
W Query the details of the current person on the machine
WhoAmI to see your account name
groups to see someone's group
passwd Change Password
History View the commands you've been under
PS Display process status
kill stops a process
gcc hackers usually use it to compile files written in C language.
the SU permission is converted to the specified consumer
telnet IP Telnet connects to the other host (same as Win2K), indicating that the connection was successful when bash$ was present.
FTP FTP connection on a server (same as Win2K)

Basic commands under Linux system

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.