Linux Commands
Linux Commands
Linux Commands
#90daysofdevops
LINUX Cheatsheet - 01 @jagrati-kushwaha
ls echo
List all the directories and files. Shows the desired string and value.
mkdir man
Makes a new directory. Tells about all commands.
rmdir touch
Remove a directory (only if it's empty). Create a file.
cd cp
Change directory. Copy files.
cd.. mv
Go back to the previous directory. Move files.
pwd rm
Print the current working directory. Remove the file permanently.
ls -l rmdir
List files with more details. Administrative commands (password).
cat head
Show the content of a file. Display the first 10 lines. JK
LINUX Cheatsheet - 02 @jagrati-kushwaha
tail grep
Display the last 10 lines. Search for a string within an output.
zip sort
Zip files in Linux. Sort the file content.
unzip cal
Unzip files in Linux. View Calendar in the terminal.
ssh whereis
Secure Shell command in Linux. View the exact location of any command
types after this command.
service
Linux command to start and stop services. kill and killall
Kill active processes by process ID or
name.
ps
Display active processes.
chmod
Change file permissions.
wget
Download files from the internet.
chown
Change file ownership.
whoami
Show the current user. JK
LINUX Cheatsheet - 03 @jagrati-kushwaha
history
Shows history of command usage.
passwd
Create or update passwords for existing
users.
JK
Git-GitHub Cheatsheet
Git-GitHub Cheatsheet - 01 @jagrati-kushwaha
git fork
git pull-request
<original-repo-url>
JK
save for later