5
votes
3answers
526 views

Brace expansion : run several commands instead of expanding on one line?

When you use brace expansion in bash, something like echo {a,b,c} becomes echo a b c Is there a way to expand it to 3 separate commands, one for each expansion, instead? So that: echo {a,b,c} ...
33
votes
2answers
6k views

how to expand aliases inline in bash?

Is there a way to expand aliases inline in bash? $bash>alias ll='ls -l ' $bash>ll<tab> $bash>ls -l
1
vote
1answer
2k views

What is really happening with bash backticks?

I've always thought of backticks in bash as "execute the output of 'some_command'." What is happening in the following... consider a script myscript.pl that prints the following text: export ...
8
votes
2answers
472 views

Can I keep . and .. out of .* expansion?

I often find it annoying (or worse) when I type command .* in bash and the command applies to the parent directory and current directory. Is there some shell option or other configuration I can ...