ls -l /usr/bin | wc -l
ls -l /usr/bin | wc -l > out.txt
ls -l /wrongpath && touch newfile.txt
ls -l /usr/bin && touch newfile.txt
STR=$'1. This is a line\n2. This is a line\n3. This is a line.'
echo "$STR"
echo "$STR" > lines.txt
cat lines.txt | sort -r | less
cat lines.txt | grep 3
echo "something\n" > append.txt
wc -l append.txt
echo "another thing >> append.txt
wc -l append.txt
ls -l /wrong/path 2> /dev/null
tail -f tail -f /var/log/dpkg.log
head -n 2 tail -f /var/log/dpkg.log
tail -n 2 tail -f /var/log/dpkg.log
history | less
history | grep tail
!1
!!