I need to run a command ls
and cal
in single line
But i need to write it without using &
and ;
symbols...
Is there any way to write it?
I need to run a command ls
and cal
in single line
But i need to write it without using &
and ;
symbols...
Is there any way to write it?
You could use backticks and echo
echo `ls` "`cal`"
The double quotes keep echo from destroying the whitespace in cal
s output.
I guess |
will help you. To read the listing of a directory with many files, page-by-page, I did ls | more