Diving Into Bash: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 39: | Line 39: | ||
ls -l | ls -l | ||
rmdir myNewDirectory | rmdir myNewDirectory | ||
== External Links == | |||
# linux.com : [https://www.linux.com/learn/tutorials/272346-bash-101-working-at-the-cli ''Bash 101: Working at the CLI''], Joe 'Zonker' Brockmeier |
Revision as of 10:40, 10 March 2016
Introduction to Linux(Linux 4 n00bs)
Where am I?
At this point you should have your shell open and ready for input.
To find which directory you are in type the following command.
pwd
This will output the directory that you are currently working in.
pwd stands for Print Working Directory.
Make a directory
mkdir myNewDirectory
See contents of that Directory
ls
The ls command will list the contents of a directory.
Change Directory
cd myNewDirectory cd .. cd / cd /home/linux101 ls -l
Notice that we've added more to the end of the ls command. This is a parameter. You can learn more parameters by prefacing your command with man. i.e. man ls will output the man page of ls
cd / cd ~ pwd ls -l
chmod 777 myNewDirectory ls -l rmdir myNewDirectory
External Links
- linux.com : Bash 101: Working at the CLI, Joe 'Zonker' Brockmeier