0% found this document useful (0 votes)
87 views7 pages

Basic Commands

This document provides information about basic and advanced Linux commands. It lists commands for changing directories, editing files, managing permissions, viewing files and directories, compressing files, and more. It also discusses using export to open graphical applications remotely, command completion, reverse searching, and retrieving previous commands.

Uploaded by

api-3837608
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
0% found this document useful (0 votes)
87 views7 pages

Basic Commands

This document provides information about basic and advanced Linux commands. It lists commands for changing directories, editing files, managing permissions, viewing files and directories, compressing files, and more. It also discusses using export to open graphical applications remotely, command completion, reverse searching, and retrieving previous commands.

Uploaded by

api-3837608
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
You are on page 1/ 7

Computer Basics 

Workshop: Linux Command 
Prompt

By:
Amit Goyal
(MLC)
Basic Linux Commands
yppasswd ­­ to change passwd
ls ­­ to list files and directories
cd ­­ to change directory
pico ­­ To create or edit a file
vim ­­ Advance text editor
chmod ­­ change file access permissions
pwd ­­ shows the "present working directory"
cp ­­ copy the files/diectories
mv ­­ move or rename the file/directory
Basic Linux Commands
rm ­­ remove files/directory
mkdir ­­ make a new directory
rmdir ­­ deletes a (empty) directory
date ­­ show date and time
cal ­­ show calendar
du ­­ show file space usage
logout ­­ make you exit
man ­­ show the manual pages
Advance Basic Commands
tin ­­ to check newsgroups
telnet ­­ to login into other computer/server
ssh ­­ secure login into other computer/server
finger ­­ look for information about users 
logged on server
talk ­­ talk to other user 
w ­­ Show who is logged on and what they 
are doing
write ­­ write to other users
Advance Basic Commands
ftp ­­ to transfer files from one computer to 
another
cat ­­ print the file(s) on standard output
alias ­­ alias a command
locate ­­ locate a file containing some 
expression
grep ­­ print lines matching a pattern
df ­­ show harddisk partitions
Advance Basic Commands ­ tar
tar ­­ compress/uncompress files/directories 
➢ tar ­xvf file.tar ­­ uncompress a file 'file.tar'
➢ tar ­xzvf file.tar.gz ­­ uncompress a file 
'file.tar.gz'
➢ tar ­xjvf file.tar.bz2 ­­ uncompress a file 
'file.tar.bz2'
➢ tar ­cvf file.tar file ­­ compress the file 'file' to 
'file.tar' 
➢ tar ­czvf file.tar.gz file ­­ compress the file 'file' 
to file.tar.gz
➢ tar ­cjvf file.tar.bz2 file ­­ compress the file 
'file' to file.tar.bz2
Some more fundaes
How to use export to open graphical 
applications from other computer?
Use <TAB> for the command completion
use reverse search "Ctrl+r"
!! ­­ get previous commands

You might also like