Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
100%
(4)
100% found this document useful (4 votes)
3K views
Linux Command Syntax Reference Poster
This pdf contains important Linux Reference Commands.. It is very useful for the new learners of linux.
Uploaded by
hrishikeshanand
AI-enhanced title
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
Download now
Download
Save Linux Command Syntax Reference Poster For Later
Download
Save
Save Linux Command Syntax Reference Poster For Later
100%
100% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
100%
(4)
100% found this document useful (4 votes)
3K views
Linux Command Syntax Reference Poster
This pdf contains important Linux Reference Commands.. It is very useful for the new learners of linux.
Uploaded by
hrishikeshanand
AI-enhanced title
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
Download now
Download
Save Linux Command Syntax Reference Poster For Later
Carousel Previous
Carousel Next
Save
Save Linux Command Syntax Reference Poster For Later
100%
100% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 1
Search
Fullscreen
Linux Command Syntax Reference Poster
Administrator Commands File Permission Commands
Shutdown and restart server … reboot shutdown -r now chmod ogw filename chmod 744 /etc/passwd
Kill all processes using pattern xxx pkill [-9] “xxx” Owner Group World Meaning
Kill all processes for user xxx pkill [-9] -u xxx 7 7 7 Read + Write + execute
Show swap space usage by device swapon -s 6 6 6 Read + Write
Show Linux syslog errors tail /var/log/messages 5 5 5 Read + execute
Kill a stubborn process kill –9 pid# 4 4 4 read only
See shared memory segments ipcs -m 3 3 3 Write + execute
Remove shared memory segment xxxx ipcrm –m xxxx 2 2 2 write only
Show processes with CPU and MEM usage ps aux 1 1 1 Execute only
Show Linux system parms (root) sysctl -a
Display most active processes top Permission Meaning
Watch active file writes (appends) tail –f filename -rw------- This file has read-write permissions for the file owner
Create Hex dump of file od –x filename -rw-r--r-- This file has read-write for the owner, read for group & world
Mail a set of files cat file1.tst file2.txt > mail –s “Daily Files”
[email protected]
drwxr-xr-x Directory – Read-write-execute owner, read-execute group & world
Count of online users uptime -r-xr----- Read-execute for owner, read for group
Display users w -r-------- Read for owner
List process IDs for user xxx ps -u xxx -rw-rw-r-- Read-write for owner and group, read for world
Linux command history one screen at a time history | more
Show task dispatching priority ps lax | more File Commands
Create a complex alias alias alert='tail -200 filename.log | more' Mount a remote file system mount host:/hostpath /alias/pathname
Delete files > 20 days old find . –mtime +20 -exec rm {} \; Remount a lost file system mount –a
Remote file copy scp hostname:/file/name .
Security Commands Create a symbolic link to a file ln –s destination_name file_name
Show file space usage summary du –sk * |sort –n
Grant execute permission to all for *.ksh files chmod +x *.ksh Create an archive of a directory tar cvf file.tar directoryname
Allow the owner write and execute permission chmod u+wx * Extract from an archive tar xvf file.tar
See default settings for userx cat /etc/passwd|grep userx Find most recent file in directory ls -t|head
Display last 100 lines of file xxx tail -100 xxx|more
Search Commands Create a new file named xxx touch xxx
See most recent changed file ls –alc|head Rename file xxx to yyy mv xxx yyy
See most recent file touch ls –alt|head Prevent accidental file deletion … confirm alias rm='rm -i'
Search binary file for xxx string strings filename|grep xxx Linux File Locations
Find files < 3 days old find . –mtime –3 –print
User identification file /etc/passwd
Crontab Examples
Find files size > 10k find . –size +10 –print
System error log /var/log/messages #****************************************************************
Find strings in directory grep -ri string .
# This is a weekly task, Sunday at 7:30 AM
Find file columns with column 4=x or y egrep ‘^…(x|y)’ < inputfile
Find directory for file xxx in $PATH which xxx vi Commands #****************************************************************
30 7 * * 0 /home/analyze.ksh > /home/analyze.lst
Find process 999 ps u 999 Delete lines to EOF dG #****************************************************************
Read-in new file :r filename # This is the daily 1:00 PM task
Disk and Filesystem Commands Change all xxx to yyy <esc>:.,$s/xxx/yyy/g #****************************************************************
Save and exit <esc>:x 00 13 * * * /home/statspack/statspack_alert.ksh prodsid
Mount points for disk df –P
Find string xxx <esc>/xxx #****************************************************************
Show volume groups vgdisplay
Change word (from cursor) to yyy cw yyy <esc> # This task is scheduled every 2 minutes
Display disk usage of current mount point df -h .
Repeat last command . #****************************************************************
Repeat last find command / 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,
CPU & RAM Commands 51,53,55,57,59 * * * * /home/trace_alert.ksh prodsid > /dev/null 2>&1
Display the number of CPUs cat /proc/cpuinfo|grep processor|wc –l Script Commands
Show top CPU% ps aux|sort -n +2|tail -1 Display command return code echo $? ISBN 0-9759135-8-1 ISBN: 0-9759135-8-1
Display top-10 CPU consumers ps aux|sort -rn +2|grep –v USER|head -10 Increment a counter count=`expr $count + 1`
50295> Price: $2.95
RAM memory display free Add two variables TOT=`expr $SYS + $USR`
Copyright © 2004
Date Display Commands Rampant Tech Press
All Rights Reserved
root> date "+DATE: %m/%d/%y%nTIME: %H:%M:%S" DATE: 09/04/01 TIME: 09:37:49 9 780975 913581
You might also like
8J3225 CARESTREAM PACS System Administration Guide 11 1
PDF
100% (2)
8J3225 CARESTREAM PACS System Administration Guide 11 1
370 pages
Linux Cheat Sheet
PDF
100% (1)
Linux Cheat Sheet
1 page
Package Management Cheatsheet
PDF
0% (1)
Package Management Cheatsheet
1 page
Bash Cheat Sheet
PDF
No ratings yet
Bash Cheat Sheet
1 page
Ubuntu
PDF
No ratings yet
Ubuntu
67 pages
ACER English Exam QP
PDF
50% (2)
ACER English Exam QP
3 pages
Basic Admin - 1 - 5
PDF
100% (1)
Basic Admin - 1 - 5
28 pages
Essential Vim Commands Cheat Sheet
PDF
No ratings yet
Essential Vim Commands Cheat Sheet
1 page
Linux Bash Shell Cheat Sheet: Basic Commands Basic Terminal Shortcuts Basic File Manipulation
PDF
No ratings yet
Linux Bash Shell Cheat Sheet: Basic Commands Basic Terminal Shortcuts Basic File Manipulation
6 pages
Manual Tomcat
PDF
No ratings yet
Manual Tomcat
60 pages
Linux Ip Tables
PDF
No ratings yet
Linux Ip Tables
20 pages
Linux Cheat Sheet
PDF
100% (1)
Linux Cheat Sheet
1 page
Basic Linux Commands
PDF
No ratings yet
Basic Linux Commands
6 pages
Linux Tutorial - 9. Discover Filters
PDF
No ratings yet
Linux Tutorial - 9. Discover Filters
15 pages
Using Grep, TR and Sed With Regular Expressions
PDF
No ratings yet
Using Grep, TR and Sed With Regular Expressions
7 pages
Adhish Singh Kunwar A2
PDF
No ratings yet
Adhish Singh Kunwar A2
37 pages
Python Package Management 08
PDF
No ratings yet
Python Package Management 08
57 pages
Linux Lab Practical
PDF
100% (1)
Linux Lab Practical
20 pages
Configure Use Tomcat
PDF
No ratings yet
Configure Use Tomcat
5 pages
Sed - An Introduction and Tutorial by Bruce Barnett
PDF
No ratings yet
Sed - An Introduction and Tutorial by Bruce Barnett
37 pages
Linux Directory Structure Explained
PDF
No ratings yet
Linux Directory Structure Explained
3 pages
Linux Networking Cheat Sheet
PDF
No ratings yet
Linux Networking Cheat Sheet
2 pages
Log4j Quick Guide
PDF
No ratings yet
Log4j Quick Guide
18 pages
Treesize Professional: Test. Buy. Enjoy
PDF
No ratings yet
Treesize Professional: Test. Buy. Enjoy
171 pages
Booting&Modules 8
PDF
100% (1)
Booting&Modules 8
5 pages
Partitioning and Formatting A Disk Drive in Linux
PDF
No ratings yet
Partitioning and Formatting A Disk Drive in Linux
13 pages
Learning REGEX
PDF
No ratings yet
Learning REGEX
94 pages
Vi Editor Cheat Sheet
PDF
No ratings yet
Vi Editor Cheat Sheet
1 page
PowerShell Training Primer
PDF
100% (1)
PowerShell Training Primer
29 pages
Linux Commands Cheat Sheet 2234
PDF
100% (1)
Linux Commands Cheat Sheet 2234
10 pages
Bash Cheat Sheet
PDF
No ratings yet
Bash Cheat Sheet
7 pages
Python Tools Utilities
PDF
100% (1)
Python Tools Utilities
3 pages
Linux Notes For Final
PDF
No ratings yet
Linux Notes For Final
65 pages
Linux Scripts
PDF
No ratings yet
Linux Scripts
20 pages
Digit
PDF
No ratings yet
Digit
102 pages
Red and Blue Team Tools 1714780639
PDF
No ratings yet
Red and Blue Team Tools 1714780639
1 page
TCSH Scripting: Basic - A. Basic - B. Intermediate - C. D. Resources 1
PDF
No ratings yet
TCSH Scripting: Basic - A. Basic - B. Intermediate - C. D. Resources 1
2 pages
The Docker Book
PDF
No ratings yet
The Docker Book
80 pages
Day 1
PDF
No ratings yet
Day 1
2 pages
Lars Vogel, Alex Blewitt - Distributed Version Control With Git - Mastering The Git Command Line - Third Edition (2014, Lars Vogel)
PDF
No ratings yet
Lars Vogel, Alex Blewitt - Distributed Version Control With Git - Mastering The Git Command Line - Third Edition (2014, Lars Vogel)
409 pages
Stack Overflow - Learning Lua
PDF
No ratings yet
Stack Overflow - Learning Lua
89 pages
Perl Introduction
PDF
No ratings yet
Perl Introduction
43 pages
Chromebook User Manual, 2024
PDF
No ratings yet
Chromebook User Manual, 2024
160 pages
Python Tutorial For Beginners - Learn Python Programming - Intellipaat
PDF
No ratings yet
Python Tutorial For Beginners - Learn Python Programming - Intellipaat
29 pages
Tag Name Code Example Browser View: (Tip) Visit Our Site (Tip)
PDF
No ratings yet
Tag Name Code Example Browser View: (Tip) Visit Our Site (Tip)
7 pages
System D and More Commands
PDF
No ratings yet
System D and More Commands
87 pages
Bash Scripting
PDF
No ratings yet
Bash Scripting
213 pages
Linux Console Commands
PDF
100% (16)
Linux Console Commands
4 pages
(Bookflare - Net) - Power User Guide Linux Tricks, Hacks and Secrets Ultimate Edition (2019) Volumes 1 & 2
PDF
No ratings yet
(Bookflare - Net) - Power User Guide Linux Tricks, Hacks and Secrets Ultimate Edition (2019) Volumes 1 & 2
659 pages
CMake Basic Guide (As Included)
PDF
No ratings yet
CMake Basic Guide (As Included)
336 pages
Python Refcard
PDF
100% (1)
Python Refcard
2 pages
Redhat: Enterprise Linux
PDF
100% (1)
Redhat: Enterprise Linux
21 pages
WebSphere Application Server 7.0 Administration Guide
From Everand
WebSphere Application Server 7.0 Administration Guide
Steve Robinson
No ratings yet
Cloning Internet Applications with Ruby
From Everand
Cloning Internet Applications with Ruby
Chang Sau Sheong
5/5 (2)
The Book of Dash: Build Dashboards with Python and Plotly
From Everand
The Book of Dash: Build Dashboards with Python and Plotly
Adam Schroeder
No ratings yet
How to Switch from Windows to Linux at Home without Fear of Change, Aimed at Users with No Experience in Linux and with Amazing Results
From Everand
How to Switch from Windows to Linux at Home without Fear of Change, Aimed at Users with No Experience in Linux and with Amazing Results
JUAN FERNANDO AVILÉS BLANCO
No ratings yet
Bootstrap Site Blueprints
From Everand
Bootstrap Site Blueprints
Ian Whitley
No ratings yet
AppDynamics Third Edition
From Everand
AppDynamics Third Edition
Gerardus Blokdyk
No ratings yet
Unix Lab Manual
PDF
No ratings yet
Unix Lab Manual
67 pages
Linux Com Ds
PDF
No ratings yet
Linux Com Ds
19 pages
UNIX and Linux Commands Summary
PDF
No ratings yet
UNIX and Linux Commands Summary
9 pages
02 Linux - Fundamentals
PDF
No ratings yet
02 Linux - Fundamentals
28 pages
Apr17 Ug Sem Timetable
PDF
No ratings yet
Apr17 Ug Sem Timetable
18 pages
Chemistry PG
PDF
No ratings yet
Chemistry PG
33 pages
E-Content Development Presentation
PDF
No ratings yet
E-Content Development Presentation
26 pages
Bharathidasan Univeristy, Tiruchirappalli - 620 024: Centre For Distance Education
PDF
No ratings yet
Bharathidasan Univeristy, Tiruchirappalli - 620 024: Centre For Distance Education
1 page
Bharathidasan University, Tiruchirappalli - 620 024 Centre For Distance Education
PDF
No ratings yet
Bharathidasan University, Tiruchirappalli - 620 024 Centre For Distance Education
2 pages
Assessment For Learning
PDF
100% (1)
Assessment For Learning
236 pages
MCA 2008 Regular 2009 CDE Onwards Nov 2016
PDF
No ratings yet
MCA 2008 Regular 2009 CDE Onwards Nov 2016
6 pages
Bharathidasan University: Tiruchirappalli - 620 024
PDF
No ratings yet
Bharathidasan University: Tiruchirappalli - 620 024
1 page
ECG Signal Denoising
PDF
No ratings yet
ECG Signal Denoising
13 pages
Day 1 Morning Study and Meditation: September 2014
PDF
No ratings yet
Day 1 Morning Study and Meditation: September 2014
10 pages
Image Analysis by Bidimensional Empirical Mode Decomposition
PDF
No ratings yet
Image Analysis by Bidimensional Empirical Mode Decomposition
8 pages
Matlab Talk
PDF
No ratings yet
Matlab Talk
43 pages
Matlab-Signals and Systems
PDF
No ratings yet
Matlab-Signals and Systems
26 pages
2E1215, Lecture 2 - Matlab Programming
PDF
No ratings yet
2E1215, Lecture 2 - Matlab Programming
24 pages
Matlab 2017a System Requirements
PDF
No ratings yet
Matlab 2017a System Requirements
1 page
MEL G642-MidSem-Questions 2017-18 PDF
PDF
No ratings yet
MEL G642-MidSem-Questions 2017-18 PDF
1 page
Chpt.5.Supplemental Cisco - ppt.2
PDF
No ratings yet
Chpt.5.Supplemental Cisco - ppt.2
52 pages
Lab Manual: Channabasaveshwara Institute of Technology
PDF
No ratings yet
Lab Manual: Channabasaveshwara Institute of Technology
76 pages
Pre Final Burst Exercise
PDF
100% (4)
Pre Final Burst Exercise
23 pages
Ne7207 Nis Unit 4 Question Bank
PDF
No ratings yet
Ne7207 Nis Unit 4 Question Bank
2 pages
SBC RX Diameter Cisco
PDF
No ratings yet
SBC RX Diameter Cisco
22 pages
Leave Management System Abstract
PDF
No ratings yet
Leave Management System Abstract
4 pages
Practice Test: CIW 1D0-520
PDF
No ratings yet
Practice Test: CIW 1D0-520
45 pages
It Lecture 2
PDF
No ratings yet
It Lecture 2
23 pages
FAQ - Answers To Frequently-Asked Questions About Turnitin2
PDF
No ratings yet
FAQ - Answers To Frequently-Asked Questions About Turnitin2
8 pages
Introduction To SQL
PDF
No ratings yet
Introduction To SQL
36 pages
Screenpresso Help
PDF
No ratings yet
Screenpresso Help
87 pages
Lab Manual 1
PDF
No ratings yet
Lab Manual 1
4 pages
Moxa Tech Note - Dual Homing For Turbo Ring V2
PDF
No ratings yet
Moxa Tech Note - Dual Homing For Turbo Ring V2
3 pages
stm32 Education Step2
PDF
No ratings yet
stm32 Education Step2
11 pages
IT - Information Systems Auditing
PDF
No ratings yet
IT - Information Systems Auditing
4 pages
Kaspersky Security Center: Incompatible Applications Report
PDF
No ratings yet
Kaspersky Security Center: Incompatible Applications Report
5 pages
Basic Foundations: Standards, Models, and Language
PDF
No ratings yet
Basic Foundations: Standards, Models, and Language
82 pages
Microcontroller Viva Questions and Answers
PDF
100% (6)
Microcontroller Viva Questions and Answers
5 pages
Dw02 Mult 6 Stage
PDF
No ratings yet
Dw02 Mult 6 Stage
4 pages
Buses: Synchronous Bus
PDF
No ratings yet
Buses: Synchronous Bus
4 pages
Paint Management System
PDF
86% (7)
Paint Management System
54 pages
Processor and Memory Organization
PDF
No ratings yet
Processor and Memory Organization
17 pages
Principles of Scalable Performance
PDF
No ratings yet
Principles of Scalable Performance
61 pages
Data Handling
PDF
No ratings yet
Data Handling
2 pages
Stored Process
PDF
No ratings yet
Stored Process
240 pages
Wincc Oa User Days 2016 Ui Everytime Anywhere
PDF
No ratings yet
Wincc Oa User Days 2016 Ui Everytime Anywhere
27 pages
Fujitsu Lifebook N Series: Bios Guide
PDF
No ratings yet
Fujitsu Lifebook N Series: Bios Guide
22 pages