In this video we'll cover multiple tips to increase your efficiency and productivity when working with the Linux terminal.
#linux #commandprompt #terminal #productivity
https://itvraag.nl
Timestamp:
0:00 Intro
0:17 covering basics
1:00 which shell
1:31 cd
1:52 aliases
2:09 combine commands
2:23 history
2:52 quickly move cursor
3:09 clear line / screen
3:35 previous command / !! (bang bang)
3:52 head/tail
4:53 cat/less
5:15 cat syntax coloring / pymentize
5:34 less syntax coloring / source-highlight
5:51 previous argument / !$ (bang dollar)
6:38 confirm multiple commands or script
7:07 echo redirect content to file
7:35 watch / monitor command output
8:10 record command line session with script
8:41 exit out of session / shell
Related video:
Vagrant in Windows 11 with Hyper-V: • Vagrant #6 - In Windows 11 with Hyper-V
APT package manager: • Bash #6 - Package manager APT (Debian...
Windows 11 Terminal PRO tips: • Maximize productivity in Windows 11 T...
oh-my-zsh: • Make your Linux CLI look like a PRO w...
MacOS terminal PRO tips: • Mac OS Terminal Tips with iTerm2
Bash #10 - Chain commands: • Bash #10 - Combining commands (skip w...
Bash #9 - Fish: • Bash #9 - Fish shell on WSL2/Ubuntu
Bash #6 - APT package manager: • Bash #6 - Package manager APT (Debian...
Bash #4 - variables: • Bash #4 - working with variables (wit...
Bash #3 - script files: • Bash #3 - Script files (with challenge)
Bash #2 - help, touch, echo & aliases: • Bash #2 - Help, touch, echo & aliases
Bash #1 - basic concepts: • Bash #1 - Basic concepts and requirem...
Used commands:
echo $SHELL
sudo apt install zsh
sudo apt install fish
zsh
fish
bash
cat /etc/shells
chsh -s path
sudo reboot
cd dir
cd
cd ~
cd -
sudo apt update; sudo apt upgrade -y
history
history | grep ls
cd /var/log
ls -lt | head
ls -lt | tail
head syslog
tail syslog
ls -lt | head -3
ls -lt | tail -3
cat syslog
less syslog
ls -lt | less
sudo apt install python3-pygments
add to .bashrc
alias cat='pygmentize -f terminal256 -O style=native -g'
sudo apt install source-highlight
add to .bashrc
export LESSOPEN="| /usr/share/source-highlight/src-hilite-lesspipe.sh %s"
export LESS=' -R'
mkdir -p /home/vagrant/long/path/you/dont/want/to/retype
cd !$
touch script_file
cat !$
chmod +x alt+.
vim alt+.
yes | sudo apt install tree
no | sudo apt install tree
watch tail syslog
script file01
sudo apt update
exit
cat file01
Aliases:
alias ls='ls -G --color'
alias l="ls -lAh"
alias ll='ls -alt'
alias lh='ls -lt | head'
alias lt='ls -lt'
alias h="history 20"
alias hg="history 20 | grep -i"
alias c="clear;ls;pwd"
alias reload="source ~/.bashrc ; echo Bash config reloaded"
alias ..="cd .."
alias ...="cd ../.."
alias ....="cd ../../.."
Смотрите видео Maximize productivity in Linux terminal! онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь itvraag 26 Февраль 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 401 раз и оно понравилось 16 людям.