08-04-2013
look at the discussion of "-W" option in man -S 8 net
This User Gave Thanks to Just Ice For This Post:
5 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hi,
I need to backup files on our Solaris machines onto a windows machine. I have Samba installed. Is it possible to backup these files on Solaris/Linux machines onto a Windows machine.
Thanks
Aravind (1 Reply)
Discussion started by: aravind_mg
1 Replies
2. Linux
Please please tell me why/how you do it!!! I couldn't!
Does anyone in here do it? If so... wwwwhhhhyyyyy? :) (2 Replies)
Discussion started by: TonyChapman
2 Replies
3. UNIX for Dummies Questions & Answers
I am new to the Unix/Linux environment, can someone give me a idea of what the differences is between all of the Linux systems. Example, Redhat, Suse etc..
Thanks
MF (2 Replies)
Discussion started by: MFARMER
2 Replies
4. UNIX for Dummies Questions & Answers
Hello!
I have seen similar questions asked about how to become a system administrator. Most would say experience is more important than just getting a certificate and even a degree. However, I haven't found a good information how to build experience from a newbie to entry-level systems... (8 Replies)
Discussion started by: sideburn
8 Replies
5. UNIX for Dummies Questions & Answers
Hi
I have to move files between file systems but files in new file system must have the same attributes as in old one (privileges, time stamp etc).
Which tool is best :
- ufsdump / ufsrestore
- tar
- cpio
- pax
- dd
- mv
Or maybe there is sth else, you suggest to use.
Thx for help (5 Replies)
Discussion started by: presul
5 Replies
mv(1) General Commands Manual mv(1)
Name
mv - move or rename files
Syntax
mv [-i] [-f] [-] file1 file2
mv [-i] [-f] [-] file... directory
Description
The command moves (changes the name of) file1 to file2.
If file2 already exists, it is removed before file1 is moved. If file2 has a mode which forbids writing, prints the mode and reads the
standard input to obtain a line. If the line begins with y, the move takes place. If it does not, exits. For further information, see
In the second form, one or more files (plain files or directories) are moved to the directory with their original file-names.
The command refuses to move a file onto itself.
Options
- Interprets all following arguments as file names to allow file names starting with a minus.
-f Force. This option overrides any mode restrictions or the -i switch.
-i Interactive mode. If a move is to supersede an existing file, the system prompts youw with the name of the file fol-
lowed by a question mark. If you type a string that begins with y, the move occurs. If you type any other response,
the move does not occur.
Restrictions
If file1 and file2 lie on different file systems, must copy the file and delete the original. In this case the owner name becomes that of
the copying process and any linking relationship with other files is lost.
See Also
cp(1), ln(1)
mv(1)