how to output from command line to an output file.txt file example

Go down

how to output from command line to an output file.txt file example Empty how to output from command line to an output file.txt file example

Post by jamied_uk on 26th May 2015, 16:45

how to output from command line to an output file.txt file example




Code:
ls my_files>command_output/dir.txt



Code:
cat command_output/dir.txt



to append instead of overwrite

Code:
ls my_files>>command_output/dir.txt
jamied_uk
jamied_uk
Admin

Posts : 2471
Join date : 2010-05-09
Age : 36
Location : UK

http://address-shortner.co.uk

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum