Linux/Unix

I will update some basics of linux/unix .

pwd
id
whoami
hostname
ls
ls -a
ls -al
sudo -l
sudo su -
cd ..
cd /home
cat user.txt
cat /root/root.txt
find . -name .bashrc
find . -name .bash_history
find . -name .bashrc -exec grep passwd {} \;
find . -name .bashrc -exec grep -H passwd {} \;
find . -name .bashrc -exec cat {} \; | grep passwd

Last updated