Helpful Terminal Commands
Common Terminal Commands:
cd ~ ---> Brings you back home
pwd ---> Outputs the name of the current working directory (tells you where you are)
ls ---> Lists what is in the directory
ls -a ---> Lists all the contents even what is hidden
cd ---> Switches you into the directory you specify (cd bin, brings you into bin)
mkdir ---> Creates a new directory in the working directory
touch ---> Creates a new file inside the working directory
control a ---> Brings you to the front of the command
To kill/quit a program that is frozen, open the terminal and cd out of home. Once out of home, type the command xkill. You can know force close any window or program by clicking on it once with the mouse.
cd ~ ---> Brings you back home
pwd ---> Outputs the name of the current working directory (tells you where you are)
ls ---> Lists what is in the directory
ls -a ---> Lists all the contents even what is hidden
cd ---> Switches you into the directory you specify (cd bin, brings you into bin)
mkdir ---> Creates a new directory in the working directory
touch ---> Creates a new file inside the working directory
control a ---> Brings you to the front of the command
To kill/quit a program that is frozen, open the terminal and cd out of home. Once out of home, type the command xkill. You can know force close any window or program by clicking on it once with the mouse.
Comments
Post a Comment