Bash
Everyday command line: …
Welcome to the new (infinite) series “Everyday command line”, in which I’ll cover use cases where the command line still shines compared to your favorite file manager, IDE, editor, and the like :)
At times, I receive emails with lists of items that need to be modified using code. …
Type less, do more...
If you are dealing a lot with the terminal you probably use the cd
command very often. cd here
, cd there
, cd ..
, etc. What if I told you that you can avoid typing the cd
command completely? That can save you a lot of keystrokes which is good because it:
- Makes you more productive
- Helps you avoid RSI …
BASH: syntax error near …
After making some portability and readability improvements to shell-utils, I used BASH, sh, and dash to test it. While sh and dash were fine, BASH returned the error:
line 358: syntax error near unexpected token `('
line 358: `ls ()'
That is strange. BASH usually introduces shell portability issues …
line 358: syntax error near unexpected token `('
line 358: `ls ()'
That is strange. BASH usually introduces shell portability issues …
Why you should try Emacs …
Are you a GNU Bash user but you are not using Emacs? Perhaps you should consider trying it. You will be amazed by the similarities...
I know, your IDE (Eclipse, QT, etc.) is superior and you are extremely productive with it. Why bother using an ancient editor like Emacs? I will not begin another …
I know, your IDE (Eclipse, QT, etc.) is superior and you are extremely productive with it. Why bother using an ancient editor like Emacs? I will not begin another …