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
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
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
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
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
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>
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.
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.
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
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.
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:-
Thank youDesigned by :-Bitu kumar singhasst. s/w engineer (trainee)work at volksgeist technology LLpID:-VGT141t