LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-16-2008, 12:12 AM   #1
hemanthv414
Member
 
Registered: Oct 2008
Posts: 37

Rep: Reputation: 15
tar -t -v -f /dev/fd0


what is the use of this command?
Is there a way i can reduce the number of key strokes to execute this command
 
Old 10-16-2008, 12:20 AM   #2
nigelc
Member
 
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 4
Posts: 344
Blog Entries: 4

Rep: Reputation: 63
Yes.
go "man tar"
this command will list the files on the floppy drive. "If it has written by tar"
a shorter way is tar tvf /dev/fd0
 
Old 10-16-2008, 12:31 AM   #3
cooljun618
LQ Newbie
 
Registered: Oct 2008
Location: china
Distribution: redhat
Posts: 4

Rep: Reputation: 0
Smile

Quote:
Originally Posted by nigelc View Post
Yes.
go "man tar"
this command will list the files on the floppy drive. "If it has written by tar"
a shorter way is tar tvf /dev/fd0
i think "tar tvf /dev/fd0" is put all files on the floppy into a package,if you want to know the usage ,please input "man tar "
 
Old 10-16-2008, 03:04 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,294

Rep: Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358Reputation: 2358
No, its to read the internal table list of all the files in the tar pkg (-t). -v is verbose, -f has to be last as it specifies the file to read.

so, in other words

tar -t (table of contents) -v (verbose) -f tar_file_to_read
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/dev/fd0 not mounting linetnew Linux - Newbie 3 05-24-2008 12:14 PM
/dev/fd0 error UltraSoul Solaris / OpenSolaris 1 01-03-2007 04:30 AM
lilo /dev/fd0 alaios Linux - Software 1 07-07-2004 07:17 AM
I have overwritten /dev/fd0! How do I recreate /dev/fd0 to access my floppy? drscott1 Linux - Newbie 2 02-19-2004 12:37 PM
Problem with /dev/fd0 sonenberk Linux - Hardware 0 09-29-2003 05:35 AM


All times are GMT -5. The time now is 05:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration