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
RHCSA Cheatsheet
PDF
No ratings yet
RHCSA Cheatsheet
21 pages
En 14721
PDF
No ratings yet
En 14721
7 pages
Narrative Report On Foundation Day
PDF
92% (13)
Narrative Report On Foundation Day
2 pages
Ubuntu
PDF
No ratings yet
Ubuntu
67 pages
WTL Developer's Guide
PDF
100% (1)
WTL Developer's Guide
225 pages
PERL - Complete
PDF
No ratings yet
PERL - Complete
302 pages
ACER English Exam QP
PDF
50% (2)
ACER English Exam QP
3 pages
Linux Console Commands
PDF
100% (16)
Linux Console Commands
4 pages
An A-Z Index of The Bash Command Line For Linux - SS64
PDF
No ratings yet
An A-Z Index of The Bash Command Line For Linux - SS64
5 pages
Essential Vim Commands Cheat Sheet
PDF
No ratings yet
Essential Vim Commands Cheat Sheet
1 page
VMware Management With PowerCLI 5.0
PDF
No ratings yet
VMware Management With PowerCLI 5.0
1 page
PowerShell Training Primer
PDF
100% (1)
PowerShell Training Primer
29 pages
Manual Tomcat
PDF
No ratings yet
Manual Tomcat
60 pages
Linux Cheat Sheet
PDF
100% (1)
Linux Cheat Sheet
1 page
WebSphere Application Server 7.0 Administration Guide
From Everand
WebSphere Application Server 7.0 Administration Guide
Steve Robinson
No ratings yet
Linux File System Hierarchy
PDF
No ratings yet
Linux File System Hierarchy
127 pages
Using Grep, TR and Sed With Regular Expressions
PDF
No ratings yet
Using Grep, TR and Sed With Regular Expressions
7 pages
101 Linux Commands
PDF
No ratings yet
101 Linux Commands
404 pages
Basic Admin - 1 - 5
PDF
100% (1)
Basic Admin - 1 - 5
28 pages
Python Package Management 08
PDF
No ratings yet
Python Package Management 08
57 pages
Linux Directory Structure Explained
PDF
No ratings yet
Linux Directory Structure Explained
3 pages
156 Useful Run Commands
PDF
No ratings yet
156 Useful Run Commands
7 pages
Partitioning and Formatting A Disk Drive in Linux
PDF
No ratings yet
Partitioning and Formatting A Disk Drive in Linux
13 pages
Booting&Modules 8
PDF
100% (1)
Booting&Modules 8
5 pages
Linux Jo Una March 15
PDF
No ratings yet
Linux Jo Una March 15
108 pages
Security
PDF
No ratings yet
Security
15 pages
Linux
PDF
No ratings yet
Linux
1 page
Common Kali Linux Commands Overview: June 2015
PDF
No ratings yet
Common Kali Linux Commands Overview: June 2015
20 pages
Important Commands For Linux Admin PDF
PDF
100% (1)
Important Commands For Linux Admin PDF
19 pages
PERL Cheat Sheet
PDF
No ratings yet
PERL Cheat Sheet
3 pages
Bash Scripting Tutorial Guide
PDF
No ratings yet
Bash Scripting Tutorial Guide
91 pages
Instant Download Learning SQL Master SQL Fundamentals Alan Beaulieu PDF All Chapters
PDF
83% (6)
Instant Download Learning SQL Master SQL Fundamentals Alan Beaulieu PDF All Chapters
52 pages
Useful WMIC Queries
PDF
No ratings yet
Useful WMIC Queries
6 pages
LINUX Lab Experiments-Edited Version
PDF
100% (1)
LINUX Lab Experiments-Edited Version
85 pages
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
Linux Ubuntu Exercises
PDF
No ratings yet
Linux Ubuntu Exercises
9 pages
LJ TBF5
PDF
No ratings yet
LJ TBF5
123 pages
Basic Red Hat Linux
PDF
No ratings yet
Basic Red Hat Linux
5 pages
Unix Perl Tutorial
PDF
100% (1)
Unix Perl Tutorial
135 pages
Linux Journal Feb 2012
PDF
No ratings yet
Linux Journal Feb 2012
122 pages
TCP-IP Cheat Sheet
PDF
100% (1)
TCP-IP Cheat Sheet
13 pages
Linux Ip Tables
PDF
No ratings yet
Linux Ip Tables
20 pages
Linux Server
PDF
No ratings yet
Linux Server
44 pages
Basic Linux Commands
PDF
No ratings yet
Basic Linux Commands
6 pages
Linux Test Command Information and Examples
PDF
No ratings yet
Linux Test Command Information and Examples
4 pages
Introduction To The Linux Operating System
PDF
100% (2)
Introduction To The Linux Operating System
31 pages
Bash Prog
PDF
100% (1)
Bash Prog
65 pages
AIX Boot Process PDF
PDF
No ratings yet
AIX Boot Process PDF
8 pages
Chromebook User Manual, 2024
PDF
No ratings yet
Chromebook User Manual, 2024
160 pages
Lab9-2 COMP3103 PowerShell - Creating Script Files-Assignment
PDF
No ratings yet
Lab9-2 COMP3103 PowerShell - Creating Script Files-Assignment
19 pages
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
Learn Batch File Programming!
From Everand
Learn Batch File Programming!
John Albert
1/5 (1)
Learning SaltStack
From Everand
Learning SaltStack
Colton Myers
4/5 (1)
Implementing Samba 4
From Everand
Implementing Samba 4
Marcelo Leal
No ratings yet
Oracle Solaris 11 Advanced Administration Cookbook
From Everand
Oracle Solaris 11 Advanced Administration Cookbook
Alexandre Borges
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
Linux: Please Go Through Your Unix Basics and Refresh Your Unix Commands
PDF
No ratings yet
Linux: Please Go Through Your Unix Basics and Refresh Your Unix Commands
9 pages
Linux Terminal Comands
PDF
100% (1)
Linux Terminal Comands
7 pages
The Linux Command Line - Notes
PDF
No ratings yet
The Linux Command Line - Notes
2 pages
Chap4 - The Shell - File Management
PDF
No ratings yet
Chap4 - The Shell - File Management
24 pages
E-Content Development Presentation
PDF
No ratings yet
E-Content Development Presentation
26 pages
Ugsem Rescheduled
PDF
No ratings yet
Ugsem Rescheduled
1 page
Chemistry PG
PDF
No ratings yet
Chemistry PG
33 pages
Apr17 Ug Sem Timetable
PDF
No ratings yet
Apr17 Ug Sem Timetable
18 pages
Bharathidasan University, Tiruchirappalli - 620 024 Centre For Distance Education
PDF
No ratings yet
Bharathidasan University, Tiruchirappalli - 620 024 Centre For Distance Education
2 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
PDF
No ratings yet
Bharathidasan University: Tiruchirappalli - 620 024
1 page
MCA 2008 Regular 2009 CDE Onwards Nov 2016
PDF
No ratings yet
MCA 2008 Regular 2009 CDE Onwards Nov 2016
6 pages
Assessment For Learning
PDF
No ratings yet
Assessment For Learning
236 pages
Image Analysis by Bidimensional Empirical Mode Decomposition
PDF
No ratings yet
Image Analysis by Bidimensional Empirical Mode Decomposition
8 pages
Day 1 Morning Study and Meditation: September 2014
PDF
No ratings yet
Day 1 Morning Study and Meditation: September 2014
10 pages
Matlab Talk
PDF
No ratings yet
Matlab Talk
43 pages
ECG Signal Denoising
PDF
No ratings yet
ECG Signal Denoising
13 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
Con Dump 000
PDF
No ratings yet
Con Dump 000
12 pages
Telegram - @officialieltsreality
PDF
100% (1)
Telegram - @officialieltsreality
167 pages
Public Libraries in The United States Survey: Fiscal Year 2011
PDF
No ratings yet
Public Libraries in The United States Survey: Fiscal Year 2011
76 pages
WINSEM2018-19 STS3004 SS SJTG16 VL2018195000254 Reference Material I Module 1 Session - 4-CLA
PDF
No ratings yet
WINSEM2018-19 STS3004 SS SJTG16 VL2018195000254 Reference Material I Module 1 Session - 4-CLA
22 pages
T.y.bms Unit 4 Job Sequence
PDF
No ratings yet
T.y.bms Unit 4 Job Sequence
9 pages
Close Up b1 Twins WB
PDF
No ratings yet
Close Up b1 Twins WB
1 page
Deterministic Chaos Theory and Its Applications To Materials Science
PDF
No ratings yet
Deterministic Chaos Theory and Its Applications To Materials Science
9 pages
Operationalization of Variables
PDF
No ratings yet
Operationalization of Variables
32 pages
Iyaami
PDF
No ratings yet
Iyaami
48 pages
Uq Scie1000
PDF
No ratings yet
Uq Scie1000
8 pages
Reading and Writing Skills PRETEST
PDF
No ratings yet
Reading and Writing Skills PRETEST
4 pages
John Watson and Burrhus Frederick Skinner
PDF
No ratings yet
John Watson and Burrhus Frederick Skinner
16 pages
SOM - Assignments
PDF
100% (1)
SOM - Assignments
15 pages
Sembagavally A/p Murugason V Tee Seng Hock (Evrol Mariette Peters JC)
PDF
No ratings yet
Sembagavally A/p Murugason V Tee Seng Hock (Evrol Mariette Peters JC)
22 pages
Hydrology Section8 - PeakFlowEstimation
PDF
No ratings yet
Hydrology Section8 - PeakFlowEstimation
19 pages
Source of Law Jurisprudence
PDF
100% (2)
Source of Law Jurisprudence
3 pages
Introduction To Multiple Linear Regression
PDF
No ratings yet
Introduction To Multiple Linear Regression
49 pages
Vedic Astrology - Birth Yogas or Nitya Yogas
PDF
No ratings yet
Vedic Astrology - Birth Yogas or Nitya Yogas
13 pages
Change Implementation Solution - SRB Over HSDPA
PDF
No ratings yet
Change Implementation Solution - SRB Over HSDPA
13 pages
BMC Remedy ITSM 8.2 Fixes
PDF
No ratings yet
BMC Remedy ITSM 8.2 Fixes
22 pages
The Market Research Matrix Worksheet
PDF
No ratings yet
The Market Research Matrix Worksheet
12 pages
Dr. Ram Manohar Lohiya National Law University Lucknow: Rough Draft
PDF
No ratings yet
Dr. Ram Manohar Lohiya National Law University Lucknow: Rough Draft
4 pages
Waterman, D., Broere, W., 2004, Application of The SSC Model - Part I
PDF
No ratings yet
Waterman, D., Broere, W., 2004, Application of The SSC Model - Part I
2 pages
Outlook Report-Mba
PDF
No ratings yet
Outlook Report-Mba
33 pages
Cognitive Linguistics Basic Readings
PDF
100% (2)
Cognitive Linguistics Basic Readings
496 pages
Mame
PDF
No ratings yet
Mame
9 pages
Remote Sensing and Gis
PDF
No ratings yet
Remote Sensing and Gis
17 pages
Sustainable Everyday ENG
PDF
100% (4)
Sustainable Everyday ENG
276 pages