sudo yum install fuse-encfs
encfs ~/encryptdir/ ~/decryptdir/
touch ~/decryptdir/test_file.txt
Unmounting encrypted directory:
fusermount -u ~/decryptdir
Mounting encrypted directory:
encfs ~/encryptdir/ ~/decryptdir/
sudo yum install fuse-encfs
encfs ~/encryptdir/ ~/decryptdir/
touch ~/decryptdir/test_file.txt
Unmounting encrypted directory:
fusermount -u ~/decryptdir
Mounting encrypted directory:
encfs ~/encryptdir/ ~/decryptdir/
If you have such error: Line mismatch: 1d
exim -bp | grep "h" | awk '{print $3}' | xargs exim -Mrm
or just simple:
exim -bp | awk '{print $3}' | xargs exim -Mrm
docker exec -it [container-id] bash
If you get something like this, also: error: command ‘gcc’ failed with exit status 1
yum install python-devel
screen -wipe
1 socket wiped out.
1 Socket in /var/run/screen/S-root
:nmap
nnoremap th :tabfirst
nnoremap tj :tabnext
nnoremap tk :tabprev
nnoremap tl :tablast
nnoremap tt :tabedit
nnoremap tn :tabnext
nnoremap tm :tabm
nnoremap td :tabclose
Also can use cabbrev.
:tabnew
nnoremap th :tabmew
vim ~/.vimrc
autocmd BufRead *.py setlocal colorcolumn=0
also:
let g:pymode_options_colorcolumn = 0
to change color:
ColorColumn ctermbg=8
:set paste
pip install pep8
pip install –upgrade pep8
pip uninstall pep8
ngrep -qp 'GET|POST' port 80
ngrep -W byline port 80
ngrep -d any port 25
ngrep -wi -d any 'user|pass' port 21
ngrep -O /tmp/dns.dump -d any -T port domain
ngrep -tD ns3 -I /tmp/dns.dump
mount -t nfs -o remount /mnt/nfs
umount /mnt/nfs
umount -f /mnt/nfs
umount -l /mnt/nfs
umount -lf /mnt/nfs
echo your_hostname > /etc/hostname
hostname your_hostname
service httpd restart
cat access.* | awk '{ print $1 } ' | sort | uniq -c | sed -r 's/^[ \t]*([0-9]+) (.*)$/\1 --- \2/' | sort -rn