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)
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
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
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
Ubuntu
PDF
No ratings yet
Ubuntu
67 pages
Package Management Cheatsheet
PDF
0% (1)
Package Management Cheatsheet
1 page
Headers
PDF
100% (1)
Headers
6 pages
ACER English Exam QP
PDF
50% (2)
ACER English Exam QP
3 pages
EGlobe G2 User's Guide Version 1.1
PDF
89% (9)
EGlobe G2 User's Guide Version 1.1
221 pages
Linux Cheat Sheet
PDF
100% (1)
Linux Cheat Sheet
1 page
Essential Vim Commands Cheat Sheet
PDF
No ratings yet
Essential Vim Commands Cheat Sheet
1 page
Bash Scripting
PDF
No ratings yet
Bash Scripting
213 pages
Reversing and Malware Analysis Training Articles (2012) : Tyxploded Tyxploded
PDF
100% (1)
Reversing and Malware Analysis Training Articles (2012) : Tyxploded Tyxploded
60 pages
Linux Console Commands
PDF
100% (16)
Linux Console Commands
4 pages
Ubuntu Linux, Ubuntu Desktop, Linux Operating System, Ubuntu Guide
PDF
No ratings yet
Ubuntu Linux, Ubuntu Desktop, Linux Operating System, Ubuntu Guide
5 pages
Basic Admin - 1 - 5
PDF
100% (1)
Basic Admin - 1 - 5
28 pages
Basic Linux Commands
PDF
No ratings yet
Basic Linux Commands
6 pages
Manual Tomcat
PDF
No ratings yet
Manual Tomcat
60 pages
PowerShell Training Primer
PDF
100% (1)
PowerShell Training Primer
29 pages
Ansible Tutorial
PDF
No ratings yet
Ansible Tutorial
3 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
An A-Z Index of The Command Line For Linux
PDF
No ratings yet
An A-Z Index of The Command Line For Linux
7 pages
Linux Directory Structure
PDF
No ratings yet
Linux Directory Structure
2 pages
Perl Introduction
PDF
No ratings yet
Perl Introduction
43 pages
Introduction To The Linux Operating System
PDF
100% (2)
Introduction To The Linux Operating System
31 pages
Practical Python in Linux
PDF
No ratings yet
Practical Python in Linux
7 pages
Unix/Linux Command Reference: File Commands System Info
PDF
No ratings yet
Unix/Linux Command Reference: File Commands System Info
2 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
Perl Syntax: Basic Script
PDF
No ratings yet
Perl Syntax: Basic Script
9 pages
Linux For Beginners
PDF
No ratings yet
Linux For Beginners
156 pages
Bind9Serverhowto: Search
PDF
No ratings yet
Bind9Serverhowto: Search
10 pages
Sed - An Introduction and Tutorial by Bruce Barnett
PDF
No ratings yet
Sed - An Introduction and Tutorial by Bruce Barnett
37 pages
Linux Test Command Information and Examples
PDF
No ratings yet
Linux Test Command Information and Examples
4 pages
Using Grep, TR and Sed With Regular Expressions
PDF
No ratings yet
Using Grep, TR and Sed With Regular Expressions
7 pages
Python Tools Utilities
PDF
100% (1)
Python Tools Utilities
3 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
Linux Commands
PDF
No ratings yet
Linux Commands
25 pages
Linux Lab Practical
PDF
100% (1)
Linux Lab Practical
20 pages
Operating Systems: Part II: Introduction To The Unix Operating System (Utilities and Shell
PDF
No ratings yet
Operating Systems: Part II: Introduction To The Unix Operating System (Utilities and Shell
33 pages
Partitioning and Formatting A Disk Drive in Linux
PDF
No ratings yet
Partitioning and Formatting A Disk Drive in Linux
13 pages
Fstab Permissions
PDF
100% (1)
Fstab Permissions
3 pages
Linux Notes For Final
PDF
No ratings yet
Linux Notes For Final
65 pages
Linux Pocket Reference For System
PDF
No ratings yet
Linux Pocket Reference For System
143 pages
Git - The Simple Guide - No Deep Shit
PDF
No ratings yet
Git - The Simple Guide - No Deep Shit
9 pages
Bash Shell Cheat Sheet
PDF
100% (1)
Bash Shell Cheat Sheet
3 pages
Unix Commands
PDF
No ratings yet
Unix Commands
4 pages
Git User Manual
PDF
100% (5)
Git User Manual
71 pages
Anaconda Starter Guide CheatSheet
PDF
No ratings yet
Anaconda Starter Guide CheatSheet
2 pages
Characters: Character Legend Example Sample Match
PDF
No ratings yet
Characters: Character Legend Example Sample Match
5 pages
Adhish Singh Kunwar A2
PDF
No ratings yet
Adhish Singh Kunwar A2
37 pages
WebSphere Application Server 7.0 Administration Guide
From Everand
WebSphere Application Server 7.0 Administration Guide
Steve Robinson
No ratings yet
SQL Server 2012 with PowerShell V3 Cookbook
From Everand
SQL Server 2012 with PowerShell V3 Cookbook
Donabel Santos
No ratings yet
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
Creating Development Environments with Vagrant - Second Edition
From Everand
Creating Development Environments with Vagrant - Second Edition
Michael Peacock
No ratings yet
Redmine Cookbook: Over 80 hands-on recipes to improve your skills in project management, team management, process improvement, and Redmine administration
From Everand
Redmine Cookbook: Over 80 hands-on recipes to improve your skills in project management, team management, process improvement, and Redmine administration
Pavić Aleksandar
No ratings yet
Mission Ruby
From Everand
Mission Ruby
Sheela Preuitt
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
The Linux Command Line - Notes
PDF
No ratings yet
The Linux Command Line - Notes
2 pages
Linux Terminal Comands
PDF
100% (1)
Linux Terminal Comands
7 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
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
MCA 2008 Regular 2009 CDE Onwards Nov 2016
PDF
No ratings yet
MCA 2008 Regular 2009 CDE Onwards Nov 2016
6 pages
Apr17 Ug Sem Timetable
PDF
No ratings yet
Apr17 Ug Sem Timetable
18 pages
Bharathidasan University: Tiruchirappalli - 620 024
PDF
No ratings yet
Bharathidasan University: Tiruchirappalli - 620 024
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
ECG Signal Denoising
PDF
No ratings yet
ECG Signal Denoising
13 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
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
OBIEE Catalog Folder Structures
PDF
No ratings yet
OBIEE Catalog Folder Structures
4 pages
IC Design Layout Rules
PDF
100% (1)
IC Design Layout Rules
2 pages
Mocha AE Plugin UserGuide PDF
PDF
No ratings yet
Mocha AE Plugin UserGuide PDF
83 pages
Star Pattern Print
PDF
100% (1)
Star Pattern Print
13 pages
C1 Giga Lesson02
PDF
No ratings yet
C1 Giga Lesson02
14 pages
Vehicle Tire (Tyre) Detection and Text Recognition Using Deep Learning
PDF
No ratings yet
Vehicle Tire (Tyre) Detection and Text Recognition Using Deep Learning
6 pages
3par Izvestaj
PDF
No ratings yet
3par Izvestaj
3 pages
Biostar Am1mh Spec
PDF
No ratings yet
Biostar Am1mh Spec
6 pages
Java Journal
PDF
No ratings yet
Java Journal
30 pages
Cloud Computing Lab Manual
PDF
No ratings yet
Cloud Computing Lab Manual
30 pages
Zomoto Data Analysis Using Python_1
PDF
No ratings yet
Zomoto Data Analysis Using Python_1
10 pages
A Cloud Services Cheat Sheet For AWS Azure and Google Cloud PDF
PDF
100% (2)
A Cloud Services Cheat Sheet For AWS Azure and Google Cloud PDF
36 pages
Computer Use Policy
PDF
No ratings yet
Computer Use Policy
1 page
DB24 Functions ENG
PDF
No ratings yet
DB24 Functions ENG
10 pages
Solution Module Test FSD Merged 30th Oct-2
PDF
No ratings yet
Solution Module Test FSD Merged 30th Oct-2
16 pages
NetCom1 - Lab 3
PDF
No ratings yet
NetCom1 - Lab 3
5 pages
No Results Found Meme Generator
PDF
No ratings yet
No Results Found Meme Generator
1 page
UNIT 5 - Digital Electronics
PDF
No ratings yet
UNIT 5 - Digital Electronics
100 pages
Srishti Innovation (P) LTD.: Total Marks: 50 Max Hours: 1 Hrs
PDF
No ratings yet
Srishti Innovation (P) LTD.: Total Marks: 50 Max Hours: 1 Hrs
4 pages
KV Preboard
PDF
No ratings yet
KV Preboard
14 pages
IEEE_Access_2023___Honeywell
PDF
No ratings yet
IEEE_Access_2023___Honeywell
5 pages
Mechanical Intro 17.0 WS01.1 Mechanical Basics
PDF
No ratings yet
Mechanical Intro 17.0 WS01.1 Mechanical Basics
26 pages
BCENT - Basic Cisco Entry Networking Technician: Introducing Computer Networks
PDF
No ratings yet
BCENT - Basic Cisco Entry Networking Technician: Introducing Computer Networks
23 pages
Research 1 2 1
PDF
No ratings yet
Research 1 2 1
20 pages
Introduction To Virtualization
PDF
No ratings yet
Introduction To Virtualization
28 pages
Ch-01 (Comp) - Introduction To Computers
PDF
No ratings yet
Ch-01 (Comp) - Introduction To Computers
52 pages
FP&A Reporting and Analytics
PDF
No ratings yet
FP&A Reporting and Analytics
2 pages
LSMW Upload Master Data Using Batch Input Recording Part 1 1696937994
PDF
No ratings yet
LSMW Upload Master Data Using Batch Input Recording Part 1 1696937994
78 pages
Solved Eg
PDF
100% (6)
Solved Eg
23 pages