Beruflich Dokumente
Kultur Dokumente
$ source ~/.bashrc
GREP
Options worth knowing
-v reverse match
-i case insensitive
-r recursive (search
all files in directory)
# file *
bam_aux.o:
bam_import.o:
bam_index.o:
bam_lpileup.o:
bam_md.o:
bam.o:
bam_pileup.o:
bam_reheader.o:
bam_sort.o:
ELF
ELF
ELF
ELF
ELF
ELF
ELF
ELF
ELF
64-bit
64-bit
64-bit
64-bit
64-bit
64-bit
64-bit
64-bit
64-bit
LSB
LSB
LSB
LSB
LSB
LSB
LSB
LSB
LSB
relocatable,
relocatable,
relocatable,
relocatable,
relocatable,
relocatable,
relocatable,
relocatable,
relocatable,
x86-64,
x86-64,
x86-64,
x86-64,
x86-64,
x86-64,
x86-64,
x86-64,
x86-64,
version
version
version
version
version
version
version
version
version
1
1
1
1
1
1
1
1
1
(SYSV),
(SYSV),
(SYSV),
(SYSV),
(SYSV),
(SYSV),
(SYSV),
(SYSV),
(SYSV),
not
not
not
not
not
not
not
not
not
stripped
stripped
stripped
stripped
stripped
stripped
stripped
stripped
stripped
-h is for Human
The following utilities offer the -h flag to output (or
accept input) in human readable format.
df
du
$ du -h $HOME | sort -h
ls
$ ls -lh
sort
$ mkdir a
$ touch a/test.txt
$ ln -s a b
$ ln -s a c
$ rm -ir b
$ rm -ir c/
$ which ssh
/usr/bin/ssh
$ rpm -qf /usr/bin/ssh
openssh-clients-5.3p1-84.1.el6.x86_64
$ rpm -qd openssh-clients
/usr/share/man/man1/scp.1.gz
/usr/share/man/man1/sftp.1.gz
/usr/share/man/man1/slogin.1.gz
/usr/share/man/man1/ssh-add.1.gz
/usr/share/man/man1/ssh-agent.1.gz
/usr/share/man/man1/ssh-copy-id.1.gz
/usr/share/man/man1/ssh-keyscan.1.gz
/usr/share/man/man1/ssh.1.gz
/usr/share/man/man5/ssh_config.5.gz
$ man ssh_config
...
SSH Faster
Using rsync?
SSH Faster
Using rsync?
SSH Keys
ssh-keygen -t rsa
SSH Options
HashKnownHosts yes
Host *.rice.edu
# Wildcard host stanza
User myNetID
# Avoids -l or myNetID@
ForwardX11Trusted yes # automatically include -Y