dt.iki.fi

8 posts are tagged "shell"

Translate Text via Command Line through Tor

I sometimes use a shortcut to quickly translate snippets of highlighted text, via google translate. I hate to admit it, but it does this best. It auto-detects the input language and defaults to english for output, which is what I need in most cases. There's a few applications for translating text sn...

How to provide information about peripherals with dmesg

You want to see how your Linux system reacts to a certain peripheral being plugged in (smartphone, monitor, USB stick etc.). dmesg can provide that information, but one needs to separate that from previous messages. Here's how: Make sure the device in question is unplugged. Open a terminal, maximis...

Migrating Git Repos

I feel the need to migrate all my github stuff to somewhere else. Because Microsoft is buying Github. Gitlab does not seem to be that much different. In the end, I chose two providers: framagit.org and notabug.org - just to be on the safe side. The migration itself happened via web interface and isn...

Shell Scripting For Speed

Inspired by a forum thread Make a choice of which shell you use, that's the "#/bin/..." at the top: dash: very small & fast but limited. you will have to use more external commands to accomplish things. bash: bulkier, takes longer to load, maybe slightly slower, but: you can accompl...