LINUXOPOLIS # 2019-11-03 ~ BASH-HISTORYsteemCreated with Sketch.

in linux •  5 years ago  (edited)

HISTORY

Building a Linux habitat
Published with SteemPeak
home

ScreenshotScreenshot by Willi Glenz

UPDATE
history     $ history search --contains 'vim'       // fish


BASH-HISTORY
alias       $ alias ea='vim ~/.bash_aliases && source ~/.bash_aliases'
cat         $ cat /dev/null > file.txt
cat         $ cat /etc/passwd | cut -d: -f7 | sort | uniq -c | sort -nr
cat         $ cat /etc/shells
cat         $ cat > text.txt <<HERE
curl        $ curl cheat.sh/:list | less
curl        $ curl wttr.in
echo        $ echo "It is now $(date +%T) on $(date +%A)"
efibootmgr  # efibootmgr
find        # find / -size +4G 2> /dev/null | vim -
find        # find / -uid 1000 -exec chown -v 1002:1002 {} \;
find        # find / -user userxyz -type f -exec rm -f {} \;
find        # find /home -user userxyz -mtime -3
find        # find /home -user userxyz -size +1G
find        # find ~/Documents -type f -name "*.py" -print | tee ~/python_files.txt
find        $ find -size +100M | less
find        $ find -size +1G | less
find        $ find . -name "*.jpg" -exec convert {} -scale 50% +repage {} \;
find        $ find /etc -type f -print 2> /dev/null | less
find        $ find /etc/*tab -type f -print
find        $ find ~ -maxdepth 1 -type f -exec grep "^alias " '{}' \; -print
find        $ find ~ -maxdepth 1 -type f -mtime 3
history     $ history search --contains 'vim'
ls          # ls /sys/firmware/efi
memtester   # memtester 7G
mkdir       # mkdir -p /mnt/ram; mount -t tmpfs tmpfs /mnt/ram -o size=8192M
mkdir       $ mkdir -p Backups/{Sales,Development,HR}/{Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec}/{Sun,Mon,Tue,Wed,Thu,Fri,Sat}
mkdir       $ mkdir -p dummy/{1..100}/{1..100}
mount       $ mount | column -t
mpg123      $ mpg123 -zvC /home/user/music/*
pip         $ sudo -H pip install --upgrade youtube-dl
printenv    $ printenv | awk '/^PATH|HOME|USER|SHELL/ {print $0}'
ranger      $ ranger ~/.local/share/Trash/
scp         $ scp -r folder/ [email protected]:~
scp         $ scp dummy.txt [email protected]:~
systemctl   # systemctl status|restart|start|stop|enable|disable
vim         $ vim $(fzf --height 40%)
vim         $ vim $(fzf -e --preview 'head -100 {}')
watch       # watch free -h
watch       $ watch -d -n 5 ls -l
watch       $ watch free -h
watch       $ watch mail
$ vim ~/.bash_history
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

This post had received 21.55% upvote from @steemitportugal account!
Our website has lots of news and tutorials you can visit right now at www.steemitportugal.com

Click here to vote
steemitportugal
Delegation for daily voting: 10SP-25SP-50SP-100SP-250SP-500SP-1000SP