Posts tagged “linux”

TIL you can convert OpenDocuments into txts and pdfs with unoconv.

April 28, 2022

TIL you can convert OpenDocuments into txts and pdfs with unoconv.

unoconv -f pdf *.odt
unoconv -f txt *.odt



TIL you can use multiple ssh private keys in one client.

April 7, 2022

TIL you can use multiple ssh private keys in one client.

# credit: https://stackoverflow.com/a/2419609
Host myshortname realname.example.com
    HostName realname.example.com
    IdentityFile ~/.ssh/realname_rsa # private key for realname
    User remoteusername

Host myother realname2.example.org
    HostName realname2.example.org
    IdentityFile ~/.ssh/realname2_rsa  # different private key for realname2
    User remoteusername



TIL you can find a file recursively in Linux with the following command:

December 15, 2021

TIL you can find a file recursively in Linux with the following command:


find . -name "*foo"

Here’s the Stack Overflow comment I got this from.




TIL you can switch back to the previous branch by running git switch -.

November 29, 2021

TIL you can switch back to the previous branch by running git switch -.




TIL you can navigate to the previous directory with cd -.

November 29, 2021

TIL you can navigate to the previous directory with cd -.