[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –
Linux Tutorial for Beginners – 7 – Saving Results to a File
by
Tags:
Comments
13 responses to “Linux Tutorial for Beginners – 7 – Saving Results to a File”
-
Oh man, your Linux Tutorial is really awesome. Really easy to understand, even for non native English speaker like me. Thanks.
-
summary:> overwrite,>>append
-
Had to like… Couldn't stand seeing the likecount being 299 😉
-
Does this have any actual practical uses?
-
when the command ls is typed, it showed five results. But on the desktop there are two files. And also in the result it is written "Corn~" "Corn~" "Story~", what this mean?
-
Is there a way to do this but including the previous output already displayed in terminal instead of only the output starting with where you first put in "tee"? Thanks.
-
Is there a way to do this but create the file in another directory?
For instance if I wanted to get ls for /etc/ but save it on my desktop I assumed I'd use the following command:
ls > (filename) /home/user/Desktop
The terminal doesn't return an error with that command, but it also doesn't create the file in a new directory.
Any suggestions?
-
Finding these video's is like finding a pot of gold. Thank you so much!
-
Thaks!
-
this. is. awesome. thank you for making these tutorials for beginners like me
-
What ~ stands for?
-
Another way to do this is to use the 'tee' command. Instead of just redirecting the output of a command to a file, 'tee' also outputs to STDOUT. This comes in handy if you want to keep an eye on something while logging the output. You simply have to pipe the output to 'tee' :
'pwd > bacon' –> 'pwd | tee bacon'
'pwd >> bacon' –> 'pwd | tee -a bacon' -
Nice tutorial. thanks.
Leave a Reply