- ls
- ls -a
- ll
- pwd
- cd
- touch, nano, vi
- cat
- clear
- rm
- mkdir
- wget
- curl -O
- cp
- ".." back dir
- man
- who
- which
- whoami
- date
- cal
- history
- mv
- rmdir
- gedit
- exit
- sudo apt-get install tzdata
- sudo ufw app list
- hostname -I
- find . -name my-file
- wc index.html (Word count [line, Word, file_size])
- useradd test
- passwd test
- hostname
- cat /etc/passwd | grep -i bjnandi
- cat /etc/passwd | grep -i bj*
- chown
- chmode
- df -h
- lsblk
/ root ~ tilde
zip cloud-function.zip requirements.txt main.py curl ifconfig.me lsblk mkfs -t ext4 /dev/xvdf mount /dev/xvdf /test/ umount /dev/xvdf /test/ sudo nautilus (root file see on ubuntu) cp -r test text cp test.txt test1.txt cp text11 /home/bjnandi/Desktop/ passwd Biswajit rm -r test rm -rf cv shtudown -h now
nc -zv localhost 3306
COPY . /var/www/html/
ssh -i LightsailDefaultKey-ap-south-1.pem ubuntu@35.154.21.241 sudo !!
df -H lsblk sudo mount /dev/xvdf test sudo mkfs -t ext4 /dev/xvdf sudo umount /dev/xvdf
scp -i ec2key.pem username@ec2ip:/remote/path/to/file /local/path/to/file
sudo apt install openssh-server sudo service ssh status ssh-keygen cd /home/bjnandi/.ssh ssh-copy-id bjnandi@192.168.0.4 ssh bjnandi@192.168.0.4 exit
ProxyCommand ssh alias k='sudo kubectl' alias c='clear'
docker context use default echo -n "admin123" | base64 echo -n "YWRtaW4xMjM=" | base64 --decode
Get the public key from the new key pair:
ssh-keygen -y -f new-key.pem