For example, instead of typing all 5 commands in my terminal:
command 1
command 2
command 3
command 4
command 5
I just want to enter one command that runs all 5 commands above:
command everything
Is that possible? What would I need to edit in Ubuntu to do so?
If you’re running a bash shell, you can type
alias commandall='command1 ; command2 ; command3 ; command4; command5'Then
commandallwill run these commandsYou can put the alias in your
~/.bashrcfile and it will be there whenever you log in.