Linux Terminal Commands

These are some useful Linux Terminal Commands for productivity: Commands using ls etc. use to ls -ltr list files in reverse modification history order with details. `ls -ltr tail -n 5` `ls head -n 5` rename 's/original/new/' * To rename all filenames and directories containing “original” string to “new” string. To recursively do this in sub-directories, use **/*. See: here and here for dir in */; do mkdir -- "$dir"/{tmp1,foo,bar,qux}; done To create directories within sub-directories in one go!...

 May 9, 2021  •   1 min  •   188 words  •   Suyog Garg

How to use Git With Dropbox?

Problems I have encountered using Dropbox: Dropbox storage space available for use is really low, and is consumed relatively easily because of the .git folder. Dropbox real time sync has issues with git if multiple computers work on a project simultaneously. Although, it has been rare that I have encountere this. My current solution for this problem is as follows: Move the most space consuming .git folders outside of Dropbox. This way Dropbox won’t be syncing these large folders....

 April 2, 2025  •   2 min  •   413 words  •   Suyog Garg

Performing Mouse Clicks with only the Keyboard in iMac

iMac when used with bluetooth Apple keyboards and mouse has a faintly annoying problem of the inability to use the mouse if it doesn’t automatically gets connected to the system. A possible remedy and workaround for this is to use keyboard keys for mouse control. Press F8 (or F7 in the Macbook) key on the keyboard to enable switching the command palettes in the settings window. Use the Tab to scroll up and down in the command palette....

 April 1, 2025  •   1 min  •   97 words  •   Suyog Garg

Issues with Zotero and working them out!

A log of Zotero issues, I have encountered. Date: 2025/03/18 Issue: Zotero freezes, items don’t load and the application doesn’t respond. Reason: Possibly due to adding too many feeds and the syncing issue. Date: 2025/03/18 Issue: Zootmoov didn’t sync recent files. Solution: Select affected files, right click$ \rightarrow$ Move them to directory with Zootmoov

 March 18, 2025  •   1 min  •   54 words  •   Suyog Garg

Accessing Remote Computing Clusters using Open-SSH

General guidelines You basically have three entities you want to interlink and provide bidirectional access. Personal computer Remote computer Github or Gitlab a/c server A copy of all my ssh keys is stored in ~/Dropbox/ssh-access-keys/ Known issues If the internet connection is not stable, the connection may be terminated abruptly, with an error message like: Read from remote host ldas-pcdev12.ligo.caltech.edu: No route to host Connection to ldas-pcdev12.ligo.caltech.edu closed. client_loop: send disconnect: Broken pipe Accessing LIGO Data Grid (LDG) CIT Cluster To use ssh to push to github repo, you still have to provide in the username and password for your @git....

 March 18, 2025  •   1 min  •   155 words  •   Suyog Garg