05-09-2008
7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have to write an script for..
CUST: 123 trans:
some contents
CUST: 1234 trans:
some contents
Now wat i have to do is this:
CUST:123 akash trans:
some contents
CUST:1234 akash1 trans:
I have been able to add... (3 Replies)
Discussion started by: akashag22
3 Replies
2. Solaris
Hi,
I am having a Solaris 5.9 server in which an audit trail script is running every day.It is doing nothing but taking the backup of three files given below
-rw-r--r-- 1 root root 1807 May 18 01:30 login_server1_17May2008
-rw-r--r-- 1 root root 0 May 18 01:30... (5 Replies)
Discussion started by: Renjesh
5 Replies
3. UNIX for Dummies Questions & Answers
awk -F^ '{ if (($1 != "X") && ($5 != "3")) || if (($1 != "S") && ($5 != "2")) print $0}' abc> xyz
The above command returns this error
awk: syntax error near line 1
awk: illegal statement near line 1
I am newbie to awk, Any awk intelligence involved in correcting this issue is highly... (2 Replies)
Discussion started by: karthickrn
2 Replies
4. Shell Programming and Scripting
Hello
Any Unix programm can help me to solve thsi issue:
I have 2 venn digrams please checke the attached file for pictures of venn diagram for eg red is A yellow is B and green is C..Please see attached file for Venn diagrams
In one .....
I have 3 data set A , B and C
Venn diagram... (0 Replies)
Discussion started by: manigrover
0 Replies
5. Shell Programming and Scripting
Disclaimer: I tried searching but wasn't able to get to the answer so please don't flame.
Scenario:
I have a root script that generates a file on box1 and then needs to scp it over to box2 using user1. Both boxes are running open-ssh.
root@locat-host# scp /tmp/file1 user1@box2:/tmp/file1
... (10 Replies)
Discussion started by: denissi
10 Replies
6. Programming
I have mistakenly removed /root/.cabal/ from my root directoty and when I tried to reinstall it I get this output:
faiz:~$ sudo cabal install pandoc --reinstall
Resolving dependencies...
In order, the following will be installed:
pandoc-1.14.0.4 (reinstall)
Warning: Note that reinstalls are... (3 Replies)
Discussion started by: faizlo
3 Replies
7. Shell Programming and Scripting
i have one function block in the beginning of my script and there are some commands inside that function which will perform some operations.
And i am invoking that function from my main script by passing some values. Sometimes it is hanging in the middle for some value.
For example:
For 1st... (3 Replies)
Discussion started by: thomasraj87
3 Replies
LEARN ABOUT DEBIAN
dtc-xen_migrate
dtc-xen_migrate(8) System Manager's Manual dtc-xen_migrate(8)
NAME
dtc-xen_migrate - migrate a VPS to another Xen server
SYNOPSIS
LOCAL_VPS_ID DESTINATION_HOSTNAME [ DEST_VPS_ID ]
DESCRIPTION
dtc-xen_migrate This shell script is a part of the dtc-xen package that is to be used by the dtc panel to manage a Xen VPS server. Note
that you need rsync in both the source and the destination dom0.
This script is used to move the content of a Xen virtual machine (VM) managed with dtc-xen to another Xen server of the same type. The VM
destination will first be prepared, then the local VM will be shut down, then it's content will be transfered over using rsync.
Note that this is NOT a live migration, and down time of approximatively the time needed for the rsync will occure.
PARAMETERS
LOCAL_VPS_ID The DTC-Xen id of the VM, from 00 to 99.
DESTINATION_HOSTNAME Destination Xen server hostname to migrate to.
DEST_VPS_ID Destination DTC-Xen id of the VM, from 00 to 99.
EXAMPLE
dtc-xen_migrate 19 alpha.example.com 21
This will migrate the content of xen19 on the local machine to the destination server alpha.example.com using xen21 as VM name.
SEE ALSO
dtc_reinstall_os(8), dtc_kill_vps_disk(8)
dtc-xen_migrate(8)