Search Results

Search: Posts Made By: grc
20,093
Posted By grc
Well then if thats the case then I am using text...
Well then if thats the case then I am using text console...

Anyways thanks for your help :-)

I'll check it out and let you know tomorrow.

Thank you once again.

Regards.
G Ravi Chandran
20,093
Posted By grc
Thanks for the reply.. I really dont know...
Thanks for the reply..

I really dont know what terminal your are talking about..

You mean which flavour of LINUX am I using?

If you mean flavour, then I would say That I am using RedHat...
20,093
Posted By grc
How to bold, blink, italicise words using echo command?
Hello Everyone.

I am trying to bold, blink, italicise words using echo command. As per the research I did, it says to use the following escape code to get the effects.


#!/bin/bash
clear...
19,660
Posted By grc
Thank you.. I got it.. ---------- Post...
Thank you..

I got it..

---------- Post updated at 04:44 PM ---------- Previous update was at 04:42 PM ----------

Thank you people, I finally got the solution after all your help.

The code...
19,660
Posted By grc
how to get the solution using command line arguments?
Thank you all for the reply.

I am passing the parameters as command line arguments. In that case how do I get the desired result?

Thank you.
19,660
Posted By grc
How to read contents of a file from a given line number upto line number again specified by user
Hello Everyone.

I am trying to display contains of a file from a specific line to a specific line(let say, from line number 3 to line number 5). For this I got the shell script as shown below:
...
1,718
Posted By grc
Hi there, I thank you all for the solution....
Hi there,

I thank you all for the solution. That code really works.

Final code is


#!/bin/bash
x=5
while [ $x -gt 0 ]
do
echo $x
x=`expr $x - 1`
echo ""...
1,718
Posted By grc
unable to execute while loop
Hi everyone.

I wanted to print numbers from 1 to 5 in reverse order. For this I used the following code:

#!/bin/bash
x=5
while [$x -ge 0]
do
echo $x
x=`expr $x - 1`
...
3,527
Posted By grc
solution to division option works..
Thank you again dr.house...:b:

Your solution works..

Regards
G Ravi Chandran
3,527
Posted By grc
problem compiling shell script
Thank you dr.house

Those errors got rectified, however when I am try to select 4th option (Division) it shows the following error.

"math.sh: line 28: 0: command not found"

I even changed...
3,527
Posted By grc
Unable to compile Shell Script
Hi there,

I have written the shell script to illustrate arithmetic operations using case command as shown below:

#!/bin/bash
echo -n "Enter any two numbers :"
read a
read b
MENU="
Select...
2,157
Posted By grc
how to use 'who' command?
Hi there,

Can anyone please help me out in finding the solution for the below questions?

1) How to list the names of all processes not associated with any terminal?

2) How to list lines 5...
2,765
Posted By grc
working with vi editor
Hi there,

I am unable to find solution to the following question.

1) How do you copy 10 lines starting from the current and paste at the end of file?

2) How do you delete five lines...
36,611
Posted By grc
Thank you for your reply.
Hi Scott,

Thank you for the reply..:b:

It realy helped me a lot.:)


Thank you
G. Ravi Chandran
36,611
Posted By grc
Remove VI encryption key from file
Hi There,

I have set encryption key to my file using :X command.

Now that I no more need encryption key to the file, I just want to delete/remove the encryption key. I have gone through many...
Showing results 1 to 15 of 15

 
All times are GMT -4. The time now is 05:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy