Search Results

Search: Posts Made By: bisla.yogender
Forum: Linux 08-27-2008
2,829
Posted By bisla.yogender
gcc updation on Linux machine
Hi All,

I already have gcc complier installed in my machine.

Its version is : gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

I am not sure whethere it's is latest gcc version available....
19,816
Posted By bisla.yogender
man uniq
man uniq
17,186
Posted By bisla.yogender
you can use.... suppose test is the file...
you can use....

suppose test is the file name and you want to comment line having gsnmpproxy

grep gsnmpproxy test| sed -ie 's/ ^/#/g'


Thanks-
Yogi
17,186
Posted By bisla.yogender
Use a # at starting of line which is to commented...
Use a # at starting of line which is to commented with in the script.

e.g.

#!/bin/bash
# mycommand
command1

in this script the command line mycommand will not get executed...

and to...
11,855
Posted By bisla.yogender
Try the following: 5,20,35,50 * * * *...
Try the following:

5,20,35,50 * * * * /esasa/aslis/m2xtrk/A00000sds/bin/Packing.sh
or
5 */4 * * * /esasa/aslis/m2xtrk/A00000sds/bin/Packing.sh

Hope this will help you.

Brgds,
Yogi
11,855
Posted By bisla.yogender
What error are you exactly getting?
What error are you exactly getting?
Forum: Linux 06-16-2008
3,799
Posted By bisla.yogender
Cronjobs stopped working
Hi All,

I am user of a Linux machine and I have approximatly 15 cronjobs scheduled in my crontab. Yesterday my administrator made LDAP active on my userid and all the things are doing fine after...
4,927
Posted By bisla.yogender
Diffrence b/w shell script and perl script
Hi,

Could anyone please tell me what are basic diffrence between a shell and a perl scipt i.e where to use shell scripting and where perl scripting? I want to know advantages of shell script over...
5,106
Posted By bisla.yogender
Hi Yogesh, I am not the root. I want to...
Hi Yogesh,

I am not the root. I want to have my own crontabfile.. what sould i do as i am not able to creat a new crontab file.

Regards,
Yogender
5,106
Posted By bisla.yogender
new crontab for new user
Hi All,

I am user of partcular user of alinux machine. I want have some cronjobs to be done by machine. But i don't have crontab file for me. However i do have crontab installed as...
4,368
Posted By bisla.yogender
Thanks Era, I got a good learning. It's...
Thanks Era,

I got a good learning. It's working for me.

Regards,
Yogi
4,368
Posted By bisla.yogender
Hi DukeNuke, Could you Please suggest how...
Hi DukeNuke,

Could you Please suggest how can i assign these values to three diffrent variables?

Thanks-
Yogi
4,368
Posted By bisla.yogender
How to delete multiple space or tabs from a read only file
Hi,

Actually I am want to cut the three fields of "file-nr" file.

[yogender@gfmdatabase yogender]$ cat /proc/sys/fs/file-nr
638 219 52270


I want to assign these value to...
2,006
Posted By bisla.yogender
Thanks Robotonic - I am out of troble now....
Thanks Robotonic - I am out of troble now. Sometimes small small things gets out of mind and you get stuck with big big problems.

Thanks for your help.

Yogi
2,006
Posted By bisla.yogender
append o/p of grep in colomns
Hi,

I am having a huge list of files out which i m just grepping files with extension .txt. For that i am using:

ls |grep .txt

And I am getting the desired o/p. But my o/p is too long (100...
11,056
Posted By bisla.yogender
Typeset
Hi,

Could any one please explain about typeset or share any link from where i can study about typeset i.e how to use it, how to define it.. etc?


Thanks-
Yogi
11,056
Posted By bisla.yogender
Typeset
Hi,

Could any one please explain about typeset or share any link from where i can study about typeset i.e how to use it, how to define it.. etc?


Thanks-
Yogi
11,056
Posted By bisla.yogender
Typeset
Hi,

Could any one please explain about typeset or share any link from where i can study about typeset i.e how to use it, how to define it.. etc?


Thanks-
Yogi
6,697
Posted By bisla.yogender
You can also try:- rm -fr 118OQ*
You can also try:-

rm -fr 118OQ*
4,244
Posted By bisla.yogender
But if I am using bash shell its not working....
But if I am using bash shell its not working. Kindly advise what should i do make it working in bash as well. Also could you please send me a link have more information about typeset.
2,291
Posted By bisla.yogender
Thanks for the help. I know this was the...
Thanks for the help.

I know this was the silliest question I have ever asked, but the solution was not striking since last 1 hour. Now I got the solution. My code should be:

for n in yogi.txt...
2,291
Posted By bisla.yogender
Thanks for the help. I know this was the...
Thanks for the help.

I know this was the silliest question I have ever asked, but the solution was not striking since last 1 hour. Now I got the solution. My code should be:

for n in yogi.txt...
2,291
Posted By bisla.yogender
Thanks thats working for me... But my...
Thanks thats working for me...

But my concerns was not about to put list number in front of ls but my concern is how to print a count that for which instance a loop is going to execute:

suppose...
2,291
Posted By bisla.yogender
How print number
Hi,

I am using for loop as follow:

for n in `ls`
do
echo "$n"
done

The code is running fine and aI am getting valid output as:
jick
zenny
assi
yogi


But 1also want to print count...
122,953
Posted By bisla.yogender
You can also try: #!/bin/bash cat...
You can also try:

#!/bin/bash
cat sample1.txt| while read line
do
cut -b -3 |tee result.txt
done
Showing results 1 to 25 of 30

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