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

in linux •  5 years ago  (edited)

HISTORY

Building a Linux habitat
Published with SteemPeak
home previous

ScreenshotScreenshot by Willi Glenz

UPDATE
history     $ history search --contains 'vim'                           // fish
scp         $ scp file.txt [email protected]:/home/pi/
scp         $ scp [email protected]:/home/pi/file.txt .
system      # cat /proc/ioports | less                                  // ioports
system      $ clear; lspci; echo; lspci -t; echo                        // pci
system      $ clear; lsusb; echo; lsusb -t; echo                        // usb
system      $ watch -d cat /proc/interrupts                             // interrupts


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 file.txt [email protected]:/home/pi/
scp         $ scp [email protected]:/home/pi/file.txt .
system      # cat /proc/ioports | less                                  // ioports
system      $ clear; lspci; echo; lspci -t; echo                        // pci
system      $ clear; lsusb; echo; lsusb -t; echo                        // usb
system      $ watch -d cat /proc/interrupts                             // interrupts
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:  

Congratulations @wglenz! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You published a post every day of the week

You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Do not miss the last post from @steemitboard:

SteemFest Meet The Stemians Contest - The mysterious rule revealed

You can upvote this notification to help all Steem users. Learn how here!