Linux - theartusz/config GitHub Wiki
- clean terminal - equivalent to clean comand
ctrl + l
- delete entire line in terminal
ctrl + u
- delete world in terminal
ctrl + w
- move window to different monitor
shift + superKey + arrow
- open apps grid
superKey + a
- take partial screenshot
shift + prntScr
- record Ubuntu desktop
shift + strl + alt + r
- count lines
wc -l
- add new user with "bad name"
sudo adduser --force-badname <username>
- after command above add the user to sudo group
sudo adduser <username> sudo
- change user
sudo -u <user> -s
- locate the PID which is using specific port
sudo lsof -t -i:<port number>
t - show only PID, i - show only internet connections related process
- kill specific process
sudo kill -9 <PID>
9 - kill forcefully
- vertical split
ctrl + shift + e
- horizontal split
ctrl + shift + o
- close terminal
ctrl + shift + w
- move focus to tabs
alt + <arrow>