Sponsored Content
Full Discussion: I am stupid
Top Forums UNIX for Dummies Questions & Answers I am stupid Post 2898 by kapilv on Friday 8th of June 2001 03:13:01 PM
Old 06-08-2001
Tar

Hi
I also use the same command tar -cvf /dev/rmt/0 to backup files on the tape drive and use the command tar -tvf /dev/rmt/0 to list the contents of the tar file. It works fine and has never given me problems
Smilie
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Really New and probably stupid...

I am interested in installing a Unix operating system onto my PC. I was wondering which system would be the best for a total newbie and also how much knowledge of programming languages do I need to get decent results with a Unix system? I really am starting from scratch so please help all that you... (1 Reply)
Discussion started by: Dr_KillBlair
1 Replies

2. UNIX for Dummies Questions & Answers

Stupid Question?

I have a SparcStation 10 and it came with an external CD Rom Drive. I am trying to install Solaris 2.6 Server on this machine from the Cd Rom. At the OK> prompt I type "boot cdrom - browser" and I get an error: scsi device not found:error = -1 or something to that effect. Does anyone have any... (9 Replies)
Discussion started by: jskillet
9 Replies

3. UNIX for Dummies Questions & Answers

Stupid question...

Hello, I've always been around systems that ran windows in one version or another, so I'm familiar with what/when/where/drivers/etc for that. I want to build a unix box to use as a place to learn and become more familiar with unix. I would also like to eventually convert it to a server to... (6 Replies)
Discussion started by: Cortney
6 Replies

4. UNIX for Dummies Questions & Answers

Really Stupid

I Know this is a really stupid question but if you can please expalin me. I know how to compile a file in unix whith c++ but i dont know how to execute it. I was expectin something like in windows that there will be created a *.rpm file or somethin like that (like *.exe in windows) .... ... (2 Replies)
Discussion started by: user666
2 Replies

5. UNIX for Dummies Questions & Answers

stupid question!?

fedora core 2 xx8. 5xx version (not sure! not sure how to look it up either..(except on boot sorry!!)).. :( the linux version I started on last year was an old redhet 6.0 version with only text mode.. back then for some reason I knew I how to get rid of whole directories without a) going through... (6 Replies)
Discussion started by: moxxx68
6 Replies

6. UNIX for Dummies Questions & Answers

One stupid question

Has anybody come across the situation when after openning the cover of HP9000 the PC will not start. We checked everything but did not manage to find any solution to that. The PS seems to be functionning (at lease we can hear it clicking). Please help us solving the problem. Thanks to everybody. (2 Replies)
Discussion started by: Andrey Malishev
2 Replies

7. UNIX for Dummies Questions & Answers

Stupid question

Hi all, Please excuse my ignorance - I'm a Cisco kid and my knowledge of Unix is somewhat flaky!! Basically we're running MRTG on an HP-UX server and wondered what the "-" means in the following text within the crontab file - -* * * * * root /home/mrtg/fwdev01.sh I... (3 Replies)
Discussion started by: freakydancer
3 Replies

8. UNIX for Dummies Questions & Answers

Stupid question

I just began learning how to use Unix, so forgive my stupidity. I know this is answered somewhere but it's pretty specific and probably easily answered. When I use some commands (particularly recently, the grep command) my terminal seems to freeze up. It switches out of bash mode and into the... (2 Replies)
Discussion started by: ems5311
2 Replies

9. What is on Your Mind?

Just did something so stupid...

Firstly I'm learning shell scripting and I came across this example in Classic Shell Scripting dirpath=`eval echo '${'"$envvar"'}' 2>/dev/null | tr : ' ' ` And I immediately became perplexed as to how $envvar gets expanded in between the surrounding single quotes, until 20 minutes later i... (2 Replies)
Discussion started by: Riker1204
2 Replies
TAR(1)							      General Commands Manual							    TAR(1)

NAME
tar - tape archiver SYNOPSIS
tar [ key ] [ name ... ] DESCRIPTION
Tar saves and restores files on magtape. Its actions are controlled by the key argument. The key is a string of characters containing at most one function letter and possibly one or more function modifiers. Other arguments to the command are file or directory names specify- ing which files are to be dumped or restored. In all cases, appearance of a directory name refers to the files and (recursively) subdirec- tories of that directory. The function portion of the key is specified by one of the following letters: r The named files are written on the end of the tape. The c function implies this. x The named files are extracted from the tape. If the named file matches a directory whose contents had been written onto the tape, this directory is (recursively) extracted. The owner, modification time, and mode are restored (if possible). If no file argument is given, the entire content of the tape is extracted. Note that if multiple entries specifying the same file are on the tape, the last one overwrites all earlier. t The names of the specified files are listed each time they occur on the tape. If no file argument is given, all of the names on the tape are listed. u The named files are added to the tape if either they are not already there or have been modified since last put on the tape. c Create a new tape; writing begins on the beginning of the tape instead of after the last file. This command implies r. The following characters may be used in addition to the letter which selects the function desired. 0,...,7 This modifier selects the drive on which the tape is mounted. The default is 1. v Normally tar does its work silently. The v (verbose) option causes it to type the name of each file it treats preceded by the function letter. With the t function, v gives more information about the tape entries than just the name. w causes tar to print the action to be taken followed by file name, then wait for user confirmation. If a word beginning with `y' is given, the action is performed. Any other input means don't do it. f causes tar to use the next argument as the name of the archive instead of /dev/mt?. If the name of the file is `-', tar writes to standard output or reads from standard input, whichever is appropriate. Thus, tar can be used as the head or tail of a filter chain Tar can also be used to move hierarchies with the command cd fromdir; tar cf - . | (cd todir; tar xf -) b causes tar to use the next argument as the blocking factor for tape records. The default is 1, the maximum is 20. This option should only be used with raw magnetic tape archives (See f above). The block size is determined automatically when reading tapes (key letters `x' and `t'). l tells tar to complain if it cannot resolve all of the links to the files dumped. If this is not specified, no error messages are printed. m tells tar to not restore the modification times. The mod time will be the time of extraction. FILES
/dev/mt? /tmp/tar* DIAGNOSTICS
Complaints about bad key characters and tape read/write errors. Complaints if enough memory is not available to hold the link tables. BUGS
There is no way to ask for the n-th occurrence of a file. Tape errors are handled ungracefully. The u option can be slow. The b option should not be used with archives that are going to be updated. The current magtape driver cannot backspace raw magtape. If the archive is on a disk file the b option should not be used at all, as updating an archive stored in this manner can destroy it. The current limit on file name length is 100 characters. TAR(1)
All times are GMT -4. The time now is 11:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy