We all use the command line to create projects with, but I never really understood it. In todays lecture Blake went over the command line and some of it commands. The command line is used to give our computer commands, so that it can do work for us. Learning the command line well can make our lives easier when programming. Here I will outline some command line commands I find helpful:
pwd
pwd prints out the working directory we are currently in
mkdir
makes a directory(folders). This can also create directories inside of other directories
cd, cd . , cd ..
will change the directory you are currently in. cd .. will put you one directory above where you were. cd . will keep you in the same directory
rmdir
will remove a directory. Very important command when one makes a mistake.
touch
touch creates a new file
tab completion
guesses which command you want to run
No comments:
Post a Comment