Вы находитесь на странице: 1из 31

File/Directory Basics:-

Command Task

ls List View

Output:-

Command Task

cp Copy File

Output:-

1
Command Task

mv Rename File

Output:-

2
Command Task

rm Delete File

Output:-

Command Task

mkdir Make Directory

Output:-

3
Command Task

rkdir Delete Directory

Output:-

Command Task

cd Change Directory

Output:-

4
File Viewing:-
Command Task

cat View File

Output:-

Command Task

less Page through File

5
Output:-

Command Task

head View file beginning

Output:-

Command Task

tail View file Ending

Output:-

6
Command Task

nl Number Lines

Output:-

Command Task

od View Binary Data

7
Output:-

File Creation and Editing:-


Command Task

vim Text Editor

Output:-

8
Command Task

soffice Edit in word/Excel

Output:-

9
File Properties:-
Command Task

stat Display The Attribute 10


Output:-

Command Task

wc Count bytes/word/lines

Output:-

Command Task

du Measure disk usage


11
Output:-

Command Task

du Measure disk usage

Output:-

12
Command Task

file Identify file types

Output:-

Command Task

touch Change file timestamps

Output:-

13
File Location:-

Command Task

find Locate files

Output:-

Command Task

slocate Locate files via index

Output:-

14
Command Task

which Locate commands

Output:-

Command Task

whereis Locate standard files

Output:-

15
File Text Manipulation:-

Command Task

grep Search text for matching


lines
Output: -

Command Task

sort Sort lines

Output:-

16
Command Task

uniq Locate identical lines

Output: -

17
File Compression:-

Command Task
Output: -
gzip Compress files

Command Task

bzip2 Compress files (BZip2)

Output:-
18
Disks and File systems:-

Command Task

df Show free disk space

Output:-

19
Command Task

mount Make a disk accessible

Output:-

20
Command Task

fsck Check a disk for errors

Output:-
21
Command Task

date Show the date

Command Task

ping Show the ping information

22
Output:-

Command Task

passwd Recover the password


Output: -

Output:-

23
Command Task

cal Show the calendar

Output:-

24
Command Task

shutdown Shutdown the computer

Output:-

25
Command Task

reboot restart the computer

Output:-

26
Command Task

shopt Shell option

27
Output:-

28
Command Task

declare Declare the termenal

Output:-

29
Command Task

diff differences between two files

Output:-

30
Command Task

hash Remember the full pathname of a


name argument

Output:-

Command Task

history Show the history


Output: -

31

Вам также может понравиться