know linux

1. Common commands of linux
    ls //list lists all files in the current folder
    cd //change directory Change (switch) directory
        ---( cd .) current directory
        ---(cd ..) go back to the directory one level above the current path
        ---(/:)Root directory
    mkdir //make directory create a directory (folder)
    rm //remove delete a file (-f)
    mv //move move a file
    touch //create a file
    pwd //print work directory prints the current working directory
    man //Query usage
    vim //edit
    gedit //edit

Guess you like

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