May 23, 2021 DOS Command learning manual
Basic command under Linux: Case sensitive
uname display version information (with win2K ver)
Dir shows the current directory file, ls -al display includes hidden files (with the dir of win2K)
The pwd queries the current directory location
cd cd .. B ack to the upper level of the directory, pay attention to cd and: T here are spaces between them. c d / Return to the root.
cat file name View the contents of the file
The cat and abc .txt to .txt in the abc file.
The more file name displays a text file one page at a time.
cp Copy the file
mv Move the file
rm file name Delete files, rm-a directory name delete directories and subdirectdirectles
mkdir directory name Establish a directory
rmdir deletes the subdirecte, which does not have documents.
chmod sets access to an archive or directory
Grep looks for strings in the archive
diff file comparison
Find file search
Date's date and time now
Who queries who is currently using the same machine as you and the Login time and place
w Find out the details of the person currently on the plane
Whoami sees the name of his account
Groups view someone's group
Passwd changes the password
History sees the commands he's made
ps shows the status of the process
Kill stops a process
gcc hackers often use it to compile files written in the C language
The su permission is converted to the specified consumer
Telnet IP telnet connects to the other host (with win2K), which indicates a successful connection when bash$appears.
ftp ftp connects to a server (with win2K)