Skip to main content

All Questions

Tagged with
0 votes
2 answers
397 views

Finding duplicate aliases and functions in a script (.bashrc etc)

This site says that functions are faster than aliases, but he rightly points out that aliases are easier to understand - when you want something very simple and do not need to consider passing ...
YorSubs's user avatar
  • 641
4 votes
1 answer
642 views

grom() keyword in bash throws unexpected '(' token

I'm not entirely sure why I'm getting the error in my .bash_profile syntax error near unexpected token `(' when I use the keyword grom() for my function. I wanted to create a bash function that will ...
aug's user avatar
  • 193
4 votes
1 answer
7k views

How do I define alias with variables which can be changed at runtime?

This is probably a very easy to answer question, but I could not find any questions already asking this due to different wording when writing titles. Running help alias on my bash prompt returns only ...
DisplayName's user avatar
  • 11.8k