Skip to content
Advertisement

How i can execute command in linux terminal without using space?

How i can execute command in linux terminal without using space?

example:

cat text.log -> cat${space_code}text.log

Advertisement

Answer

Brace expansion can help you to construct complex bash commands without the use of spaces:

$ {cat,text.log}
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement