#Linux #commands #bash #terminal #programming #systemadministration #opensource #unix #learningLinux #newtolinux
45 Essential Linux Commands (with Examples):-
🙋 Help! (and WTF)
man Show help (the manual) manual
which Find out where a command is which location?
--help Find help on any command help!
Ctrl+C Stop the current program
:q! Quit the vi text editor without saving quit!
👤 Logging in and out
logout Exit the current login shell
passwd Change your password password
sudo Execute a command as a superuser super-user do
ssh Create an SSH connection (a terminal) to a server secure shell
🗂️ Move around the file system
cd Change the current directory (folder) change directory
ls List files in a directory list
mkdir Make/create a new directory make directory
pwd Print current directory print working directory
cp Copy files and directories copy
rm Delete files and directories remove
📝 Find, view and edit files
cat Print the contents of a file concatenate
chmod Change the permissions of a file or directory change mode
chown Change the owner and group of a file or directory change owner
diff Show the difference between two files difference
file Show the type of a file
less Browse the contents of a file opposite of 'more'
locate Find files with names matching a pattern
tail Print the last few lines of a file tail end (of something)
touch Create a new file or update an existing one
nano An interactive file editor Nano's ANOther Editor
vim An interactive file editor (Intermediate level) visual improved
📦 Install programs
dnf Install and manage packages in RHEL/Fedora dandified yum (?!!)
apt Install and manage packages in Ubuntu Advanced Package Tool
📯 Networking
curl Get a web page or API client URL
dig Look up DNS information domain information gather
ip addr Show your network configuration IP address
ping Check to see if a server is alive
⌚ Manage processes
kill Terminate a program (process)
top Show the top processes table of processes
ps List running processes processes
Ctrl+Z Suspend a process
fg Resume a process foreground
jobs Lists all active jobs (processes)
⚙️ System management
cat /etc/redhat-release Show Linux distribution name & version
date Show the current date and time
df Show free disk space disk free
du Show disk space usage disk used
shutdown Halt or reboot your machine
uname Print system information unix name
uptime Show how long the system has been running
This are the basic commands which can be used in linux distrubution.
notes and pdf will be provided soon.
Subscibe to :- / @letscreatenew
Time Line:
Intro: 00:00
commands:
man: 00:00-02:34
which: 02:34-03:50
--help: 03:50-04:52
ctrl c: 04:52-05:58
ctrl d: 05:58-06:25
passwd: 06:25-07:14
sudo: 07:14-08:08
ls: 08:18-10:07
cd: 10:07-10:40
ls -al: 10:40-11:40
mkdir: 11:40-12:32
touch: 12:32-13:40
cat: 13:40-14:20
how do i save file using ctrl D
ctrl d: 15:09
nano: 15:26
apt: 19:15
curl: 19:39
dig: 22:13
(+short A): 23:08
ip addr: 23:45
ping: 24:45
top: 26:44
ps: 27:13
ctrl z: 28:05
date: 29:25
df: 29:45
du: 30:25
shutdown: 31:19
uname: 31:45
uptime: 32:05
thank you soo much for watching till here