Group commands on the same line with ()

$ (date; uname; cal)
Tue Jan 16 17:05:40 CST 2001
Linux
    January 2001
Su Mo Tu We Th Fr Sa
    1  2  3  4  5  6
 7  8  9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
                        
$ (date; uname; cal) > group.txt
$ cat group.txt
Tue Jan 16 17:06:03 CST 2001
Linux
    January 2001
Su Mo Tu We Th Fr Sa
    1  2  3  4  5  6
 7  8  9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
                        
$ date; uname; cal > group.txt
Tue Jan 16 17:06:48 CST 2001
Linux               
$ cat group.txt
    January 2001
Su Mo Tu We Th Fr Sa
    1  2  3  4  5  6
 7  8  9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
                        
$ 
Save this page to any social bookmarking site! Share · Search · Market · Directory
2015-11-01 · John December · Contact · Terms of Use © December Communications, Inc.