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

View previous topic View next topic 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 : 2280
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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