Thread
:
Command line: Two commands on one line?
View Single Post
Estel
2012-05-11 , 02:59
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#
2
its &&
so:
command1 && command2
But, shell scripts doesn't bite, and sometimes && may not work for You - i.e. in cases, where finishing command1 is required for command2 to function properly. Of course, You may do some command1 && wait 2 && command2, but it's starting to look like too much hassle/ugly code.
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover
MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1
|
ereswap
|
bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
Quote & Reply
|
The Following 3 Users Say Thank You to Estel For This Useful Post:
mosiomm
,
rotoflex
,
Sourav.dubey
Estel
View Public Profile
Send a private message to Estel
Find all posts by Estel