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