10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
My requirement is explained below:
list of files available in server 1 in path /home/xxx/src are:
col3=xyza sequence file name is maintained which is in the path /ab_app/xx/seq
$cd /ab_app/xx/seq$cat... (0 Replies)
Discussion started by: vedanta
2. OS X (Apple)
I know I can manipulate from AppleScript to terminal.app or just run commands from apple script.
But what about from a BASH Script.
when A user logs in and runs a maintenance utility I have written for them, I want to modify their background color and text color.
... (4 Replies)
Discussion started by: doctorfoo1
3. Shell Programming and Scripting
I am new to shell scripting.
please help me to find out the solution.
I need a script where we need to read the text file(consists of all file names) and get the file names one by one
and append the date suffix for each file name as 'yyyymmdd' .
Then search each file if exists... (1 Reply)
Discussion started by: Lucky123
4. UNIX for Dummies Questions & Answers
while read s1 ; do
cat /home/joey/public_html/charts/program/fn\charts/data/tickers/header.txt > $s1.txt;
chmod 777 $s1.txt;
sed '1d' table.csv?s\=$s1 >> /home/joey/public_html/charts/program/charts/data/tickers/$s1.txt;
rm -Rf... (0 Replies)
Discussion started by: harte
5. UNIX for Dummies Questions & Answers
I have a shell script named setUP in which i am sourcing one variable like
When i call it as ./setUP, it does not set the var_name variable. But when i call it like . ./setUP then var_name is set up. What is the difference between this two calls?
... (1 Reply)
Discussion started by: SasDutta
6. Shell Programming and Scripting
I am writing a shell script for some purpose. I have a variable of the form -- var1 = "policy=set policy"
Now I need to manipulate the variable var to get the string after index =. that is i should have "set polcy". Also I need to to this for many other variables where the value of "=" is not... (3 Replies)
Discussion started by: Dev_Sharma987
7. Shell Programming and Scripting
Hi all ,
i am trying to calculate time difference btw the script execution
I am using solaris
duration=`expr $end_time - $start_time`
when i try to subtract i get the error
line 13: %s - -time : syntax error: operand expected... (3 Replies)
Discussion started by: posner
8. Shell Programming and Scripting
I have a file with following contents :
WSL SRVGRP=LISTENER SRVID=2
CLOPT="-A -t -- -n 0x0002aa050a03cc65 "
RQPERM=0660 REPLYQ=Y RPPERM=0660
MIN=1 MAX=1 CONV=N
I need to print only the value in Hex i.e.... (2 Replies)
Discussion started by: deo_kaustubh
9. Shell Programming and Scripting
Hello - I have a small diff script that checks 2 directories. It reports the difference in count such as wc -l, and also names the different files.
How should I get "ERROR: diff found . (host)" - when it actually finds a diff?
This is how I have written:
... (10 Replies)
Discussion started by: DallasT
10. Shell Programming and Scripting
I am executing test.sh script. But this script takes lot of time and in the meantime the shell timeouts without completing the script.
Is there any command which will continue processing the script.
Thanks (3 Replies)
Discussion started by: infyanurag