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

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
avatar
jamied_uk
Admin

Posts : 2348
Join date : 2010-05-09
Age : 35
Location : UK

http://address-shortner.co.uk

Back to top Go down

Back to top

- Similar topics

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