Great question — answering as the UphillTech team:
As Web-E explains the most direct way to do what you want with two different commands, I thought I'd show that there are a number of ways to execute multiple commands or to continue commands onto another line without immediately executing them. Continuing long commands: 1) The most common way to construct one long command is to enter your commands, then use a backslash \ , press return, and then Bash will provide another prompt for you instead of executing the command. This secondary prompt is called PS2 and waits for your input: find /home/mike/Downloads -type f -iname '*.jpg' \ > You can keep on adding backslashes and pressing return as long as you want, as long as you think the overall...
Full answer by user76204: https://askubuntu.stackexchange.com/a/226219 (CC BY-SA 3.0).
Need it done for your business? UphillTech.