sudo uname--m View the number of operating system bits
sudo uname--s display kernel name s
sudo uname--r display kernel version
sudo uname--n display the network host name
sudo uname--p display CPU
Under Ubuntu, text files are usually opened with the command line, such as commands Gedit, more, cat, vim, less, xdg-open
mkdir Directory Name--Create a directory
RmDir Empty directory name--delete an empty directory
RM File name--delete a file or multiple files
RM-RF non-empty directory name--delete everything in a non-empty directory
Touch file name--Create an empty file
Rename file (clip)/move file (clip) to the specified folder
Execution format: MV source destination
Example:
MV File1 file2 means to file1 the file and change the file name to File2. MV File1 dir1 The file file1, moved to directory Dir1, and the filename is still file1. MV Dir1 DIR2 If the directory Dir2 exists, the
Dir1, and all of its files and subdirectories, move to directory Dir2, and the new directory name is Dir1. If the directory Dir2 does not exist, the dir1, and all of its files and subdirectories, are changed to directory Dir2.
Linux Shell Simple Commands