Command Line
Goals
- Learn about the command line
- Make a new directory
- Browse some directories on your computer
-
Learn the commands
pwd,mkdir,ls,cdandman
Step 1
Type this in the terminal:pwd
Step 2
Type this in the terminal:mkdir railsbridge_ruby
Step 3
Type this in the terminal:cd railsbridge_ruby
Step 4
Type this in the terminal:cd ~
Step 5
Type this in the terminal:ls
Step 6
Type this in the terminal:man ls
Explanation
pwd print working directory print the full path to your current directory ls list directory display the contents of the current directory cd [directory] change directory make this directory the current directory man [cmd] manual show the manual for this command. press 'q' to quit.
Next Step:
Go on to irb