sudo - super user do
$sudo su
pwd - print working drectory
ls - list the folder Download
cd Desktop - change directory
cd .. - backward from the directory
mkdir shivan - create folder
rmdir - remove folder
cat filename - open the text file
echo "shivan" > test.txt - writing test.txt with text shivan
echo "shivan" >> test.txt - add a text in the existing text file
grep -i "txt" filename
sudo service apache2 start - start apache
sudo service apache stop - stop apache
touch filename - create a text file
sudo apt update & sudo apt upgarde
locate filename - locates the particular file path
ls -la - to check permission
ifconfig - find network ip address , ether - mac address
git clone url - download files from github
ping google.com
chmod +x filename - command to make file executable
wget - download file from web
Traceroute - alternative to ping
whoami - username of the system
passwd - change password
mv filename directory - cut the filename
No comments:
Post a Comment