The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > Linux
.
google unix.com



Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to create a logfile in unix after insert/update/delete from informix subhamukh UNIX and Linux Applications 0 11-07-2007 06:01 AM
Monitor CPU usage and Memory Usage Gajanad Bihani High Level Programming 2 03-09-2005 07:35 AM
How do I create desktop icons for the shell programs I create??? TRUEST UNIX Desktop for Dummies Questions & Answers 7 05-15-2002 12:40 PM
How to store username dinplant Shell Programming and Scripting 3 11-13-2001 09:34 PM
How do I Create a New Username kimjones142001 UNIX for Dummies Questions & Answers 7 09-11-2001 05:17 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-10-2006
zp523444 zp523444 is offline
Registered User
  
 

Join Date: Nov 2005
Posts: 41
tar usage and delete/create username

dear Linux expert,
I am using Fedora R5

how to use tar to archive /var to a test_var.tar and compressing it?
how to delete a user? just remove the line in /etc/passwd?
and then what is the procedure to create a new user ?

many thank
  #2 (permalink)  
Old 12-11-2006
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,323
become root :
1. tar cf test_var.tar /var
2. userdel
3. useradd
  #3 (permalink)  
Old 12-11-2006
DeepakS's Avatar
DeepakS DeepakS is offline
Registered User
  
 

Join Date: Aug 2006
Posts: 74
1a. tar cjf test_var.tar /var
1b. tar czf test_var.tar /var

For bzip2 or gzip compression respectively.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:18 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0