10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Just in need of your help again, I have managed to get a script to check the linux disk usage stuff. But wanted to tweak it little more to get the desired output.
Now its querying only one mount point, As its not saving in array instead calling it as variables. So... (1 Reply)
Discussion started by: thiyagoo
2. Shell Programming and Scripting
In Linux Shell script, how can I check a string whether meets some conditions.
If a string str must start with a underscore or a alphabet, and it must contains at least one lowercase, one uppercase, one numeric and one punctuation, and its length must be more than 8 characters... (2 Replies)
Discussion started by: franksunnn
3. Shell Programming and Scripting
You might help a newbie like me, I am trying to run a .sh inside my shell script. After running that I need to execute below commands. Here's how my scripts looks like. Hope you can help:
./OMBPlus.sh ---> goes to OMB+> directory
cd... (10 Replies)
Discussion started by: aderamos12
4. Shell Programming and Scripting
Hi I need to call a function written in a cpp file with arguments inside the shell script..Can anyone help me how to do this:( (1 Reply)
Discussion started by: rkrish
5. Shell Programming and Scripting
i have written a shell script and its working fine till now. Now, i have to enhance it with a small updation.
i need to make a file inside my file that will contain the below parameters
3) No. Account
All the above variables are already been taken in... (3 Replies)
Discussion started by: dazdseg
6. Shell Programming and Scripting
I'm writing a shell script. I want to put the variables in a separate config files and use those inside my script.
e.g. the config file (temp.conf)will have the values like
I want to access these variables in temp.conf(i.e. mapping and file_name) from inside the... (7 Replies)
Discussion started by: badrimohanty
7. Shell Programming and Scripting
Can anyone help me out to check whether the input argument is number?
I need to check the REQUEST_ID value is number or string.
Thanks in Advance
BS (6 Replies)
Discussion started by: balajiora
8. UNIX for Dummies Questions & Answers
i wat to get the output of a grep command in a file. but when i am trying out the same grep command in the unix prompt its working fine.. i am getting the output properly.. but when i am writing the same command inside my shell script , its just creating a new output file with no contents... (1 Reply)
Discussion started by: kripssmart
9. Shell Programming and Scripting
My shell script file name is test.sh and the contents of this test.sh file are
ps_file1=`echo $ps_file| sed "s/.ps//g"`
ps2pdf -dSAFER -sPAPERSIZE=a4 /tmp/A380_RFS24/amm_r0_ps/$ps_file1.ps /tmp/A380_RFS24/amm_r0_pdf/$ps_file1.pdf
Now i... (2 Replies)
Discussion started by: sunitachoudhury
10. Shell Programming and Scripting
I am writing a script file which sends the log files along with their size in a folder named log to a file called temp.log using the following cmd:
ls -st 190_GSTV_HUX_003QISCGSK026** >> /home/user/temp.log
the temp.log looks like this:
... (11 Replies)
Discussion started by: kiran1112