Command_Linux
- Find file path in Linux: find $PWD -type f | grep "details_table.html"
- Count number of files in given directory-name: find <directory-name> -type f | wc -l
- Clear Known_host file: >~/.ssh/known_hosts
- Copies file contents to your clipboard: $ pbcopy < ~/.ssh/id_ed1122.pub
- Paste file format: Esc + :set paste + enter + I then Paste
- id: dpkg -l
- Port Forward: ssh-keygen -R <IP>
- SSH Version: ssh -V
- Test Ssh Connection: ssh -T git@github.com
- Strict Checking: StrictHostKeyChecking=no
- RWE permission: chmod -R 777 ./
- OS Version: name -m
- Default permission: chmod 600 ~/.ssh/id_rsa
- Delete specific row: Twice d (press)
- Download file from server: scp -r sonu.mangal@10.11.12.14:/usr/share/mangal-app/srcCode /Users/sourceCode/Downloads/code
- Current Process: ps aux | grep java