Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #236360
| From | steve <dlist@bluewin.ch> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: What command to use to output to a text file? |
| Date | 2021-06-23 15:10 +0200 |
| Message-ID | <CtaNI-6Mu-7@gated-at.bofh.it> (permalink) |
| References | <CtakG-6nm-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi, >How can I get a text file saved from an output of everything on the >drive, please? What commands do I need to use and what would be the >syntax of it/them please? Not sure I understand perfectly, but for example with ls -l > my_text_file.txt you will get the output of 'ls -l' in the file my_text_file.txt The '>' does the trick. If you want to append some text to an already existing file, use '>>'. Hope that helps. Best Steve
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread
What command to use to output to a text file? Sharon Kimble <boudiccas@skimble.plus.com> - 2021-06-23 14:40 +0200
Re: What command to use to output to a text file? Andrei POPESCU <andreimpopescu@gmail.com> - 2021-06-23 15:10 +0200
Re: What command to use to output to a text file? Jude DaShiell <jdashiel@panix.com> - 2021-06-23 16:50 +0200
Re: What command to use to output to a text file? Sharon Kimble <boudiccas@skimble.plus.com> - 2021-06-23 16:50 +0200
Re: What command to use to output to a text file? steve <dlist@bluewin.ch> - 2021-06-23 15:10 +0200
csiph-web