| 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 |
| 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 ^ |
| 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]] | |