📅  最后修改于: 2022-03-11 14:51:24.486000             🧑  作者: Mango
# cmd1 && cmd2
$ cd myfolder && ls # run ls only after cd to myfolder
$ cd myfolder; ls # no matter cd to myfolder successfully, run ls
$ cd myfolder || ls # if failed cd to myfolder, `ls` will run