Results 1 to 4 of 4
Hi
in the following command what is f?
$ tar -cvf all.tar g b d
I checked the man, I didnt understand.
even when we extract we req f, i ...
- 01-11-2011 #1Just Joined!
- Join Date
- Jan 2011
- Posts
- 5
$ tar -cvf all.tar g b d . What is f?
Hi
in the following command what is f?
$ tar -cvf all.tar g b d
I checked the man, I didnt understand.
even when we extract we req f, i tried without it, it doesnt work.
Thanks..
- 01-12-2011 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,970
-cvf : c)reate archive with v)erbose output using the f)ile named all.tar and put the contents of local directories g, b, and d in that file.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 01-12-2011 #3
I believe it stems from its history. Tar = tape archive, originally. The -f flag tells tar it's reading from or writing to a file, not a tape device or whatever the default is these days. Your file name, all.tar, is the argument to the -f flag.
- 01-12-2011 #4Just Joined!
- Join Date
- Jan 2011
- Posts
- 5
Thanks Guys.


Reply With Quote