User Tools

Site Tools


unix_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
unix_commands [2016/05/25 20:13]
peek [A List of Most Popular Commands]
unix_commands [2016/05/25 20:22] (current)
peek
Line 9: Line 9:
 Most user-level commands can be found in the ''/bin'', ''/usr/bin'', and ''/usr/local/bin'' directories.  Some programs can be found in ''/sbin'' and/or ''/usr/sbin'', but those programs are usually reserved for the administrator, and they won't work for you unless you have the password.  You can also use the ''man'' command to search for commands by keyword, but search is limited.  Google is probably a better choice unless you know a specific keyword you're looking for. Most user-level commands can be found in the ''/bin'', ''/usr/bin'', and ''/usr/local/bin'' directories.  Some programs can be found in ''/sbin'' and/or ''/usr/sbin'', but those programs are usually reserved for the administrator, and they won't work for you unless you have the password.  You can also use the ''man'' command to search for commands by keyword, but search is limited.  Google is probably a better choice unless you know a specific keyword you're looking for.
  
-====== A List of Most Popular Commands ======+====== A List Of Some Popular Commands ======
  
 ^ Command ^ Description ^ ^ Command ^ Description ^
Line 24: Line 24:
 file file
 </code> [[http://manpages.ubuntu.com/manpages/xenial/en/man1/basename.1.html|Man Page]] | </code> [[http://manpages.ubuntu.com/manpages/xenial/en/man1/basename.1.html|Man Page]] |
-^ <code>bash</code> | A standard shell program available on almost every Unix-based system. \\ \\ [[http://manpages.ubuntu.com/manpages/xenial/en/man1/bash.1.html|Man Page]][[https://www.gnu.org/software/bash/manual/|GNU Manual]] |+^ <code>bash</code> | A standard shell program available on almost every Unix-based system.  There's a good chance that when you open a terminal this is the shell program that the terminal runs.  There are other shell programs, and each has it's own strengths and weaknesses, but for the purposes of these wiki pages the bash script will be what we focus on. \\ \\ [[http://manpages.ubuntu.com/manpages/xenial/en/man1/bash.1.html|Man Page]][[https://www.gnu.org/software/bash/manual/|GNU Manual]] |
 ^ <code>basename</code> | Strip directory (and optionally suffix) from path names. \\ \\ [[http://manpages.ubuntu.com/manpages/xenial/en/man1/basename.1.html|Man Page]] | ^ <code>basename</code> | Strip directory (and optionally suffix) from path names. \\ \\ [[http://manpages.ubuntu.com/manpages/xenial/en/man1/basename.1.html|Man Page]] |
 ^ <code>bc</code> | An arbitrary-precision command line calculator. \\ \\ [[http://manpages.ubuntu.com/manpages/xenial/en/man1/bc.1.html|Man Page]][[https://www.gnu.org/software/bc/manual/html_mono/bc.html|GNU Manual]][[http://www.basicallytech.com/blog/archive/23/command-line-calculations-using-bc/|Examples]] | ^ <code>bc</code> | An arbitrary-precision command line calculator. \\ \\ [[http://manpages.ubuntu.com/manpages/xenial/en/man1/bc.1.html|Man Page]][[https://www.gnu.org/software/bc/manual/html_mono/bc.html|GNU Manual]][[http://www.basicallytech.com/blog/archive/23/command-line-calculations-using-bc/|Examples]] |
Line 88: Line 88:
 ^ <code>wget</code> | A command line tool for interacting with a web server.  Can be used to download HTML, or to download a file from a web page. \\ \\ [[http://manpages.ubuntu.com/manpages/xenial/en/man1/wget.1.html|Man Page]] [[http://www.thegeekstuff.com/2009/09/the-ultimate-wget-download-guide-with-15-awesome-examples/|Examples]] | ^ <code>wget</code> | A command line tool for interacting with a web server.  Can be used to download HTML, or to download a file from a web page. \\ \\ [[http://manpages.ubuntu.com/manpages/xenial/en/man1/wget.1.html|Man Page]] [[http://www.thegeekstuff.com/2009/09/the-ultimate-wget-download-guide-with-15-awesome-examples/|Examples]] |
 ^ <code>which</code> | Outputs the location of a program, if known. \\ \\ [[http://manpages.ubuntu.com/manpages/xenial/en/man1/which.1.html|Man Page]] | ^ <code>which</code> | Outputs the location of a program, if known. \\ \\ [[http://manpages.ubuntu.com/manpages/xenial/en/man1/which.1.html|Man Page]] |
-^ <code>while</code> | A conditional loop command: <code>while <condition>; do <commands>; done</code> [[http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_09_02.html|Example]] |+^ <code>while</code> | A conditional loop command: <code>while <condition>; do <commands>; done</code> [[http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_09_02.html|Examples]] |
  
 This list is by no means exhaustive! This list is by no means exhaustive!
unix_commands.1464207206.txt.gz ยท Last modified: 2016/05/25 20:13 by peek