mv command Solaris 10


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers mv command Solaris 10
# 1  
Old 09-15-2006
Error mv command Solaris 10

Hi,
does any one know what happens if you issue command mv file*
and forget to write down the target directory? I lost with this command many files, if any one can tell me where to look for them I'll appreciate a lot.
# 2  
Old 09-15-2006
The glob pattern is expanded and the last entry becomes the target.

Code:
$ ls
file1    file2    file3    file4 

$ echo *
file4 file2 file1 file3

$ mv *

$ ls
file3

# 3  
Old 09-18-2006
Thanks, reborg. It worked, I found files.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

axel command in solaris

HI guys, I am using axel command in soalris environment. but it is not returning any output when i gave below command #/usr/local/bin/axel -a -n 10 ftp:<ip>/directory/path Initializing download: ftp:<ip>/directory/path what can i do to know whether this is running or not (background) ... (1 Reply)
Discussion started by: nareshkumar1
1 Replies

2. Solaris

Command in solaris

Need commands for following, At any give time Peak CPU average CPU Free memory paging swap % If any one can help in linux also, it would be fine. thanks Gopalan V (2 Replies)
Discussion started by: ilugopal
2 Replies

3. Solaris

what is the command to see the java version in solaris 8 and solaris 10

what is the command to see the java version in solaris 8 and solaris 10 (1 Reply)
Discussion started by: tv.praveenkumar
1 Replies

4. Shell Programming and Scripting

Solaris command needed.......

Hi can anyone tell me what command should i use to find the files which have been created within 24hrs in / . I tried with this find mtime 24 / But its not working. Pls let me know to solve the issue. (3 Replies)
Discussion started by: vinuvinod
3 Replies

5. Solaris

Solaris Top Command

hi all anyone can help me to enable top command on solaris 9 version Regards (9 Replies)
Discussion started by: maooah
9 Replies

6. Solaris

Solaris Command

Hi, I want to know is it possible to know the time of command user has executed ? (2 Replies)
Discussion started by: manoj.solaris
2 Replies

7. UNIX for Dummies Questions & Answers

Solaris 8 to Solaris 10 "metatool command"

We have had a third party upgrade a solaris 8 server to solaris 10. On solaris 8 I used a command called metatool so I could get a gui view of the disk layouts. What the command under Solaris 10? Does it work in the same way as metatool? Thanks Mark (1 Reply)
Discussion started by: miredale
1 Replies

8. Solaris

Command history in Solaris

Can someone tell me what I can do to maintain a single history file ? As it is it creates a new file for each session. >ls -a .sh_* .sh_history.10106 .sh_history.15240 .sh_history.21635 .sh_history.4291 .sh_history.11311 .sh_history.16593 .sh_history.23709 .sh_history.4661... (3 Replies)
Discussion started by: jxh461
3 Replies

9. UNIX for Dummies Questions & Answers

df command on Linux and Solaris

Hello all, Does anyone know how to fix this? My directory is mounted from a Soalris Server and both Solaris and Linux Client are mountting my directory. But when I use df and awk together the reset are different on the platform. under Solaris clinet I get whant I want: df -k... (1 Reply)
Discussion started by: larry
1 Replies

10. UNIX for Dummies Questions & Answers

Nohup command on Solaris

Hi, I have a general question on using the "nohup" command. As far as I've got it, submmitting a job with no hang up specified, should result in the job running until completion, regardless of whether the session that submitted the job(parent) is still active. This is very helpful when doing... (1 Reply)
Discussion started by: errolg
1 Replies
Login or Register to Ask a Question