Quote:
Originally Posted by rnicksy
using mkdir to create new file how do i add a cal command to get a calendar in the file all in one command without using pipes
|
Command
mkdir is not a file creation command but it creates a new empty directory. See:
In order to get calander in a file with file creation, as already said above, just do:
Code:
~$ cal [option] > filename
OR
~$ cat filename; cal [option] > filename