9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
can anyone help identify where the issue is here?
awk 'BEGIN { c="perl -e 'print scalar(localtime("'${EPOCHTIME}'")), "\n"'"; c|getline; close( c ); print $2" "$3" "$4" "$6; }'
bash: syntax error near unexpected token `('
can't seem to figure it out. i tried this:
awk 'BEGIN {... (5 Replies)
Discussion started by: SkySmart
5 Replies
2. Shell Programming and Scripting
Hello All,
I am new to scripting and I am trying to write a script which can scp a file from one box to multiple boxes.
I am thinking to do like this.
1) create a file with list of all server names
2)write a script which will pick up each server line by line from server list and copy it to... (1 Reply)
Discussion started by: sintilash
1 Replies
3. Shell Programming and Scripting
I am using AIX 5.3.0.0 ; I need a script to find out each remote AIX boxes
Hostname, Model name and Serial number in following format
Hostname Modelname SerialID
AIXMC01 IBM,7026-B80 IBM,0110BBA1F
AIXMC02 IBM,7026-H50 IBM,0110BBA56
AIXMC03 IBM,7026-H50 IBM,0110BBARR... (12 Replies)
Discussion started by: amir07
12 Replies
4. Shell Programming and Scripting
I have requirement to login into a multiple linux boxes by running the shell script in a single linux box and to find the count of files in a specific folder in each box and log them in a log file in the box where i m runnning the script. Box names will be stored in a text file host.txt.
Please... (2 Replies)
Discussion started by: Mani2512
2 Replies
5. AIX
I am calling this paramters from a controlfile
CONTROLFILE="/u01/scripts/admin/filesystem.ctl"
SEARCH_PATH="`grep SEARCH_PATH $CONTROLFILE | awk -F: '{print $2}' `"
FILE_TYPE="`grep FILE_TYPE $CONTROLFILE | awk -F: '{print $2}' `"
DEL_RETENTION_SIZE="`grep DEL_RETENTION_SIZE $CONTROLFILE |... (5 Replies)
Discussion started by: javeedkaleem
5 Replies
6. Shell Programming and Scripting
Hi all
I want to add this line after a line
This is the line which needs to be add after the word permission
echo 'profile: /export/home/unix1/auto.pr' >> $xxyy
if ;then
cd $unixserv/unix
sed '
/permission/ a\
echo 'profile: /export/home/unix1/auto.pr' >> $xxyy... (13 Replies)
Discussion started by: ranga27
13 Replies
7. Shell Programming and Scripting
Hello I'm serving on a ship that has frequent power issues. Currently if we loose power we need to rush around to multiple UNIX machines and login to Sysadmin and power down each machine before we loose our ups. If sysadmin is asleep or not in the space we have some real problems. I would like to... (2 Replies)
Discussion started by: blackfam972
2 Replies
8. UNIX for Dummies Questions & Answers
I have a script that generates an output file after pulling data from a local DB on one of my boxes. There are other nearly-identical boxes on the network, each with their own local DB, and I'd like to run the script there too. Copying the script to each box and then running them individually... (11 Replies)
Discussion started by: bschnair
11 Replies
9. Programming
Hi !
Please tell me how to get radio buttons, text boxes , check boxes , option buttons , pull down menus in C++ on Unix.
I think it would be done using curses.h ..but that's all i know.
TIA,
Devyani. (3 Replies)
Discussion started by: devy8
3 Replies