07-17-2008
(Req)Shell script req
HI All
Im new to shell scripting...kindly plz help me...
I need a shell script for:
We have to take export of all db's on daily basis from all svr's and keep these export backups on diffrent server.
Plz help.
Regards
Gaurav
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi
I am looking out for a book which will help admins to fine tune kernel & know in & out of it.. (Linux or Solaris.)
Can anyone suggest me a gud book.
thanks
gokul. (3 Replies)
Discussion started by: gokulagiridaran
3 Replies
2. Solaris
Hi all,
I have worked on HP UNIX and now i have moved to SunSolaris which i never used to work.
I am more on programming side like shell and perl scripting.
So i want to know from you experts that i need to take care or changes which i code in sun solaris in compared to HP unix.
Suggestions... (1 Reply)
Discussion started by: ravi.sadani19
1 Replies
3. IP Networking
Does ARP Request packet Contains MAC Address of dest during broadcast?
I found It So...
When i captured ARP Req Pkts on ethereal...
Rgds
-Meti (1 Reply)
Discussion started by: ashokmeti
1 Replies
4. UNIX for Dummies Questions & Answers
Hi ,
I want to send mail in my script when i am not a super user.
Can some one help me on that ..
Regards,
Balamani (1 Reply)
Discussion started by: Balamani
1 Replies
5. Linux
Hello friends,
Assume that, I am trying to execute a "db2 connect" command from Linux shell prompt via a shell script called "sample"
sample
db2 connect to bas39
$sample
If the database is not present its should display a custom error message by catching the error message given by db2.... (1 Reply)
Discussion started by: frozensmilz
1 Replies
6. Shell Programming and Scripting
HI,
I'm using CentOS 5.1 x86_64, CPanel ..
a lot of my users used too much resource, i want to write a script to kill all of them.
Eg: LFD always notify me:
Time: Sun Apr 27 07:40:08 2008
Account: xxxx (my user)
Resource: Virtual Memory Size
Exceeded: 110 > 100 (MB)... (3 Replies)
Discussion started by: onisoc
3 Replies
7. Shell Programming and Scripting
HI all,
i have a line in a file it cantains
one;two_1_10;two_2_10;two_3_10;three~
now i need to get the output as
one;two_1_abc_10;two_2_abc_10;two_3_abc_10;three~ ( 1 should be replaced with 1_abc for two__10 , and one more thing the number of occurances of two_value_10 will be... (1 Reply)
Discussion started by: 2001.arun
1 Replies
8. Shell Programming and Scripting
My script needs user input within time period of 1 min or may be with within 30 sec.
Flow diagram:
if (user provides input within 1 min) then
script runs on the basis of user input
else
script runs on the basis of default input(hard coded in the script)
.Any help in this script is... (1 Reply)
Discussion started by: pvr_satya
1 Replies
9. Solaris
Hi Experts,
Can advise on this:
Global zone running on solaris 10, & the local zones on top running on solaris 9, but we need to patch the solaris 9 local zones & also the solaris 10 global zone.
Which should be patched first to avoid any crash in case, first local zones... (1 Reply)
Discussion started by: fizan
1 Replies
10. Shell Programming and Scripting
Hello everybody,
I have a file to split in a bit different way. My file looks like this:
My_file.dat
123333333|01|38|440X|P
384747382|32|31|440X|P
320384743|32|54|420Y|I
843739349|12|43|420Y|I
I need to split it into:
MYFILE_440X_P.dat
123333333|01|38
384747382|32|31
... (3 Replies)
Discussion started by: bijou
3 Replies
LEARN ABOUT OSX
set_color
set_color(1) fish set_color(1)
NAME
set_color - set_color - set the terminal color
set_color - set the terminal color
Synopsis
set_color [-v --version] [-h --help] [-b --background COLOR] [COLOR]
Description
Change the foreground and/or background color of the terminal. COLOR is one of black, red, green, brown, yellow, blue, magenta, purple,
cyan, white and normal.
o -b, --background Set the background color
o -c, --print-colors Prints a list of all valid color names
o -h, --help Display help message and exit
o -o, --bold Set bold or extra bright mode
o -u, --underline Set underlined mode
o -v, --version Display version and exit
Calling set_color normal will set the terminal color to whatever is the default color of the terminal.
Some terminals use the --bold escape sequence to switch to a brighter color set. On such terminals, set_color white will result in a grey
font color, while set_color --bold white will result in a white font color.
Not all terminal emulators support all these features. This is not a bug in set_color but a missing feature in the terminal emulator.
set_color uses the terminfo database to look up how to change terminal colors on whatever terminal is in use. Some systems have old and
incomplete terminfo databases, and may lack color information for terminals that support it. Download and install the latest version of
ncurses and recompile fish against it in order to fix this issue.
Version 1.23.1 Sun Jan 8 2012 set_color(1)