10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a script on a Linux box which scp the files to windows server without any issues. but there are time frames where the windows server will not be available due to maintenance. hence I need to check if the remote location is available before running the scp command.
scp... (3 Replies)
Discussion started by: gpk_newbie
3 Replies
2. Shell Programming and Scripting
Hello Team,
Is there any Linux command / script available so that, I could create a simple 0 byte file in destination server by issuing the command from source server.
If yes, Could you please let me know the possible solutions.
in other words I just want to create a touch file in my home... (1 Reply)
Discussion started by: madhuraju
1 Replies
3. UNIX for Dummies Questions & Answers
Hi Guys,
Can any one help me on this.
I need help to move .csv/.xls file from unix path to windows shared drive or c:\ drive?
Regards,
LKR (1 Reply)
Discussion started by: lakshmanraok117
1 Replies
4. Red Hat
I ran the following command.
cat abc.c > abc.c
I got message the following message from command cat:
cat: abc.c : input file is same as the output file
How the command came to know of the destination file name as the command is sending output to standard file. (3 Replies)
Discussion started by: ravisingh
3 Replies
5. Shell Programming and Scripting
I am writing a shell script (runs on HP Unix) which copies files from a source directory to another destination daily. The destination directory always have the files with same name as in the source directory. And daily a new file will be created in the source.
cp command works fine if the file... (1 Reply)
Discussion started by: arunkumar_ms
1 Replies
6. UNIX Desktop Questions & Answers
Hi All,
I have the below code where Iam connecting from xzur111pap server to xzur0211pap server thru ssh to execute some commands.
ssh xzur0211pap
spaceleft=`df -k /home |tail -1 | awk '{print $5}'`
spaceleft=${spaceleft%\%}
if ]; then
echo "ALERT : HUFS(/home $spaceleft)"
exit 0... (3 Replies)
Discussion started by: gaddamja
3 Replies
7. UNIX for Advanced & Expert Users
I want to use this command to tar to tape:
tar cf - DIR | compress > `hostname`_`date +%m-%d-%y`.DIR.tar.Z
this of course goes to the FS.
How do I modify this to go directly to tape?
My tape device is /dev/rmt/0
thanks.
Having so many posts you should be familiar using code tags.... (7 Replies)
Discussion started by: djehresmann
7 Replies
8. IP Networking
Hi All,
I want to ping 1500 bytes of data from a pc to another pc in the network. What is command used for the same?
Thanks (2 Replies)
Discussion started by: rvan
2 Replies
9. Solaris
Hi,
we are running solaris 9 on V280R. Due to power failure, one disk's label and lost its details like drive type etc.
Disk details:
<SUN72G cyl 14087 alt 2 hd 24 sec 424>
single partition on slice 6 with UFS.
The below i see when i run "format" command
.....
.....
4.... (1 Reply)
Discussion started by: prvnrk
1 Replies
10. Solaris
Hi,
We have some IBM LTO tape drives connect over SAN.
I have the following questions :-
1) Command that can list the tape drive details like who is manufacturer, model number, make etc etc
2) I would like to know what are the key differences between IBM LTO Generation 1 and Generation... (5 Replies)
Discussion started by: new2prog
5 Replies