Search This Blog

Saturday, 8 February 2020

Unix-like operating system commands

#help command to get Information About the Command

$ping --help

#The man command is used to display the manual page of a given command.

$man ping

#pwd command to get Current Working Directory

$pwd

#cd To change to a directory

pyla@pylaLP:~$ pwd
/home/pyla
pyla@pylaLP:~$ cd ../
pyla@pylaLP:/home$ pwd
/home


pyla@pylaLP:~/Documents$ pwd
/home/pyla/Documents
pyla@pylaLP:~/Documents$ cd ../../
pyla@pylaLP:/home$ pwd
/home

pyla@pylaLP:/home$

pyla@pylaLP:/home$ cd - #To change back to the previous working directory
/home/pyla/Documents
pyla@pylaLP:~/Documents$

#ls command to Listing directory contents
$ls

https://linuxize.com/post/basic-linux-commands/
https://www.guru99.com/must-know-linux-commands.html

Ansible_Notes

   ansible -i inventory.ini -m ping all   # inventory.ini it will ping to the hosts which are in inventory # ansible -i inventory.ini -m pin...