Basic Instructions of Linux

As I wrote before, for me, Linux is a developer-oriented operating system that supports 32-bit and 64-bit pc running. Without the mouse and the familiar interface, we need to use a lot of commands to operate, as shown below:

Common commands are : ls - display the files in the current directory <green is the file, blue is the directory>

cd-enter the upper directory mkdir-create a directory pwd-display the current path cd-return to the upper level of the current directory touch xxx.c-create a new file 

 rm-delete operation rm -r xxx.c delete this file directly rm -rf delete recursively, delete all files, folders and directories together

Clear screen command : In the dos operation interface of Windows, the command to clear the screen is cls, so what is the command to clear the screen in the Linux operating system?

 1.clear To be precise, this should be called restarting a page. The previous operation instructions have not been deleted, and you can still see it when you turn it up;

2. Ctrl+l This is a shortcut to clear the screen, the usage should be relatively high, and it is quick and convenient

3. The command printf "\033c" is the real command to clear the screen, use it with caution!

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325337951&siteId=291194637