Difference between revisions of "Linux"

From PHYSpedia
Jump to: navigation, search
(Useful Commands)
(Useful Commands)
Line 11: Line 11:
 
==Useful Commands==
 
==Useful Commands==
 
The following is a (short) list of useful command when manipulating data in text files. Some common options are listed, but may not be explained. For full descriptions of each command, see the <code>man</code> page.
 
The following is a (short) list of useful command when manipulating data in text files. Some common options are listed, but may not be explained. For full descriptions of each command, see the <code>man</code> page.
 +
 +
;<code>cat <file></code>
 +
: print text file to standard output
 +
: useful for starting a pipeline of commands from the contents of a text file
 +
;<code>echo args...</code>
 +
: print arguments to standard output
 +
: useful for starting a pipeline of commands from a variable's value
 +
:<code>sort</code>
 +
: read from standard input, sort lines, and write to standard output
 +
: command options: -k, -t, -n, -g

Revision as of 19:58, 21 January 2013

These topics have their own pages.

Getting Started

Scripting

Gnuplot

Common C, C++, FORTRAN Libraries

Useful Commands

The following is a (short) list of useful command when manipulating data in text files. Some common options are listed, but may not be explained. For full descriptions of each command, see the man page.

cat <file>
print text file to standard output
useful for starting a pipeline of commands from the contents of a text file
echo args...
print arguments to standard output
useful for starting a pipeline of commands from a variable's value
sort
read from standard input, sort lines, and write to standard output
command options: -k, -t, -n, -g