shell I/O redirections and filters
Deep dive into shell I/O redirection, special characters and filters
echo
cat
head
tail
find
wc
sort
uniq
grep
tr
rev
cut
passwd
(5) (i.e. man 5 passwd)
By the end of this project, you should be able to explain to anyone Without the help of google the following concepts
- What do the commands
head
,tail
,find
,wc
,sort
,uniq
,grep
,tr
do - How to redirect standard output to a file
- How to get standard input from a file instead of the keyboard
- How to send the output from one program to the input of another program
- How to combine commands and filters with redirections
- What are special characters
- Understand what do the white spaces, single quotes, double quotes, backslash, comment, pipe, command separator, tilde and how and when to use them
- How to display a line of text
- How to concatenate files and print on the standard output
- How to reverse a string
- How to remove sections from each line of files
- What is the
/etc/passwd
file and what is its format - What is the
/etc/shadow
file and what is its format
Read your /etc/passwd
and /etc/shadow
files.
Note: You do not have to learn about fmt
, pr
, du
, gzip
, tar
, lpr
, sed
and awk
yet.