Sie sind auf Seite 1von 25

Imp Unix Commands

1. Echo :

2. Pwd

Mkdir :

3. Ls
4. Ls L

Cd

Cd ..

Rmdir file2

5. Touch file2

Note:

6. Rm file2

7. Cp

Note:

8. Mv

9. Cls/clear
10.Date
11.

12.Cal

13.Cal -2

14.Man cal

15.Q- to come out of help


16.Cls/clear
17.Whoam i

18.History

19.Ps

20.Vi f.c
21.

22.
23.Press escape key > press I for insertin ox text in file
24.Dont press ctrl
25.Press r to remove single char
26.Or press x
27.Down arrow or up arrow
28.Esc> Shft+ : to save > wq save

29.Cat file1.c

30.Head file1.c

31.Head -5 file1.c

32.Man head

33.Q

34.Tail f1.c

35.Tail -4 f1.c

36.Ls file*.dat

37.Cat

38.Grep

39.Grep who file*

40.Grep WHO file*-case sensitive

41.Grep -I who file*-- asll displays no case

42.Grep in who file*- line nos also

43.Grep A 2 who file*

Notw:

44.Grep B 2 who file*-bfor 2 lines

45.Grep c 2 who file*

46.Ps-a

47.Ps a |Grep absh

48.Ls-l >> f1.txt?????what

Das könnte Ihnen auch gefallen