ls -l <directory>
chmod -R 777 .
stat -c %a mydir # Show chmod code of dir
stat mydir # Show stats of folder
rm -r mydir
sudo chown -R $USER: $HOME
varA = VariableA
echo "$varA"
$ which ifconfig
/sbin/ifconfig
$ type ifconfig
ifconfig is /sbin/ifconfig
sudo ufw enable
sudo ufw disable
sudo ufw status
echo $HOME
echo $USER
lsof -iTCP -P -n
!tar chvfz notebook_files.tar.gz * --exclude notebook_files.tar.gz
sudo apt-get -y autoremove && sudo apt-get -y update && sudo apt-get -y upgrade && sudo apt-get -y dist-upgrade
crontab -e
* * * * * echo "Cron Worked $(date)" >> /tmp/cronworked.txt
sudo useradd -m <your user> -p <your password>
sudo passwd <your password>
exit
# Login to ubuntu user
sudo login ubundu