Unix/Linux Go Back    

Showing results 1 to 25 of 58
Search took 0.01 seconds.
Search: Posts Made By: adisky123
Forum: Shell Programming and Scripting Linux 11-21-2013
Replies: 9
Views: 777
Posted By adisky123
I am not able to find the path where .cshrc file...

I am not able to find the path where .cshrc file is located.

ADI
Forum: Shell Programming and Scripting Linux 11-21-2013
Replies: 9
Views: 777
Posted By adisky123
But my question is why not it shows the correct...

But my question is why not it shows the correct shell name when I write echo $SHELL
Forum: Shell Programming and Scripting Linux 11-21-2013
Replies: 9
Views: 777
Posted By adisky123
How to recognize the Shell?

Hello All

I am working on Red Hat Enterprise Linux Server release 5.1 when I logged on to the shell and then write echo $SHELL it shows me the result /bin/bash
and when I write csh, the prompt...
Forum: Shell Programming and Scripting Linux 08-02-2013
Replies: 4
Views: 1,208
Posted By adisky123
No its not working ./mscr 5 x y When I tried...

No its not working
./mscr 5 x y
When I tried with data

1111x2222
1111x2222
2222y3333
1111x2222
2 22y3333
1111x2222
Forum: Shell Programming and Scripting Linux 08-02-2013
Replies: 4
Views: 1,208
Posted By adisky123
sed Character match and replace

Hello All

I am struck in the issue which I want to share with all of you.
What I am trying to do is For every line in a file I have to replace a particular character from the given character in...
Forum: Shell Programming and Scripting Linux 07-31-2013
Replies: 3
Linux sed
Views: 536
Posted By adisky123
Hi All The actual data is if...

Hi All
The actual data is

if (starting_phase != null) begin
.... any number of lines can be there
`ovm_info(get_full_name(), "sequence ovmEthGmiiHalfDuplex", OVM_LOW);
.... any...
Forum: Shell Programming and Scripting Linux 07-31-2013
Replies: 3
Linux sed
Views: 536
Posted By adisky123
sed

Hello All
As I new to sed command, I struck in the issue. What I want to do is
Suppose I have the file which contain data, I will pass two pattern and the lines which are between to patterns...
Forum: Shell Programming and Scripting Linux 07-12-2013
Replies: 6
Views: 2,286
Posted By adisky123
Hi. I appreciate your idea. But I want to keep my...

Hi. I appreciate your idea. But I want to keep my scope to second column only.
I have a case in my data which looks like

server~99234~patched~99~down~done
and suppose I grep whether second...
Forum: Shell Programming and Scripting Linux 07-11-2013
Replies: 6
Views: 2,286
Posted By adisky123
I have a lot of folders which contain all the...

I have a lot of folders which contain all the zipped files. So basically what I doing is

find . -name "Filename*" -print | while read line
do
gzcat $line | ?????????????????
done
Forum: Shell Programming and Scripting Linux 07-11-2013
Replies: 6
Views: 2,286
Posted By adisky123
Grep the column for a row

I have a problem caught and need to discuss with all you guys.

I have a file containing a rows which are separated by “~”
For eg.

Server~321~UP~Linux~Member...
Forum: Shell Programming and Scripting Linux 05-27-2013
Replies: 6
Views: 689
Posted By adisky123
Query about opening the file

I have a query regard the opening of the file. Suppose I have opened the file
Let's say view filename
And then I found that I have to do some changes in that, but I do not want to close the file...
Forum: Shell Programming and Scripting Linux 05-15-2013
Replies: 5
Views: 476
Posted By adisky123
and suppose If my line in a files is ...

and suppose If my line in a files is

A;B;C;D;E;F;


and my search pattern is A;B;C;D;E;F;
and if found it should replace it like

A;B;C;D;E;F;G;H;I;J;K
Forum: Shell Programming and Scripting Linux 05-15-2013
Replies: 5
Views: 476
Posted By adisky123
Sorry I miss that. Suppose my file contain data...

Sorry I miss that.
Suppose my file contain data is as follow

Hello I am great
My best website is Unix.com
Hello my name is adisky
Code tag button


and my search pattern will be the one of...
Forum: Shell Programming and Scripting Linux 05-15-2013
Replies: 5
Views: 476
Posted By adisky123
Read file and replace a particular line if found

Hi All
There is another challenge which stand in front of me. And want all to have the experience with that

I have a file in Unix say a.txt. What I was trying is to read the file line by line...
Forum: Shell Programming and Scripting Linux 05-13-2013
Replies: 1
Views: 671
Posted By adisky123
Print Pattern from file

cat file | awk '{printf"(t.who = "'"%s",$1}'
Regards
ADI
Forum: Shell Programming and Scripting Linux 04-30-2013
Replies: 4
Views: 2,012
Posted By adisky123
Sorry I didn't get you.

Sorry I didn't get you.
Forum: Shell Programming and Scripting Linux 04-30-2013
Replies: 4
Views: 2,012
Posted By adisky123
How to give root access to non root user?

Currently in my system Red Hat is installed. And Many user connect to my machine via SSH Techia Terminal.
I want to give some users a root level access.
Can anyone please help me how to make it...
Forum: Shell Programming and Scripting Linux 04-12-2013
Replies: 8
Views: 948
Posted By adisky123
Thanks..Can you please refer me some good books..

Thanks..Can you please refer me some good books..
Forum: Shell Programming and Scripting Linux 04-11-2013
Replies: 8
Views: 948
Posted By adisky123
I do not mean like this.. My question is -: ...

I do not mean like this..
My question is -:
For every function I declare in the package Do I have to declare in the new method also.
Like If I remove

$this = {'a'...
Forum: Shell Programming and Scripting Linux 04-11-2013
Replies: 8
Views: 948
Posted By adisky123
Can you please explain how this works $this...

Can you please explain how this works

$this = {'a' =>shift,'b'=>shift,'c'=>shift};
Forum: Shell Programming and Scripting Linux 04-11-2013
Replies: 8
Views: 948
Posted By adisky123
Perl Methods Calling

Hello
I am on my way to improve my wonderful Perl skills, I got an issue which I want to share with you all. I have a Perl module which looks like

package Cocoa;

require Exporter;
@ISA =...
Forum: Shell Programming and Scripting Linux 04-04-2013
Replies: 1
Views: 956
Posted By adisky123
Stop Window Services with Perl Script

Hello All
I am getting an issue which I want to share will all you guys
There is one windiows sercice running on my machine names Network Provisioning Service.

I developed the perl script which...
Forum: Shell Programming and Scripting Linux 03-15-2013
Replies: 2
Views: 5,731
Posted By adisky123
Difference between .vimrc and .exrc?

What is the difference between .vimrc and .exrc? I google it but didn't find the brief explanation?

Regards
ADI
Forum: Shell Programming and Scripting Linux 02-13-2013
Replies: 6
Views: 543
Posted By adisky123
Thanks for your support. Its just an idea Can't...

Thanks for your support. Its just an idea
Can't it be done with and array (like hashing)
Forum: Shell Programming and Scripting Linux 02-13-2013
Replies: 6
Views: 543
Posted By adisky123
Just developing the thought process, can be wrong...

Just developing the thought process, can be wrong


i=0
cat file | while read line
do
a=`echo $line | cut -d':' -f1`
b=`echo $line | cut -d':' -f2`

if [ i <= 0] then
Showing results 1 to 25 of 58

 


All times are GMT -4. The time now is 01:41 AM.