Database Reference
In-Depth Information
$
sudo apt-get install coreutils
$
man chmod
$
chmod u+x experiment.sh
cols
Apply a command to a subset of the columns and merge the result back with the
remaining columns. Cols by Jeroen H.M. Janssens (2014).
https://github.com/jeroen
$
git clone https://github.com/jeroenjanssens/data-science-at-the-command-
line.git
$
< iris.csv cols -C species body tapkee --method pca | header -r x,y,species
cowsay
Generate an ASCII picture of a cow with a message. Useful for when building up a
particular pipeline is starting to frustrate you a bit too much. Cowsay (version
3.03+dfsg1) by Tony Monroe (1999).
$
sudo apt-get install cowsay
$
man cowsay
$
echo
'The command line is awesome!'
| cowsay
______________________________
< The command line is awesome! >
------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
cp
Copy files and directories. Cp (version 8.21) by Torbjorn Granlund, David
MacKenzie, and Jim Meyering (2012).
http://www.gnu.org/so
ware/coreutils
.
$
sudo apt-get install coreutils
$
man cp
csvcut
Extract columns from CSV data. Like
cut
command-line tool, but for tabular data.
Csvkit (version 0.8.0) by Christopher Groskopf (2014).
http://csvkit.readthedocs.org
.
$
sudo pip install csvkit
$
csvcut --help