Terminal 101 Basic’s

Getting comfortable with  Terminal is extremely important for Rails development, and general administration needs.

Here are some of the common commands.

Show the logged in as user

List contents of the current directory

List contents of current directory and permissions

Change directory – go back one level

Change directory – go into directory “xyz”

Show your current path – print working directory

remove / delete a file “xyz.file”

remove / delete a folder and all of its sub contents (be careful with this one)

Create a directory – make

Create a file

copy a file

run as super user

clear screen

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *