shell basics
In this session, we will introduce shell scripriting and have a look at the most basic scripting commands. Hang tight.
- What is the shell?
- Navigation
- Looking around
- A guided tour
- Manipulating files
- Working with commands
- Reading man pages
- Keyboard shortcuts
- LTS
- Shebang
cd
ls
pwd
less
file
ln
cp
mv
rm
mkdir
type
which
help
man
By the end of this project, you should be able to explain to anyone Without the help of google the following concepts
- What does RTFM mean?
- What is shebang?
- What is the shell
- What is the difference between a terminal and a shell
- What is the shell prompt
- How to use the history (the basics)
- What do the commands or built-ins
cd
,pwd
,ls
do - How to navigate the filesystem
What are the
.
and..
directories - What is the working directory, how to print it and how to change it
- What is the root directory
- What is the home directory, and how to go there
- What is the difference between the root directory and the home directory of the user root
- What are the characteristics of hidden files and how to list them
- What does the command cd - do
- What do the commands
ls
,less
,file
do - How do you use options and arguments with commands
- Understand the
ls
long format and how to display it - A Guided Tour
- What does the
ln
command do - What do you find in the most common/important directories
- What is a symbolic link
- What is a hard link
- What is the difference between a hard link and a symbolic link
- What do the commands
cp
,mv
,rm
,mkdir
do - What are wildcards and how do they work
- How to use wildcards
- What do
type
,which
,help
,man
commands do - What are the different kinds of commands
- What is an alias
- When do you use the command
help
instead ofman
- How to read a man page
- What are man page sections
- What are the section numbers for User commands, System calls and Library functions
- Common shortcuts for Bash