What is the one line equivelant of: 1. touch example.txt 2. open example.txt
I've tried a number of piping commands but I can't get it working.
只需在同一行的两个命令之间放置一个分号即可:
touch example.txt; open example.txt
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.