Skip to content
zelenko edited this page Feb 20, 2024 · 3 revisions

Mundane Commands

  • du -sh * - disk space usage per folder
  • grep --include=\*.txt -Rin . -e "searchterm" - search in files
  • ssh sample_user@10.0.0.1 'mv /var/www/public /var/www/public-2020-12-14'
  • scp -r /Users/sample_user/project/public sample_user@10.0.0.1:/var/www/public
  • sudo sshfs -o allow_other,ServerAliveInterval=15,auto_cache,reconnect,auto_unmount,IdentityFile=/home/user/.ssh/private.pem username@192.168.0.1:/d/ /mnt/local/ -p2080
Clone this wiki locally