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
1 page
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)
We take content rights seriously. If you suspect this is your content,
claim it here
.
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
1 page
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)
We take content rights seriously. If you suspect this is your content,
claim it here
.
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
Download
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
SQLMAP
PDF
No ratings yet
SQLMAP
23 pages
Table of Specification Math Grades 7 10
PDF
100% (7)
Table of Specification Math Grades 7 10
26 pages
Unix/Linux Command Reference: File Commands System Info
PDF
No ratings yet
Unix/Linux Command Reference: File Commands System Info
5 pages
Package Management Cheatsheet
PDF
0% (1)
Package Management Cheatsheet
1 page
SSH Cheat Sheet Common Commands and Secure Config
PDF
100% (1)
SSH Cheat Sheet Common Commands and Secure Config
1 page
Ubuntu
PDF
No ratings yet
Ubuntu
67 pages
Headers
PDF
100% (1)
Headers
6 pages
Bash Cheat Sheet
PDF
No ratings yet
Bash Cheat Sheet
1 page
Linux Cheat Sheet
PDF
100% (1)
Linux Cheat Sheet
1 page
Linux Console Commands
PDF
100% (16)
Linux Console Commands
4 pages
Python Package Management 08
PDF
No ratings yet
Python Package Management 08
57 pages
Basic Linux Commands
PDF
No ratings yet
Basic Linux Commands
6 pages
Basic Admin - 1 - 5
PDF
100% (1)
Basic Admin - 1 - 5
28 pages
Fstab Permissions
PDF
100% (1)
Fstab Permissions
3 pages
Linux Commands Cheat Sheet 2234
PDF
100% (1)
Linux Commands Cheat Sheet 2234
10 pages
Using Grep, TR and Sed With Regular Expressions
PDF
No ratings yet
Using Grep, TR and Sed With Regular Expressions
7 pages
Digit
PDF
No ratings yet
Digit
102 pages
Linux Directory Structure Explained
PDF
No ratings yet
Linux Directory Structure Explained
3 pages
Manual Tomcat
PDF
No ratings yet
Manual Tomcat
60 pages
Essential Vim Commands Cheat Sheet
PDF
No ratings yet
Essential Vim Commands Cheat Sheet
1 page
Ubuntu Notes
PDF
No ratings yet
Ubuntu Notes
11 pages
Perl Syntax: Basic Script
PDF
No ratings yet
Perl Syntax: Basic Script
9 pages
WebSphere Application Server 7.0 Administration Guide
From Everand
WebSphere Application Server 7.0 Administration Guide
Steve Robinson
No ratings yet
CMake Basic Guide (As Included)
PDF
No ratings yet
CMake Basic Guide (As Included)
336 pages
Booting&Modules 8
PDF
100% (1)
Booting&Modules 8
5 pages
Fish Shell Cheatsheet
PDF
No ratings yet
Fish Shell Cheatsheet
7 pages
Sed - An Introduction and Tutorial by Bruce Barnett
PDF
No ratings yet
Sed - An Introduction and Tutorial by Bruce Barnett
37 pages
Full Circle Magazine - Issue 102 EN
PDF
No ratings yet
Full Circle Magazine - Issue 102 EN
68 pages
Linux Test Command Information and Examples
PDF
No ratings yet
Linux Test Command Information and Examples
4 pages
Choosing Compute Options
PDF
No ratings yet
Choosing Compute Options
45 pages
Security
PDF
No ratings yet
Security
15 pages
Linux
PDF
No ratings yet
Linux
1 page
Linux File System Hierarchy
PDF
No ratings yet
Linux File System Hierarchy
127 pages
The Linux File System Structure Explained
PDF
No ratings yet
The Linux File System Structure Explained
5 pages
How To Write A Bash Script To Run Commands - Linux Tutorials - Learn Linux Configuration
PDF
No ratings yet
How To Write A Bash Script To Run Commands - Linux Tutorials - Learn Linux Configuration
10 pages
OS Lab 1
PDF
No ratings yet
OS Lab 1
8 pages
Linux Notes For Final
PDF
No ratings yet
Linux Notes For Final
65 pages
Dirceu InternetSecurity
PDF
No ratings yet
Dirceu InternetSecurity
12 pages
Linux Tutorial - 9. Discover Filters
PDF
No ratings yet
Linux Tutorial - 9. Discover Filters
15 pages
IoT Final Lab
PDF
No ratings yet
IoT Final Lab
27 pages
Adding User To Group in Linux
PDF
No ratings yet
Adding User To Group in Linux
2 pages
Practical Python in Linux
PDF
No ratings yet
Practical Python in Linux
7 pages
Linux Lab Practical
PDF
100% (1)
Linux Lab Practical
20 pages
Bash Programming For Linux
PDF
No ratings yet
Bash Programming For Linux
172 pages
Logging in Linux
PDF
No ratings yet
Logging in Linux
28 pages
Bash Shell Cheat Sheet
PDF
100% (1)
Bash Shell Cheat Sheet
3 pages
LINUX Lab Experiments-Edited Version
PDF
100% (1)
LINUX Lab Experiments-Edited Version
85 pages
Treesize Professional: Test. Buy. Enjoy
PDF
No ratings yet
Treesize Professional: Test. Buy. Enjoy
171 pages
Laborator Linux
PDF
No ratings yet
Laborator Linux
8 pages
Linux Command Line
PDF
No ratings yet
Linux Command Line
6 pages
Adhish Singh Kunwar A2
PDF
No ratings yet
Adhish Singh Kunwar A2
37 pages
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
JavaScript Computer Programming
From Everand
JavaScript Computer Programming
Charlie Masterson
No ratings yet
Implementing Samba 4
From Everand
Implementing Samba 4
Marcelo Leal
No ratings yet
Java Computer Programming
From Everand
Java Computer Programming
Charlie Masterson
No ratings yet
SQL Server 2012 with PowerShell V3 Cookbook
From Everand
SQL Server 2012 with PowerShell V3 Cookbook
Donabel Santos
No ratings yet
Java Quick Syntax Reference
From Everand
Java Quick Syntax Reference
Mikael Olsson
No ratings yet
Learn Batch File Programming!
From Everand
Learn Batch File Programming!
John Albert
1/5 (1)
PHP and MySQL Web Development All-in-One Desk Reference For Dummies
From Everand
PHP and MySQL Web Development All-in-One Desk Reference For Dummies
Janet Valade
No ratings yet
Instant Citrix XenApp
From Everand
Instant Citrix XenApp
Andrew Mallett
5/5 (1)
Unix / Linux FAQ: with Tips to Face Interviews
From Everand
Unix / Linux FAQ: with Tips to Face Interviews
Prof. N.B. Venkateswarlu
No ratings yet
Apr17 Ug Sem Timetable
PDF
No ratings yet
Apr17 Ug Sem Timetable
18 pages
Chemistry PG
PDF
No ratings yet
Chemistry PG
33 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
E-Content Development Presentation
PDF
No ratings yet
E-Content Development Presentation
26 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 University: Tiruchirappalli - 620 024
PDF
No ratings yet
Bharathidasan University: Tiruchirappalli - 620 024
1 page
Matlab Talk
PDF
No ratings yet
Matlab Talk
43 pages
MCA 2008 Regular 2009 CDE Onwards Nov 2016
PDF
No ratings yet
MCA 2008 Regular 2009 CDE Onwards Nov 2016
6 pages
Image Analysis by Bidimensional Empirical Mode Decomposition
PDF
No ratings yet
Image Analysis by Bidimensional Empirical Mode Decomposition
8 pages
Assessment For Learning
PDF
100% (1)
Assessment For Learning
236 pages
ACER English Exam QP
PDF
50% (2)
ACER English Exam QP
3 pages
Day 1 Morning Study and Meditation: September 2014
PDF
No ratings yet
Day 1 Morning Study and Meditation: September 2014
10 pages
ECG Signal Denoising
PDF
No ratings yet
ECG Signal Denoising
13 pages
2E1215, Lecture 2 - Matlab Programming
PDF
No ratings yet
2E1215, Lecture 2 - Matlab Programming
24 pages
Matlab-Signals and Systems
PDF
No ratings yet
Matlab-Signals and Systems
26 pages
Aplication Letter
PDF
No ratings yet
Aplication Letter
20 pages
Homavidhanam PDF
PDF
No ratings yet
Homavidhanam PDF
7 pages
5.5 Graph Linear Functions NAME: - Corrective Assignment DATE
PDF
No ratings yet
5.5 Graph Linear Functions NAME: - Corrective Assignment DATE
3 pages
Digital Signal Processing in RF Applications: Thomas Schilcher
PDF
No ratings yet
Digital Signal Processing in RF Applications: Thomas Schilcher
44 pages
Oil Filter Installation & Service
PDF
No ratings yet
Oil Filter Installation & Service
16 pages
Problem Solving
PDF
No ratings yet
Problem Solving
13 pages
The Internet of Things: Architecture and Applications (ELEC423)
PDF
No ratings yet
The Internet of Things: Architecture and Applications (ELEC423)
38 pages
Database Systems the Complete Book C1
PDF
No ratings yet
Database Systems the Complete Book C1
12 pages
Altistart 01 - ATS01N209QN
PDF
No ratings yet
Altistart 01 - ATS01N209QN
7 pages
RF Based Dual Mode Robot
PDF
100% (2)
RF Based Dual Mode Robot
17 pages
Tcs CPA Code Fruit
PDF
No ratings yet
Tcs CPA Code Fruit
5 pages
Current Affairs March 2014
PDF
No ratings yet
Current Affairs March 2014
93 pages
Datasheet_Niveo-N10GSM-series
PDF
No ratings yet
Datasheet_Niveo-N10GSM-series
4 pages
Assignment No. 5 Linear Programming
PDF
No ratings yet
Assignment No. 5 Linear Programming
4 pages
Instructions: Step 1: Step 2: Step 3: Step 4
PDF
No ratings yet
Instructions: Step 1: Step 2: Step 3: Step 4
2 pages
Hands Safety Walkthrough Check-List 20140418
PDF
No ratings yet
Hands Safety Walkthrough Check-List 20140418
1 page
Cisco Digital Network Architect PDF
PDF
75% (4)
Cisco Digital Network Architect PDF
1,432 pages
SAP Inventory Management
PDF
100% (1)
SAP Inventory Management
36 pages
Akira cn9 Chassis ct-14xj9n - cht0807, Tb1238an, Ta8403 - T
PDF
No ratings yet
Akira cn9 Chassis ct-14xj9n - cht0807, Tb1238an, Ta8403 - T
51 pages
Akpan Geodetic Report
PDF
No ratings yet
Akpan Geodetic Report
19 pages
FDP Brochure EE DEI
PDF
No ratings yet
FDP Brochure EE DEI
6 pages
Semester Project Requirements
PDF
No ratings yet
Semester Project Requirements
3 pages
15A05601 Compiler Design
PDF
100% (1)
15A05601 Compiler Design
1 page
Adyen Business Breakdowns Research
PDF
No ratings yet
Adyen Business Breakdowns Research
12 pages
Jis D0205 1987 PDF
PDF
No ratings yet
Jis D0205 1987 PDF
52 pages
For Pregnant Examinee, Please Refer To The Printed Names With The Triple A (AAA) Legend
PDF
No ratings yet
For Pregnant Examinee, Please Refer To The Printed Names With The Triple A (AAA) Legend
19 pages
H.S.I. Supply List: Product Description
PDF
No ratings yet
H.S.I. Supply List: Product Description
4 pages
Restaurant Management System
PDF
No ratings yet
Restaurant Management System
23 pages
A Case Study On Product Lifecycle Management
PDF
100% (1)
A Case Study On Product Lifecycle Management
10 pages