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
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
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” don@burleson.cc 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
Bash Scripting Tutorial Guide
PDF
No ratings yet
Bash Scripting Tutorial Guide
91 pages
RHCSA Cheatsheet
PDF
No ratings yet
RHCSA Cheatsheet
21 pages
Gray Hat Python: Python Programming for Hackers and Reverse Engineers
From Everand
Gray Hat Python: Python Programming for Hackers and Reverse Engineers
Justin Seitz
3.5/5 (14)
01 - Linux Basic Commands
PDF
No ratings yet
01 - Linux Basic Commands
8 pages
Byte Magazine Vol 00-01 The Worlds Greatest Toy
PDF
No ratings yet
Byte Magazine Vol 00-01 The Worlds Greatest Toy
100 pages
Wipro Interview Process Overview
PDF
No ratings yet
Wipro Interview Process Overview
3 pages
Apr17 Ug Sem Timetable
PDF
No ratings yet
Apr17 Ug Sem Timetable
18 pages
ECG Signal Denoising
PDF
No ratings yet
ECG Signal Denoising
13 pages
E-Mail & DNS
PDF
No ratings yet
E-Mail & DNS
42 pages
Unix Lab Manual
PDF
No ratings yet
Unix Lab Manual
67 pages
Hacking SAP Business Objects
PDF
No ratings yet
Hacking SAP Business Objects
61 pages
Asset Discovery Tool - User Instructions
PDF
No ratings yet
Asset Discovery Tool - User Instructions
34 pages
17 - Project Report - NLP-2-27
PDF
No ratings yet
17 - Project Report - NLP-2-27
26 pages
ESMS
PDF
No ratings yet
ESMS
49 pages
Choosing Compute Options
PDF
No ratings yet
Choosing Compute Options
45 pages
Linux Commands Cheat Sheet 2234
PDF
100% (1)
Linux Commands Cheat Sheet 2234
10 pages
IoT Final Lab
PDF
No ratings yet
IoT Final Lab
27 pages
Unit 1 Introduction To Operating System
PDF
No ratings yet
Unit 1 Introduction To Operating System
29 pages
MIC Microproject
PDF
No ratings yet
MIC Microproject
15 pages
Python Package Management 08
PDF
No ratings yet
Python Package Management 08
57 pages
Sed - An Introduction and Tutorial by Bruce Barnett
PDF
No ratings yet
Sed - An Introduction and Tutorial by Bruce Barnett
37 pages
Assessment For Learning
PDF
100% (1)
Assessment For Learning
236 pages
1.draw and Explain The Following: A) 8 QAM Receiver B) 16 QAM Transmitter and Receiver C) 16 PSK Transmitter and Receiver
PDF
No ratings yet
1.draw and Explain The Following: A) 8 QAM Receiver B) 16 QAM Transmitter and Receiver C) 16 PSK Transmitter and Receiver
5 pages
PowerShell Training Primer
PDF
100% (1)
PowerShell Training Primer
29 pages
Ubuntu
PDF
No ratings yet
Ubuntu
67 pages
E-Content Development Presentation
PDF
No ratings yet
E-Content Development Presentation
26 pages
Fundamental XML For Developers: Dr. Timothy M. Chester Texas A&M University
PDF
No ratings yet
Fundamental XML For Developers: Dr. Timothy M. Chester Texas A&M University
82 pages
Mobile Voice Chat
PDF
No ratings yet
Mobile Voice Chat
100 pages
How To Install Apache Tomcat 8 On Ubuntu 16
PDF
No ratings yet
How To Install Apache Tomcat 8 On Ubuntu 16
25 pages
Dell Wyse 3040 Thin Client User Guide: Regulatory Model: N10D Regulatory Type: N10D001
PDF
No ratings yet
Dell Wyse 3040 Thin Client User Guide: Regulatory Model: N10D Regulatory Type: N10D001
51 pages
Linux Lab Practical
PDF
100% (1)
Linux Lab Practical
20 pages
Security
PDF
No ratings yet
Security
15 pages
Real Time Operating Systems
PDF
No ratings yet
Real Time Operating Systems
7 pages
UMID Frequently Asked Questions FAQs
PDF
100% (1)
UMID Frequently Asked Questions FAQs
2 pages
Booting&Modules 8
PDF
100% (1)
Booting&Modules 8
5 pages
Linux Tutorial - 9. Discover Filters
PDF
No ratings yet
Linux Tutorial - 9. Discover Filters
15 pages
Company Writeup
PDF
No ratings yet
Company Writeup
1 page
02 Linux - Fundamentals
PDF
No ratings yet
02 Linux - Fundamentals
28 pages
Mini Project
PDF
No ratings yet
Mini Project
15 pages
Catalyst Command Line Interface
PDF
No ratings yet
Catalyst Command Line Interface
8 pages
Full Circle Magazine - Issue 98 EN
PDF
No ratings yet
Full Circle Magazine - Issue 98 EN
57 pages
ACER English Exam QP
PDF
50% (2)
ACER English Exam QP
3 pages
Creating Development Environments with Vagrant - Second Edition
From Everand
Creating Development Environments with Vagrant - Second Edition
Michael Peacock
No ratings yet
Linux Com Ds
PDF
No ratings yet
Linux Com Ds
19 pages
Wikipedia PowerShell
PDF
No ratings yet
Wikipedia PowerShell
13 pages
RigakuMiniFlex Standard Operating Procedures 2016 07 21 PDF
PDF
No ratings yet
RigakuMiniFlex Standard Operating Procedures 2016 07 21 PDF
6 pages
Republic of The Philippines Gordon College College of Computer Studies
PDF
No ratings yet
Republic of The Philippines Gordon College College of Computer Studies
14 pages
Cascadingdependencies 180923095126
PDF
No ratings yet
Cascadingdependencies 180923095126
19 pages
SQLMAP
PDF
No ratings yet
SQLMAP
23 pages
Set Up and Configure A Cloud Environment in Google Cloud Challenge Lab
PDF
100% (1)
Set Up and Configure A Cloud Environment in Google Cloud Challenge Lab
3 pages
What's in A (Domain) Name?
PDF
No ratings yet
What's in A (Domain) Name?
17 pages
Delphi 2010 REST WP Marco Cantu 0911
PDF
No ratings yet
Delphi 2010 REST WP Marco Cantu 0911
54 pages
Projects
PDF
No ratings yet
Projects
34 pages
Chemistry PG
PDF
No ratings yet
Chemistry PG
33 pages
Types of Artificial Intelligence
PDF
No ratings yet
Types of Artificial Intelligence
2 pages
Dirceu InternetSecurity
PDF
No ratings yet
Dirceu InternetSecurity
12 pages
List of Unix Commands
PDF
No ratings yet
List of Unix Commands
8 pages
IRedMail Documentations
PDF
No ratings yet
IRedMail Documentations
6 pages
Xpath Cheat Sheet: Ahmed Rafik - Modern Web Scraping With Python Using Scrapy, Splash & Selenium (Udemy) 2 Edition
PDF
No ratings yet
Xpath Cheat Sheet: Ahmed Rafik - Modern Web Scraping With Python Using Scrapy, Splash & Selenium (Udemy) 2 Edition
11 pages
Basic Admin - 1 - 5
PDF
100% (1)
Basic Admin - 1 - 5
28 pages
Step by Step Guide For Instalinng Exchange 2013
PDF
No ratings yet
Step by Step Guide For Instalinng Exchange 2013
8 pages
HUAWEI Sx700 Series Switches EIGRP Feature Replacement Technology White Paper
PDF
No ratings yet
HUAWEI Sx700 Series Switches EIGRP Feature Replacement Technology White Paper
23 pages
Linux Training Istitute
PDF
No ratings yet
Linux Training Istitute
8 pages
Manual Tomcat
PDF
No ratings yet
Manual Tomcat
60 pages
Unit 2 The Vi Editor
PDF
No ratings yet
Unit 2 The Vi Editor
7 pages
Shell Scripting Tutorial For Linux - Unix Beginners PDF
PDF
No ratings yet
Shell Scripting Tutorial For Linux - Unix Beginners PDF
7 pages
Lesson 23 - Linux Mail Server With Webmail
PDF
No ratings yet
Lesson 23 - Linux Mail Server With Webmail
5 pages
Windows Management Instrumentation
PDF
No ratings yet
Windows Management Instrumentation
10 pages
2E1215, Lecture 2 - Matlab Programming
PDF
No ratings yet
2E1215, Lecture 2 - Matlab Programming
24 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
Apache Tomcat File Config
PDF
No ratings yet
Apache Tomcat File Config
10 pages
UNIX and Linux Commands Summary
PDF
No ratings yet
UNIX and Linux Commands Summary
9 pages
SQL Injection
PDF
100% (1)
SQL Injection
10 pages
Linux Directory Structure Explained
PDF
No ratings yet
Linux Directory Structure Explained
3 pages
Bom Interface MD50 1
PDF
No ratings yet
Bom Interface MD50 1
14 pages
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
Perl Introduction
PDF
No ratings yet
Perl Introduction
43 pages
Introduction To The Linux Kernel
PDF
No ratings yet
Introduction To The Linux Kernel
7 pages
Basic Linux Commands
PDF
No ratings yet
Basic Linux Commands
6 pages
Introduction To Programmable Logic Controllers (ST-PLCINTRO)
PDF
No ratings yet
Introduction To Programmable Logic Controllers (ST-PLCINTRO)
4 pages
Day 1 Morning Study and Meditation: September 2014
PDF
No ratings yet
Day 1 Morning Study and Meditation: September 2014
10 pages
Essential Vim Commands Cheat Sheet
PDF
No ratings yet
Essential Vim Commands Cheat Sheet
1 page
HP Color Laserjet Managed MFP E77825Dn: Datasheet
PDF
No ratings yet
HP Color Laserjet Managed MFP E77825Dn: Datasheet
4 pages
Image Analysis by Bidimensional Empirical Mode Decomposition
PDF
No ratings yet
Image Analysis by Bidimensional Empirical Mode Decomposition
8 pages
MCA 2008 Regular 2009 CDE Onwards Nov 2016
PDF
No ratings yet
MCA 2008 Regular 2009 CDE Onwards Nov 2016
6 pages
Matlab Talk
PDF
No ratings yet
Matlab Talk
43 pages
Linux Console Commands
PDF
100% (16)
Linux Console Commands
4 pages
100 Most Important SAP PP Interview Questions
PDF
No ratings yet
100 Most Important SAP PP Interview Questions
5 pages
WebSphere Application Server 7.0 Administration Guide
From Everand
WebSphere Application Server 7.0 Administration Guide
Steve Robinson
No ratings yet
Learn UNIX in 10 Minutes Org
PDF
No ratings yet
Learn UNIX in 10 Minutes Org
10 pages
SRB (Signaling Radio Bearer) Mapping For LTE Signaling Message
PDF
No ratings yet
SRB (Signaling Radio Bearer) Mapping For LTE Signaling Message
3 pages
Matlab-Signals and Systems
PDF
No ratings yet
Matlab-Signals and Systems
26 pages
GEI-100271 System Database (SDB) Browser PDF
PDF
No ratings yet
GEI-100271 System Database (SDB) Browser PDF
18 pages
Linux Command List v1.1: Terms of Use
PDF
100% (4)
Linux Command List v1.1: Terms of Use
15 pages
Linux Cheat Sheet
PDF
100% (1)
Linux Cheat Sheet
1 page
Database Pros N Cons
PDF
No ratings yet
Database Pros N Cons
3 pages
Broad Guidelines For MTI Assignment & Project Updated
PDF
No ratings yet
Broad Guidelines For MTI Assignment & Project Updated
1 page
Linux Commands Quick Reference Card
PDF
100% (1)
Linux Commands Quick Reference Card
2 pages
JavaScript Computer Programming
From Everand
JavaScript Computer Programming
Charlie Masterson
No ratings yet
Ensayo Tecnologias de Informacion Ingles
PDF
No ratings yet
Ensayo Tecnologias de Informacion Ingles
2 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
VMware Management With PowerCLI 5.0
PDF
No ratings yet
VMware Management With PowerCLI 5.0
1 page
Bharathidasan Univeristy, Tiruchirappalli - 620 024: Centre For Distance Education
PDF
No ratings yet
Bharathidasan Univeristy, Tiruchirappalli - 620 024: Centre For Distance Education
1 page
Media and Information Literacy Module 9
PDF
No ratings yet
Media and Information Literacy Module 9
5 pages