Your SlideShare is downloading. ×
Top 10 Random Linux/Ubuntu Commands
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Top 10 Random Linux/Ubuntu Commands

1,536

Published on

Here is a list of some useful Linux/Ubuntu commands.

Here is a list of some useful Linux/Ubuntu commands.

1 Comment
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total Views
1,536
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
29
Comments
1
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. #10 man[..]Usage:# man <command>Description:Show the manual page/s of a command
  • 2. #9 top[..]Usage:# topDescription:Show a dynamic real-time view of running processExample:Save process snapshot to a file# top -b -n1 > /home/DIR/process.log
  • 3. #8 wc[..]Usage:# wc [options] [filename]Description:This command is used to count lines, words, andcharactersExamples:Count the number of:✔ lines(-l), words(-w), characters(-c)# wc -l Yourfile
  • 4. #7 dpkg[..]Usage:# sudo dpkg -i [packagename]Description:Install a Debian (.deb) package
  • 5. #6 auto-apt run[..]Usage:# sudo auto-apt run <command>Description:This command asks you to install the packages needed bya command that tries to access a file that belongs tosome uninstalled package.Example:# sudo auto-apt run ./configure➢ This command will ask you to install the needed packages (It will call apt-get automatically) stopping the current process and continuing once the package is installed.
  • 6. #5 ls[..]Usage:# ls [options] [file]Description:List directory contentsExample:✔ List entries by columns# ls -C✔ Use a long listing format# ls -l
  • 7. #4 history[..]Usage:# historyDescription:Print recently used commands
  • 8. #3 ln[..]Usage:# ln [options] [target] [linkname]Description:Make links between filesExample:✔ Create a symbolic link to ~/.vim/vimrc with the name .vimrc# ln -s ~/.vim/vimrc ~/.vimrc
  • 9. #2 find[..]Usage:# find [-H] [-P] [path] [expression]Description:Search for files in a directory hierarchyExample:✔ Find mp3 files in or below the directory /tmp and delete them# find /tmp -name *.mp3 -print | xargs /bin/rm -f
  • 10. #1 grep[..]Usage:# grep [options] [pattern] [file]Description:Search using a patternExample:✔ Display all the lines that do not contain the word Linux in file.txt#  grep ­v Linux /home/user/Desktop/file.txt
  • 11. Resources http://www.cse.iitb.ac.in/~csea/workshops/prabhat0 8/slides_08/Linux_commands_08.pdf http://downloads.bosslinux.in/Boss-Training-Materi als/Basic%20Commands.pdf

×