cmd &>out.txt
cmd > out.txt 2>error.txt
tree | sed 's/├/\+/g; s/─/-/g; s/└/\+/g' | |
tree --charset ascii |
$ git ls-remote https://github.com/......... HEAD | cut -f1 | |
0a033196ee92e75f94a8dd27c97d6b882210103e | |
$ git show -s --format=%H | |
0a033196ee92e75f94a8dd27c97d6b882210103e | |
$ git show -s --format=%h | |
0a03319 | |
$ git rev-parse HEAD |
usage: cwltoil [-h] [--logOff] [--logCritical] [--logError] [--logWarning] | |
[--logInfo] [--logDebug] [--logLevel LOGLEVEL] | |
[--logFile LOGFILE] [--rotatingLogging] [--workDir WORKDIR] | |
[--stats] [--clean {always,onError,never,onSuccess}] | |
[--cleanWorkDir {always,never,onSuccess,onError}] | |
[--clusterStats [CLUSTERSTATS]] [--restart] | |
[--batchSystem BATCHSYSTEM] [--disableHotDeployment] | |
[--scale SCALE] [--mesosMaster MESOSMASTERADDRESS] | |
[--parasolCommand PARASOLCOMMAND] | |
[--parasolMaxBatches PARASOLMAXBATCHES] [--provisioner {aws}] |
wget https://ftp.gnu.org/gnu/gcc/gcc-6.3.0/gcc-6.3.0.tar.gz | |
cd gcc-6.3.0 | |
./contrib/download_prerequisites | |
cd .. | |
mkdir objdir | |
cd objdir | |
$PWD/../gcc-6.3.0/configure --prefix=$HOME/gcc-6.3.0 --enable-languages=c,c++ --disable-multilib | |
make | |
make install |
npm config set init-author-name="Jaeyoung Chun" | |
npm config set init-author-email="[email protected]" |
#!/usr/bin/env python2 | |
# -*- coding: utf-8 -*- | |
# tree.py | |
# | |
# Written by Doug Dahms | |
# | |
# Prints the tree structure for the path specified on the command line | |
from os import listdir, sep |
rsync -avz -e "ssh -p $portNumber" user@remoteip:/path/to/files/ /local/path/ |
sudo docker inspect bwa | python -c "import json; import sys; j=json.loads(sys.stdin.read()); print j[0]['Config']['Labels']" |
echo "hello" | python -c "import sys; sys.stdout.write( sys.stdin.read() )" |