SlideShare una empresa de Scribd logo
1 de 12
Descargar para leer sin conexión
#10
          man[..]
Usage:
# man <command>
Description:
Show the manual page/s of a command
#9
          top[..]
Usage:
# top
Description:
Show a dynamic real-time view of running process
Example:
Save process snapshot to a file
# top -b -n1 > /home/DIR/process.log
#8
          wc[..]
Usage:
# wc [options] [filename]
Description:
This command is used to count lines, words, and
characters
Examples:
Count the number of:
✔  lines(-l), words(-w), characters(-c)
# wc -l Yourfile
#7
          dpkg[..]
Usage:
# sudo dpkg -i [packagename]
Description:
Install a Debian (.deb) package
#6
   auto-apt run[..]
Usage:
# sudo auto-apt run <command>
Description:
This command asks you to install the packages needed by
a command that tries to access a file that belongs to
some 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.
#5
          ls[..]
Usage:
# ls [options] [file]
Description:
List directory contents
Example:
✔ List entries by columns

# ls -C
✔ Use a long listing format

# ls -l
#4
          history[..]
Usage:
# history
Description:
Print recently used commands
#3
          ln[..]
Usage:
# ln [options] [target] [linkname]
Description:
Make links between files
Example:
✔ Create a symbolic link to ~/.vim/vimrc with the

  name .vimrc
# ln -s ~/.vim/vimrc ~/.vimrc
#2
          find[..]
Usage:
# find [-H] [-P] [path] [expression]
Description:
Search for files in a directory hierarchy
Example:
✔ Find mp3 files in or below the directory /tmp and

  delete them
# find /tmp -name '*.mp3' -print | xargs /bin/rm -f
#1
          grep[..]
Usage:
# grep [options] [pattern] [file]
Description:
Search using a pattern
Example:
✔ Display all the lines that do not contain the word

  'Linux' in file.txt
#  grep ­v 'Linux' /home/user/Desktop/file.txt
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

Más contenido relacionado

La actualidad más candente

Unix(introduction)
Unix(introduction)Unix(introduction)
Unix(introduction)
meashi
 

La actualidad más candente (20)

Linux basics
Linux basicsLinux basics
Linux basics
 
linux-commandline-magic-Joomla-World-Conference-2014
linux-commandline-magic-Joomla-World-Conference-2014linux-commandline-magic-Joomla-World-Conference-2014
linux-commandline-magic-Joomla-World-Conference-2014
 
Unix slideshare
Unix slideshareUnix slideshare
Unix slideshare
 
Common linux ubuntu commands overview
Common linux  ubuntu commands overviewCommon linux  ubuntu commands overview
Common linux ubuntu commands overview
 
Basic linux commands
Basic linux commands Basic linux commands
Basic linux commands
 
Linux
LinuxLinux
Linux
 
Linux class 8 tar
Linux class 8   tar  Linux class 8   tar
Linux class 8 tar
 
Terminal Commands (Linux - ubuntu) (part-1)
Terminal Commands  (Linux - ubuntu) (part-1)Terminal Commands  (Linux - ubuntu) (part-1)
Terminal Commands (Linux - ubuntu) (part-1)
 
Unix Basics For Testers
Unix Basics For TestersUnix Basics For Testers
Unix Basics For Testers
 
Unix(introduction)
Unix(introduction)Unix(introduction)
Unix(introduction)
 
Quick Guide with Linux Command Line
Quick Guide with Linux Command LineQuick Guide with Linux Command Line
Quick Guide with Linux Command Line
 
Unix Command Line Productivity Tips
Unix Command Line Productivity TipsUnix Command Line Productivity Tips
Unix Command Line Productivity Tips
 
Linux Commands
Linux CommandsLinux Commands
Linux Commands
 
Basic linux commands
Basic linux commandsBasic linux commands
Basic linux commands
 
Basic linux day 5
Basic linux day 5Basic linux day 5
Basic linux day 5
 
Linux
Linux Linux
Linux
 
17 Linux Basics #burningkeyboards
17 Linux Basics #burningkeyboards17 Linux Basics #burningkeyboards
17 Linux Basics #burningkeyboards
 
Basics of-linux
Basics of-linuxBasics of-linux
Basics of-linux
 
Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013Unix Linux Commands Presentation 2013
Unix Linux Commands Presentation 2013
 
Linux Network commands
Linux Network commandsLinux Network commands
Linux Network commands
 

Similar a Top 10 Random Linux/Ubuntu Commands

Linux: A Getting Started Presentation
Linux: A Getting Started PresentationLinux: A Getting Started Presentation
Linux: A Getting Started Presentation
Nap Ramirez
 

Similar a Top 10 Random Linux/Ubuntu Commands (20)

Unix cmd
Unix cmdUnix cmd
Unix cmd
 
Devops for beginners
Devops for beginnersDevops for beginners
Devops for beginners
 
Building robust and friendly command line applications in go
Building robust and friendly command line applications in goBuilding robust and friendly command line applications in go
Building robust and friendly command line applications in go
 
Linux basics
Linux basicsLinux basics
Linux basics
 
Examples -partII
Examples -partIIExamples -partII
Examples -partII
 
Linux basics part 1
Linux basics part 1Linux basics part 1
Linux basics part 1
 
Group13
Group13Group13
Group13
 
Linux: A Getting Started Presentation
Linux: A Getting Started PresentationLinux: A Getting Started Presentation
Linux: A Getting Started Presentation
 
Linux file commands and shell scripts
Linux file commands and shell scriptsLinux file commands and shell scripts
Linux file commands and shell scripts
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 
Linux com
Linux comLinux com
Linux com
 
50 Most Frequently Used UNIX Linux Commands -hmftj
50 Most Frequently Used UNIX  Linux Commands -hmftj50 Most Frequently Used UNIX  Linux Commands -hmftj
50 Most Frequently Used UNIX Linux Commands -hmftj
 
50 most frequently used unix
50 most frequently used unix50 most frequently used unix
50 most frequently used unix
 
50 most frequently used unix
50 most frequently used unix50 most frequently used unix
50 most frequently used unix
 
Linux
LinuxLinux
Linux
 
Linux basics and commands - from lynxbee.com
Linux basics and commands - from lynxbee.comLinux basics and commands - from lynxbee.com
Linux basics and commands - from lynxbee.com
 
Termux commands-list
Termux commands-listTermux commands-list
Termux commands-list
 
Linux
LinuxLinux
Linux
 
Linux
LinuxLinux
Linux
 
Linux
LinuxLinux
Linux
 

Top 10 Random Linux/Ubuntu Commands

  • 1.
  • 2. #10 man[..] Usage: # man <command> Description: Show the manual page/s of a command
  • 3. #9 top[..] Usage: # top Description: Show a dynamic real-time view of running process Example: Save process snapshot to a file # top -b -n1 > /home/DIR/process.log
  • 4. #8 wc[..] Usage: # wc [options] [filename] Description: This command is used to count lines, words, and characters Examples: Count the number of: ✔ lines(-l), words(-w), characters(-c) # wc -l Yourfile
  • 5. #7 dpkg[..] Usage: # sudo dpkg -i [packagename] Description: Install a Debian (.deb) package
  • 6. #6 auto-apt run[..] Usage: # sudo auto-apt run <command> Description: This command asks you to install the packages needed by a command that tries to access a file that belongs to some 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.
  • 7. #5 ls[..] Usage: # ls [options] [file] Description: List directory contents Example: ✔ List entries by columns # ls -C ✔ Use a long listing format # ls -l
  • 8. #4 history[..] Usage: # history Description: Print recently used commands
  • 9. #3 ln[..] Usage: # ln [options] [target] [linkname] Description: Make links between files Example: ✔ Create a symbolic link to ~/.vim/vimrc with the name .vimrc # ln -s ~/.vim/vimrc ~/.vimrc
  • 10. #2 find[..] Usage: # find [-H] [-P] [path] [expression] Description: Search for files in a directory hierarchy Example: ✔ Find mp3 files in or below the directory /tmp and delete them # find /tmp -name '*.mp3' -print | xargs /bin/rm -f
  • 11. #1 grep[..] Usage: # grep [options] [pattern] [file] Description: Search using a pattern Example: ✔ Display all the lines that do not contain the word 'Linux' in file.txt #  grep ­v 'Linux' /home/user/Desktop/file.txt
  • 12. 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