SlideShare ist ein Scribd-Unternehmen logo
1 von 8
IDB-BISEW
MD. SHIHAB HOSSAIN
A simple keyboard shortcuts layout
1. [Ctrl] + [Alt] + [Backspace] = kills your current X session.
2. [Ctrl] + [Alt] + [Delete] = From a non-graphical shell prompt, shuts down your Red Hat
Enterprise Linux system.
3. [Ctrl] + [Alt] + [Fn] = switches screens. [Ctrl]+[Alt] + one of the function keys displays
an available screen. By default, [F1] through [F6] are text-mode shell prompt screens and
[F7] is the graphical desktop screen.
4. [Alt] + [Tab] = switches tasks in a graphical desktop environment.
5. [Ctrl] + [a] = moves cursor to the beginning of a line.
6. [Ctrl] + [d] = logout of (and close) shell prompt. [Ctrl] + [e] = moves cursor to end of a
line. This works in most text editors and in the URL field in Mozilla.
7. [Ctrl] + [l] = clears the terminal
8.
9. [Ctrl] + [u] = clears the current line.
a. .
10. [Middle Mouse Button] = pastes highlighted text.
11. [Tab] = command autocomplete
12. [Up] and [Down] Arrow = shows command history.
13. clear = clears the shell prompt screen. Type this command to clear all visible data from
the shell prompt screen.
14. exit = logout. Type this at a shell prompt to logout of the current user or root account.
15. history = shows history of commands. Type this at a shell prompt to see a numbered
list of the previous 1000 commands you typed. To display a shorter list of previously
used commands, type history followed by a space and a number. For example, history
20.
16. reset = refreshes the shell prompt screen. Type this at a shell prompt to refresh the
screen if characters are unclear or appear corrupt.
17. head = showing first 10 lines
18. tail= showing last 10 lines
19. E s c + = copy the last argument of the previous command
20. C t r l + k= Clear from the cursor to the end
21. C t r l + L e f t A r row= Jump to the beginning ofthe previous word
IDB-BISEW
MD. SHIHAB HOSSAIN
Starting terminal
Application  utilities  terminal
Empty desktop right click terminal
Changing hostname
Hostnamectl set-hostname ‘’desired name’’
Command Basic
Command Option argument
Usermod -l shihab
Set local language
[root@host ~]# localctl set-locale LANG=fr_FR.utf8
yum langavailable
yum langinstall code
BashShell
[student@despktopX ~]# Super user interface
[student@despktopX ~]$ Regular user interface
IDB-BISEW
MD. SHIHAB HOSSAIN
Changing Password and status
passwd
location: file / e t c / passwd
word count
wc = for counting word
Example: wc /etc/passwd
History = for getting command history
Time and date
Example: timedatectl set-time 22:31:14
timedatectl set-timezone America/New_York
Manpage= for Manual
Man –k= for specific keyword
PWD= for getting information of present working directory
cd= for changing directory
cd..= for parent directory directly
IDB-BISEW
MD. SHIHAB HOSSAIN
touch= for creating file instantly
ll= for listing desired information
ls –al= for listing the current location with hidden file
cp= for copy
mv= for move/rename
rm= for remove
mkdir=making directory
cp –r= copy directory
rm –r = removing directory
grep= for specific topic query(Ex: grep “model name” /proc/cpuinfo will give
cpuinfo instantly)
IDB-BISEW
MD. SHIHAB HOSSAIN
vim= for editing text ( I for insert, v for visualmode, esc for initial mode, wq/x for
saveand quit)
gedit= For graphicaltext editing
nano= used also for editing text
pinfo= To view the file information
tar = for archiving files and folder (-c for create, -x for extract), rm –rf
‘’foldername’’ for deleting zipped
id= for getting user id
ps= for process information
uid= for getting uid number
su= for switching user
useradd= to add user
usermod= to modify user account (Ex: usermod -l shihab for lock user) –u for
unlock
groupadd= to add group
groupmod= to modify group (-n for new name, -g for GID)
groupdel= for deleting group
Password aging
Chage(-d for minimum days forcing password login,-lfor listing the currentuser
settings, -E for expired days)
Sudo= for delegating user with specific access)
File permission
r= read
w= write
x= execute
drwxr= directory read write and execute permission has been assigned
chmod=changing permission( u,g,o,a for ‘who’ +/- remarks add/remove permission,
rwx for ‘which’)
IDB-BISEW
MD. SHIHAB HOSSAIN
chown= to change the userownership (ex: chown - R student foodir)
umask= for masking or unmasking the user permission by using value.( 0 for will not musk, 007 for
other permission)
kill= forkillingprocess.(ex: kill pidforkillingspecificprocessid) killall=forkillingall processwithPID
uptime= for systemuptime information
top= runninggraphical interface
systemd= systemstartupand serverprocessmanger
systemctl=Query the state of all units to verify a system startup.(Ex: systemctl --type=service)
(Ex: systemctl is - active sshd will show particular active unit - all will show all active and inactive)
Daemon
We should add ‘’d’’ after any service for daemon
EX: sudo systemctl is - enabled sshd
Mask/unmask= Masking will create a link in the configuration directories so that if the service is
started nothing will happen.
EX: systemctl mask network systemctl unmask network
ssh= for establishing remote connection
(EX: ssh 192.168.10.10 ssh remoteuser@)remotehost hostname)
systemctl restart sshd= for restarting only ssh service
ssh-keygen= for creating ssh service private key
IDB-BISEW
MD. SHIHAB HOSSAIN
IP addresses
Ip addr show eth0= For getting assigned ip address on the Ethernet
ping
netstat
ip route
traceroute
‘’nmcli’’ for networking
nmcli con show= showing connection status
nmcli con show –active= showing active connection
nmcli dev status= for getting device status
nmcli dev show eth0 = specific device status
nmcli con add con - name " default " type ethernet ifname eth0= add a connection profile
nmcli con add con - name " static " ifname eth0 autoconnect no type= assigning ip address
ethernet ip4 172.25.X.10/24 gw4 172.25.X.254
nmcli con up eth0= turning on the connection profile
nmcli con reload= for reloading present connection
getent
getent hosts hostname= for testing host name resolution
yum
For updating, installing software and related repository packages
IDB-BISEW
MD. SHIHAB HOSSAIN

Weitere ähnliche Inhalte

Was ist angesagt?

Tomáš Čorej - OpenSSH
Tomáš Čorej - OpenSSHTomáš Čorej - OpenSSH
Tomáš Čorej - OpenSSHwebelement
 
Pop3stat sh
Pop3stat shPop3stat sh
Pop3stat shBen Pope
 
Perintah perintah dasar linux Operating Sistem
Perintah perintah dasar linux Operating SistemPerintah perintah dasar linux Operating Sistem
Perintah perintah dasar linux Operating SistemRoziq Bahtiar
 
50 Perintah Dasar pada linux
50 Perintah Dasar pada linux50 Perintah Dasar pada linux
50 Perintah Dasar pada linuxReskyRian
 
Swift - Krzysztof Skarupa
Swift -  Krzysztof SkarupaSwift -  Krzysztof Skarupa
Swift - Krzysztof SkarupaSunscrapers
 
The Ring programming language version 1.7 book - Part 29 of 196
The Ring programming language version 1.7 book - Part 29 of 196The Ring programming language version 1.7 book - Part 29 of 196
The Ring programming language version 1.7 book - Part 29 of 196Mahmoud Samir Fayed
 
The Ring programming language version 1.5.3 book - Part 20 of 184
The Ring programming language version 1.5.3 book - Part 20 of 184The Ring programming language version 1.5.3 book - Part 20 of 184
The Ring programming language version 1.5.3 book - Part 20 of 184Mahmoud Samir Fayed
 
/Root/exam unidad1/muestraip red
/Root/exam unidad1/muestraip red/Root/exam unidad1/muestraip red
/Root/exam unidad1/muestraip redAntonioAlejoAquino
 
The Ring programming language version 1.5.1 book - Part 24 of 180
The Ring programming language version 1.5.1 book - Part 24 of 180The Ring programming language version 1.5.1 book - Part 24 of 180
The Ring programming language version 1.5.1 book - Part 24 of 180Mahmoud Samir Fayed
 
The Ring programming language version 1.5.4 book - Part 23 of 185
The Ring programming language version 1.5.4 book - Part 23 of 185The Ring programming language version 1.5.4 book - Part 23 of 185
The Ring programming language version 1.5.4 book - Part 23 of 185Mahmoud Samir Fayed
 
Type script in practice
Type script in practiceType script in practice
Type script in practiceBryan Hughes
 
Coding with Vim
Coding with VimCoding with Vim
Coding with VimEnzo Wang
 

Was ist angesagt? (20)

Linux Command Line
Linux Command LineLinux Command Line
Linux Command Line
 
Tomáš Čorej - OpenSSH
Tomáš Čorej - OpenSSHTomáš Čorej - OpenSSH
Tomáš Čorej - OpenSSH
 
Pop3stat sh
Pop3stat shPop3stat sh
Pop3stat sh
 
Perintah perintah dasar linux Operating Sistem
Perintah perintah dasar linux Operating SistemPerintah perintah dasar linux Operating Sistem
Perintah perintah dasar linux Operating Sistem
 
Orm
OrmOrm
Orm
 
50 Perintah Dasar pada linux
50 Perintah Dasar pada linux50 Perintah Dasar pada linux
50 Perintah Dasar pada linux
 
Swift - Krzysztof Skarupa
Swift -  Krzysztof SkarupaSwift -  Krzysztof Skarupa
Swift - Krzysztof Skarupa
 
Golang勉強会
Golang勉強会Golang勉強会
Golang勉強会
 
The Ring programming language version 1.7 book - Part 29 of 196
The Ring programming language version 1.7 book - Part 29 of 196The Ring programming language version 1.7 book - Part 29 of 196
The Ring programming language version 1.7 book - Part 29 of 196
 
The Ring programming language version 1.5.3 book - Part 20 of 184
The Ring programming language version 1.5.3 book - Part 20 of 184The Ring programming language version 1.5.3 book - Part 20 of 184
The Ring programming language version 1.5.3 book - Part 20 of 184
 
/Root/exam unidad1/muestraip red
/Root/exam unidad1/muestraip red/Root/exam unidad1/muestraip red
/Root/exam unidad1/muestraip red
 
01 linux basics
01 linux basics01 linux basics
01 linux basics
 
Android taipei 20160225 淺談closure
Android taipei 20160225   淺談closureAndroid taipei 20160225   淺談closure
Android taipei 20160225 淺談closure
 
The Ring programming language version 1.5.1 book - Part 24 of 180
The Ring programming language version 1.5.1 book - Part 24 of 180The Ring programming language version 1.5.1 book - Part 24 of 180
The Ring programming language version 1.5.1 book - Part 24 of 180
 
Xstartup
XstartupXstartup
Xstartup
 
Dev day linux redu
Dev day linux reduDev day linux redu
Dev day linux redu
 
The Ring programming language version 1.5.4 book - Part 23 of 185
The Ring programming language version 1.5.4 book - Part 23 of 185The Ring programming language version 1.5.4 book - Part 23 of 185
The Ring programming language version 1.5.4 book - Part 23 of 185
 
Type script in practice
Type script in practiceType script in practice
Type script in practice
 
はじめてのGroovy
はじめてのGroovyはじめてのGroovy
はじめてのGroovy
 
Coding with Vim
Coding with VimCoding with Vim
Coding with Vim
 

Ähnlich wie RedHat/CentOs Commands for administrative works

Bash cheat sheet
Bash cheat sheetBash cheat sheet
Bash cheat sheetJogesh Rao
 
Terminal linux commands_ Fedora based
Terminal  linux commands_ Fedora basedTerminal  linux commands_ Fedora based
Terminal linux commands_ Fedora basedNavin Thapa
 
List command linux fidora
List command linux fidoraList command linux fidora
List command linux fidoraJinyuan Loh
 
NYPHP March 2009 Presentation
NYPHP March 2009 PresentationNYPHP March 2009 Presentation
NYPHP March 2009 Presentationbrian_dailey
 
DevChatt 2010 - *nix Cmd Line Kung Foo
DevChatt 2010 - *nix Cmd Line Kung FooDevChatt 2010 - *nix Cmd Line Kung Foo
DevChatt 2010 - *nix Cmd Line Kung Foobrian_dailey
 
exercises-log-management-rsyslog.pdf
exercises-log-management-rsyslog.pdfexercises-log-management-rsyslog.pdf
exercises-log-management-rsyslog.pdfSngB2
 
unix_ref_card.pdf
unix_ref_card.pdfunix_ref_card.pdf
unix_ref_card.pdfGiovaRossi
 
unix_ref_card.pdf
unix_ref_card.pdfunix_ref_card.pdf
unix_ref_card.pdfGiovaRossi
 
unix_ref_card.pdf
unix_ref_card.pdfunix_ref_card.pdf
unix_ref_card.pdfGiovaRossi
 
InstructionsInstructions for numberguessernumberGuesser.html.docx
InstructionsInstructions for numberguessernumberGuesser.html.docxInstructionsInstructions for numberguessernumberGuesser.html.docx
InstructionsInstructions for numberguessernumberGuesser.html.docxdirkrplav
 

Ähnlich wie RedHat/CentOs Commands for administrative works (20)

Linux cheat sheet
Linux cheat sheetLinux cheat sheet
Linux cheat sheet
 
Linux lecture5
Linux lecture5Linux lecture5
Linux lecture5
 
Bash cheat sheet
Bash cheat sheetBash cheat sheet
Bash cheat sheet
 
Bash cheat sheet
Bash cheat sheetBash cheat sheet
Bash cheat sheet
 
Terminal linux commands_ Fedora based
Terminal  linux commands_ Fedora basedTerminal  linux commands_ Fedora based
Terminal linux commands_ Fedora based
 
List command linux fidora
List command linux fidoraList command linux fidora
List command linux fidora
 
NYPHP March 2009 Presentation
NYPHP March 2009 PresentationNYPHP March 2009 Presentation
NYPHP March 2009 Presentation
 
DevChatt 2010 - *nix Cmd Line Kung Foo
DevChatt 2010 - *nix Cmd Line Kung FooDevChatt 2010 - *nix Cmd Line Kung Foo
DevChatt 2010 - *nix Cmd Line Kung Foo
 
lec4.docx
lec4.docxlec4.docx
lec4.docx
 
40 basic linux command
40 basic linux command40 basic linux command
40 basic linux command
 
40 basic linux command
40 basic linux command40 basic linux command
40 basic linux command
 
50 most frequently used unix
50 most frequently used unix50 most frequently used unix
50 most frequently used unix
 
50 most frequently used unix
50 most frequently used unix50 most frequently used unix
50 most frequently used unix
 
50 Most Frequently Used UNIX Linux Commands -hmftj
50 Most Frequently Used UNIX  Linux Commands -hmftj50 Most Frequently Used UNIX  Linux Commands -hmftj
50 Most Frequently Used UNIX Linux Commands -hmftj
 
exercises-log-management-rsyslog.pdf
exercises-log-management-rsyslog.pdfexercises-log-management-rsyslog.pdf
exercises-log-management-rsyslog.pdf
 
unix_ref_card.pdf
unix_ref_card.pdfunix_ref_card.pdf
unix_ref_card.pdf
 
unix_ref_card.pdf
unix_ref_card.pdfunix_ref_card.pdf
unix_ref_card.pdf
 
unix_ref_card.pdf
unix_ref_card.pdfunix_ref_card.pdf
unix_ref_card.pdf
 
Codigos
CodigosCodigos
Codigos
 
InstructionsInstructions for numberguessernumberGuesser.html.docx
InstructionsInstructions for numberguessernumberGuesser.html.docxInstructionsInstructions for numberguessernumberGuesser.html.docx
InstructionsInstructions for numberguessernumberGuesser.html.docx
 

Mehr von Md Shihab

Rhel 7 root password reset
Rhel 7 root password resetRhel 7 root password reset
Rhel 7 root password resetMd Shihab
 
How to transfer core mode into gui in RedHat/centOs
How to transfer core mode into gui in RedHat/centOsHow to transfer core mode into gui in RedHat/centOs
How to transfer core mode into gui in RedHat/centOsMd Shihab
 
Assignment on windows firewall
Assignment on windows firewallAssignment on windows firewall
Assignment on windows firewallMd Shihab
 
Assignment on high availability(clustering)
Assignment on high availability(clustering)Assignment on high availability(clustering)
Assignment on high availability(clustering)Md Shihab
 

Mehr von Md Shihab (13)

Samba
SambaSamba
Samba
 
Nfs
NfsNfs
Nfs
 
Maria db
Maria dbMaria db
Maria db
 
Mail
MailMail
Mail
 
Iscsi
IscsiIscsi
Iscsi
 
Dns
DnsDns
Dns
 
Dhcp
DhcpDhcp
Dhcp
 
Boot
BootBoot
Boot
 
Rhel 7 root password reset
Rhel 7 root password resetRhel 7 root password reset
Rhel 7 root password reset
 
Easy vlsm
Easy vlsmEasy vlsm
Easy vlsm
 
How to transfer core mode into gui in RedHat/centOs
How to transfer core mode into gui in RedHat/centOsHow to transfer core mode into gui in RedHat/centOs
How to transfer core mode into gui in RedHat/centOs
 
Assignment on windows firewall
Assignment on windows firewallAssignment on windows firewall
Assignment on windows firewall
 
Assignment on high availability(clustering)
Assignment on high availability(clustering)Assignment on high availability(clustering)
Assignment on high availability(clustering)
 

Kürzlich hochgeladen

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 

Kürzlich hochgeladen (20)

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 

RedHat/CentOs Commands for administrative works

  • 1. IDB-BISEW MD. SHIHAB HOSSAIN A simple keyboard shortcuts layout 1. [Ctrl] + [Alt] + [Backspace] = kills your current X session. 2. [Ctrl] + [Alt] + [Delete] = From a non-graphical shell prompt, shuts down your Red Hat Enterprise Linux system. 3. [Ctrl] + [Alt] + [Fn] = switches screens. [Ctrl]+[Alt] + one of the function keys displays an available screen. By default, [F1] through [F6] are text-mode shell prompt screens and [F7] is the graphical desktop screen. 4. [Alt] + [Tab] = switches tasks in a graphical desktop environment. 5. [Ctrl] + [a] = moves cursor to the beginning of a line. 6. [Ctrl] + [d] = logout of (and close) shell prompt. [Ctrl] + [e] = moves cursor to end of a line. This works in most text editors and in the URL field in Mozilla. 7. [Ctrl] + [l] = clears the terminal 8. 9. [Ctrl] + [u] = clears the current line. a. . 10. [Middle Mouse Button] = pastes highlighted text. 11. [Tab] = command autocomplete 12. [Up] and [Down] Arrow = shows command history. 13. clear = clears the shell prompt screen. Type this command to clear all visible data from the shell prompt screen. 14. exit = logout. Type this at a shell prompt to logout of the current user or root account. 15. history = shows history of commands. Type this at a shell prompt to see a numbered list of the previous 1000 commands you typed. To display a shorter list of previously used commands, type history followed by a space and a number. For example, history 20. 16. reset = refreshes the shell prompt screen. Type this at a shell prompt to refresh the screen if characters are unclear or appear corrupt. 17. head = showing first 10 lines 18. tail= showing last 10 lines 19. E s c + = copy the last argument of the previous command 20. C t r l + k= Clear from the cursor to the end 21. C t r l + L e f t A r row= Jump to the beginning ofthe previous word
  • 2. IDB-BISEW MD. SHIHAB HOSSAIN Starting terminal Application  utilities  terminal Empty desktop right click terminal Changing hostname Hostnamectl set-hostname ‘’desired name’’ Command Basic Command Option argument Usermod -l shihab Set local language [root@host ~]# localctl set-locale LANG=fr_FR.utf8 yum langavailable yum langinstall code BashShell [student@despktopX ~]# Super user interface [student@despktopX ~]$ Regular user interface
  • 3. IDB-BISEW MD. SHIHAB HOSSAIN Changing Password and status passwd location: file / e t c / passwd word count wc = for counting word Example: wc /etc/passwd History = for getting command history Time and date Example: timedatectl set-time 22:31:14 timedatectl set-timezone America/New_York Manpage= for Manual Man –k= for specific keyword PWD= for getting information of present working directory cd= for changing directory cd..= for parent directory directly
  • 4. IDB-BISEW MD. SHIHAB HOSSAIN touch= for creating file instantly ll= for listing desired information ls –al= for listing the current location with hidden file cp= for copy mv= for move/rename rm= for remove mkdir=making directory cp –r= copy directory rm –r = removing directory grep= for specific topic query(Ex: grep “model name” /proc/cpuinfo will give cpuinfo instantly)
  • 5. IDB-BISEW MD. SHIHAB HOSSAIN vim= for editing text ( I for insert, v for visualmode, esc for initial mode, wq/x for saveand quit) gedit= For graphicaltext editing nano= used also for editing text pinfo= To view the file information tar = for archiving files and folder (-c for create, -x for extract), rm –rf ‘’foldername’’ for deleting zipped id= for getting user id ps= for process information uid= for getting uid number su= for switching user useradd= to add user usermod= to modify user account (Ex: usermod -l shihab for lock user) –u for unlock groupadd= to add group groupmod= to modify group (-n for new name, -g for GID) groupdel= for deleting group Password aging Chage(-d for minimum days forcing password login,-lfor listing the currentuser settings, -E for expired days) Sudo= for delegating user with specific access) File permission r= read w= write x= execute drwxr= directory read write and execute permission has been assigned chmod=changing permission( u,g,o,a for ‘who’ +/- remarks add/remove permission, rwx for ‘which’)
  • 6. IDB-BISEW MD. SHIHAB HOSSAIN chown= to change the userownership (ex: chown - R student foodir) umask= for masking or unmasking the user permission by using value.( 0 for will not musk, 007 for other permission) kill= forkillingprocess.(ex: kill pidforkillingspecificprocessid) killall=forkillingall processwithPID uptime= for systemuptime information top= runninggraphical interface systemd= systemstartupand serverprocessmanger systemctl=Query the state of all units to verify a system startup.(Ex: systemctl --type=service) (Ex: systemctl is - active sshd will show particular active unit - all will show all active and inactive) Daemon We should add ‘’d’’ after any service for daemon EX: sudo systemctl is - enabled sshd Mask/unmask= Masking will create a link in the configuration directories so that if the service is started nothing will happen. EX: systemctl mask network systemctl unmask network ssh= for establishing remote connection (EX: ssh 192.168.10.10 ssh remoteuser@)remotehost hostname) systemctl restart sshd= for restarting only ssh service ssh-keygen= for creating ssh service private key
  • 7. IDB-BISEW MD. SHIHAB HOSSAIN IP addresses Ip addr show eth0= For getting assigned ip address on the Ethernet ping netstat ip route traceroute ‘’nmcli’’ for networking nmcli con show= showing connection status nmcli con show –active= showing active connection nmcli dev status= for getting device status nmcli dev show eth0 = specific device status nmcli con add con - name " default " type ethernet ifname eth0= add a connection profile nmcli con add con - name " static " ifname eth0 autoconnect no type= assigning ip address ethernet ip4 172.25.X.10/24 gw4 172.25.X.254 nmcli con up eth0= turning on the connection profile nmcli con reload= for reloading present connection getent getent hosts hostname= for testing host name resolution yum For updating, installing software and related repository packages