This is a growing list of Linux commands which might come handy for the of Linux users. 1. Found out i had to set the date like this: # date -s 2007.04.08-22:46+0000 2. Mounting sudo mount -t cifs // < pingable_host_or_ip > / < win_share_name > /build -o user= ,domain= ,uid=string,gid=string 3. To install linux packages from internet (ubuntu only) apt-get install 4. To determine what ports the machine is currently listening on netstat -an | grep -i listen | less 5. Find in files in Linux find . | xargs grep 'string' -sl Find file names with a pattern & delete them find . -name "IMG_*(1).JPG" -delete 6. To become superuser/root sudo -i 7. To find a running process using name ps -aef | grep "searchstring" 8. Alt + F2 opens run window in RHEL 9. To access windows share from linux smb:// /d$ 10. To know the last reboot date & time $ last reboot | head -1 ...
Termius on Mac uses standard macOS shortcuts along with some specific commands for its unique features like the Command Palette and split view . General Actions Action Shortcut Command Palette (access tabs/hosts) Command-K Jump between tabs Command-J New connection/tab Command-T Open local terminal Command-L Open side panel (snippets/history) Command-S Split window into two panes Command-D Close split pane Shift-Command-D Close tab Command-W Terminal Navigation & Text Editing (Standard Unix/Mac) These shortcuts are standard for most command-line interfaces on macOS and work in Termius: Go to beginning of line : Control-A Go to end of line : Control-E Delete from cursor to beginning of line : Control-U Delete from cursor to end of line : Control-K Navigate by word : Option-Left Arrow or Option-Right Arrow Reverse search command history : Control-R Autocomplete directory/file name : Tab...