Search Results

Search: Posts Made By: chandana hs
1,037
Posted By chandana hs
Hi, Thank you. I meant to say if true code...
Hi,
Thank you.

I meant to say if true code block, not loop. Sorry.

But your answers explains me, that there is no special meaning to it. but used during development.

Regards,
Chandana
1,037
Posted By chandana hs
Explaination on if true
Hi Team,
I need to know why ppl use If true loop instead of just writing down the sequence of code lines.
1:

echo "Line1"
if true; then
echo "Line2"
fi
echo "Line3"
2:

echo "Line1"
echo...
2,214
Posted By chandana hs
Running backend processes in ssh
Hi Team,
i have a script alloc.sh on server1

main () {
if [ "$1" == "REQUEST" ] ; then
(nohup ./alloc.sh ALLOCATE 5400 isogen_alloc_$2 < /dev/null 2> /dev/null &)
echo ALLOC_OK
...
1,581
Posted By chandana hs
Thanks All :) It worked, It was very...
Thanks All :)

It worked,

It was very helpfull.

Regards,
Chandana
1,581
Posted By chandana hs
Reading line in while loop
Hello Team,
i have to read line by line in a while loop, and the input file has:.
# The script will start cppunit test application to run unit tests.
-LD_LIBRARY_PATH=$CPPUNIT_HOME/lib:\...
3,209
Posted By chandana hs
Thanks, Got it. $ cat test1.txt |sed...
Thanks,

Got it.

$ cat test1.txt |sed -n -e 's/.*\([0-9]\{6\}\).*/\1/p'
370956
3,209
Posted By chandana hs
Regular expression for 6 digit number present in a line
Hello Team,
i have a file test1.txt, in which i have to grep only the 6 digit number from it,
Could you pls help in this.

$cat test1.txt
<description>R_XYZ_1.6 r370956</description>
$ grep...
1,317
Posted By chandana hs
Hello, Thanks, the solution provided worked... ...
Hello,
Thanks, the solution provided worked...

Sorry for the missing input file.

$ grep -e "Cyclomatic complexity" -e ";add;" inspect_64d_369980 | head -5
...
1,317
Posted By chandana hs
Explaination on Behavior of awk command
Hello Admin,
Could you pls explain on the below behavior of the awk command.

$ awk -F">20" "/Cyclomatic complexity/ && /;add;/{print \$1}" inspect_64d_369980 | awk '{print $NF}' | sort | tail -1...
1,071
Posted By chandana hs
Thanks for replying, pls find my output below,...
Thanks for replying,
pls find my output below, where i'm not able to find the mentioned required lines:

$ grep "@param" delete
+ * @param alarmState state of alarm.
+ *...
2,028
Posted By chandana hs
Hi Bakuni, Thanks for the help..! It...
Hi Bakuni,

Thanks for the help..! It worked..:)!

Regards,
Chandana
1,071
Posted By chandana hs
Help with Grep pattern
Hello Admin,
i need a grep pattern for the following requirement, Could you pls help.

Used Grep pattern : egrep "^[+-]([^+-].*|)$" inputfile

i have input file:
+
++++
-
------
+jfsfkjf...
2,028
Posted By chandana hs
Automation of keyboard inputs..like Ctrl+d and Ctrl+a
Hi..!
I'm stuck with my automation of starting a process and keeping it running even after the current ssh session has exited..

So i'm trying to use command 'screen'. which is doing exactly what...
Showing results 1 to 13 of 13

 

Featured Tech Videos

All times are GMT -4. The time now is 02:37 AM.
Unix & Linux Forums Content Copyright 1993-2021. All Rights Reserved.
Privacy Policy