9 More Discussions You Might Find Interesting
1. OS X (Apple)
Hmmm.
I cannot figure out where to disable this warning message in Safari.
Google says to disable something in Safari Tabs preferences but my Macs do not have that option in Mojave.
Anyone know how to disable the following so when I quit Safari it simply quits without the "freeze the... (12 Replies)
Discussion started by: Neo
12 Replies
2. Shell Programming and Scripting
Hi,
Here is my code to send read.txt to three servers.
col="prd167.mybank.com prd168.mybank.com bsprd169.mybank.com"
set -A look $col
for IndixList in ${look};
do
scp /tmp/read.txt admin@$IndixList:/tmp
done
This works and all the 3 servers gets the read.txt file.
However,... (8 Replies)
Discussion started by: mohtashims
8 Replies
3. Shell Programming and Scripting
Hi friends,
In my shell script, I want to open a file using vi editor. After opening the file in vi, I want to save and quit this file automatically.... all through shell script.
the code segment is:
------------------------------------------------------------
cd ~/netfpga/projects/scone/sw/... (2 Replies)
Discussion started by: sachinteotia
2 Replies
4. Shell Programming and Scripting
hi all,
I am facing problem in shell scripting while using exit command, when ever i run a file using . ./<filename>, when i run the sae script as sh <filename> the script does not close the windows. since my script has function calls i have to use . ./ <filename>.
Could any one tell me... (8 Replies)
Discussion started by: caro
8 Replies
5. Shell Programming and Scripting
I am reading a file using While loop
while <FILE>
{
$_ = <FILE>;
process data...
}
I would like to quit reading the file once I encounter a String pattern. How do i do it.
is it
if (/SUMMARY/)
{
last;
}
I am having problems with uninitialized value in pattern... (1 Reply)
Discussion started by: subhap
1 Replies
6. UNIX for Dummies Questions & Answers
Hi Guys, I'm running a cron that mails me a file every night. The file is based on form input from the web and each evening after I mail it I delete and start a new file by the same name. It's a csv file so I preload a line of headers into the file. So far, so good. On days when no one inputs... (5 Replies)
Discussion started by: steven99
5 Replies
7. Shell Programming and Scripting
how can i read input to quit any time, for instance "type q to quit"
I have a script like this
echo "The first choice"
read firstChoice
echo "The second choice"
read secondChoice
Looking for a code to quit any time by pressing q to quit
any help would be appreciated
thanks (5 Replies)
Discussion started by: Qwond
5 Replies
8. UNIX for Dummies Questions & Answers
I wish to seach a Dir for a specific file, once the file is found i will perform additional logic. If the file is not found within two hours, i would like to exit.
Logically, I'm looking for the best way to approach this
Thanks for any assistance in advance.
Note: I'm using a C shell and... (2 Replies)
Discussion started by: mmarsh
2 Replies
9. UNIX for Dummies Questions & Answers
hi, if i am in glance, how do i exit?
thanks (2 Replies)
Discussion started by: yls177
2 Replies