Basic command ppt

17,262 views
16,751 views

Published on

Published in: Technology
1 Comment
19 Likes
Statistics
Notes
No Downloads
Views
Total views
17,262
On SlideShare
0
From Embeds
0
Number of Embeds
19
Actions
Shares
0
Downloads
1,465
Comments
1
Likes
19
Embeds 0
No embeds

No notes for slide

Basic command ppt

  1. 1. Linux basic commandsLinux is an operating system.It is similar to the unix os.Basic linux command:1. Ls :- This command is used to list all the files in thecurrent working directory . Eg :-$ls2. Rm :- This command is used to remove the file fromthe directory. Eg :-$rm filename
  2. 2. Linux basic commands3.Rmdir :- This command is used removedirectory . But it should not contain any file.Thenonly we can remove the directoryeg :-$rmdir directory name4.Cat :- This command is used to display thecontent of file.Eg :- $cat>filename (i.e.,)used to write the contentin to the file.eg :- $cat file .(i.e.,) used to display the content inthe file
  3. 3. Linux basic commands5. CD :- This command is used to change thecurrent working directory.Eg :- $cd6.mv :- This command is also called renamecommand.it is used to move the content fromthe source file to the desigination file.Eg :- $mv sourcefile desgination file7.who :- This command is used to display theusers who are currently logged on. Eg :- $who
  4. 4. Linux basic commands8.who am i :- This command is used to display theinformation about the user.Eg:- $who am i9.mk dir :- This command is used to create a newdirectory.Eg :- $mkdir directoryname10.Cp :- This command is used to copy thecontent of source file to the designation file.Eg :-$cp source_file desgination_file
  5. 5. Linux basic commands11.wall :- This command is used to send messageto every user who are currently logged on.Eg :- $wall message12.bc :- Bc command is used for calculatoreg :- $bc13.grep :- this command is used search a word orcharacter or sentence in a fileEg :- $grep word filenme
  6. 6. Linux basic commands14.wc :- This command is used to count the number ofcharacter in a fileeg :- wc option filename15.pwd :- this command is used to display current workingdirectory.Eg :- pwd16. man:- This command is used to show the informationabout any commands.Eg:-man <any command>
  7. 7. Linux basic commands17. moreThis shows the contents of text files. Also youmight be able to find“less” and “cat” which aresimilar commands.18. <command> --helpThis command show the every option for givencommands.
  8. 8. Linux basic commands19. chmod :-This command is used to change the file acesspermission..20. clear :- this command is used to clear the terminals.Eg:-clear21. w :- this command is used to print the currentsystem users.
  9. 9. Linux basic commands22. telnet :-Telnet allows you to login remotely from a remotecomputer to a host23.Touch:-This command is used to create file that file isbydefault txt.Eg:-touch filename
  10. 10. Linux basic commands24.vi:-This command are used to create the file and editany existing file.Eg:-vi filename25.date:-This command are used to display the systemdate and time.
  11. 11. Linux basic commands26. cal:-This command are used to display the systemcalendar.Eg:-cal27. ifconfig:-This command are used to display the system IPaddress.28.hostname:-
  12. 12. Thank youDesigned by :-Bitu kumar singhasst. s/w engineer (trainee)work at volksgeist technology LLpID:-VGT141t

×