Sponsored Content
Full Discussion: mv command Solaris 10
Top Forums UNIX for Dummies Questions & Answers mv command Solaris 10 Post 302089025 by reborg on Friday 15th of September 2006 07:33:02 PM
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

 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
scsi_status(9S) 					    Data Structures for Drivers 					   scsi_status(9S)

NAME
scsi_status - SCSI status structure SYNOPSIS
#include <sys/scsi/scsi.h> INTERFACE LEVEL
Solaris DDI specific (Solaris DDI) DESCRIPTION
The SCSI-2standard defines a status byte that is normally sent by the target to the initiator during the status phase at the completion of each command. STRUCTURE MEMBERS
uchar sts_scsi2 :1; /* SCSI-2 modifier bit */ uchar sts_is :1; /* intermediate status sent */ uchar sts_busy :1; /* device busy or reserved */ uchar sts_cm :1; /* condition met */ ucha sts_chk :1; /* check condition */ sts_chk indicates that a contingent allegiance condition has occurred. sts_cm is returned whenever the requested operation is satisfied sts_busy indicates that the target is busy. This status is returned whenever a target is unable to accept a command from an otherwise acceptable initiator (that is, no reservation conflicts). The recommended initiator recovery action is to issue the command again later. sts_is is returned for every successfully completed command in a series of linked commands (except the last command), unless the command is terminated with a check condition status, reservation conflict, or command terminated status. Note that host bus adapter drivers may not support linked commands (see scsi_ifsetcap(9F)). If sts_is and sts_busy are both set, then a reservation conflict has occurred. sts_scsi2 is the SCSI-2 modifier bit. If sts_scsi2 and sts_chk are both set, this indicates a command terminated status. If sts_scsi2 and sts_busy are both set, this indicates that the command queue in the target is full. For accessing the status as a byte, the following values are appropriate: STATUS_GOOD This status indicates that the target has successfully completed the command. STATUS_CHECK This status indicates that a contingent allegiance condition has occurred. STATUS_MET This status is returned when the requested operations are satisfied. STATUS_BUSY This status indicates that the target is busy. STATUS_INTERMEDIATE This status is returned for every successfully completed command in a series of linked commands. STATUS_SCSI2 This is the SCSI-2 modifier bit. STATUS_INTERMEDIATE_MET This status is a combination of STATUS_MET and STATUS_INTERMEDIATE. STATUS_RESERVATION_CONFLICT This status is a combination of STATUS_INTERMEDIATE and STATUS_BUSY, and it is returned whenever an initia- tor attempts to access a logical unit or an extent within a logical unit is reserved. STATUS_TERMINATED This status is a combination of STATUS_SCSI2 and STATUS_CHECK, and it is returned whenever the target ter- minates the current I/O process after receiving a terminate I/O process message. STATUS_QFULL This status is a combination of STATUS_SCSI2 and STATUS_BUSY, and it is returned when the command queue in the target is full. SEE ALSO
scsi_ifgetcap(9F), scsi_init_pkt(9F), scsi_extended_sense(9S), scsi_pkt(9S) Writing Device Drivers SunOS 5.10 30 Aug 1995 scsi_status(9S)
All times are GMT -4. The time now is 07:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy