Search Results

Search: Posts Made By: rochitsharma
Forum: Solaris 06-13-2016
1,547
Posted By rochitsharma
Ndd adv_autoneg_cap showing read only
Hi,

Recently, I had to disable autoneg in one of my servers having ixgbe1 interface. While using below command I got "Permission denied" error:

ndd -set /dev/ixgbe1 adv_autoneg_cap 0

On...
Forum: Red Hat 10-14-2015
1,890
Posted By rochitsharma
Hi Aia, Thanks for your reply. I used ls -Z...
Hi Aia,

Thanks for your reply. I used ls -Z on two of my servers. Following is the output:

Output in the problematic server:

# ls -Z IPMultiNIC-*
-rw-------. root root...
Forum: Red Hat 10-12-2015
1,890
Posted By rochitsharma
SE Linux write permission denied
Hi,

In my server I am getting below errors in "/var/log/messages":
Oct 8 14:45:44 LKOGOMEEMM01 kernel: type=1400 audit(1444295744.792:15818): avc: denied { write } for pid=53421 comm="ip"...
1,581
Posted By rochitsharma
Hi, Can anyone help me resolve the above...
Hi,

Can anyone help me resolve the above issue.

BR//
1,581
Posted By rochitsharma
Hi Corona, First of all thanks for a prompt...
Hi Corona,

First of all thanks for a prompt reply. I have tried using the script you have provided me. It works fine for most of part of input file but fails in certain cases. I have extracted a...
1,581
Posted By rochitsharma
Formatting and combining fields of the input file
Hi,

I have a file of the following format:

AV 103
AV 104
AV 105
AV 308
AV 517
BN 210
BN 211
BN 212
BN 218

and the desired output is :

AV 103-105 3
AV 308 1
AV 517 1
BN 210-212 3
3,342
Posted By rochitsharma
Configuring mail to send email from server to client
Hi,

I want to send an email from server to my gmail account for all critical messages reported in the server. Kindly help me in configuring the same.

Regards
Rochit
2,457
Posted By rochitsharma
Combine common line from 2 Huge files
Hi,

I am having 2 huge files having line count more than 10million. The files look like:

File 1

45905099 2059
942961505 3007
8450875165 7007
615565331 3015
9415586035 9012
9871573 5367...
2,199
Posted By rochitsharma
Thanks EAGLC
Thanks EAGLC
2,199
Posted By rochitsharma
Thanks Scottn..... the script worked on my system...
Thanks Scottn..... the script worked on my system with /usr/xpg4/bin/awk
It would be really nice of you if you could please explain me the way this awk is working specially the 1 in the end, whats...
2,199
Posted By rochitsharma
Searching pattern and reformatting
Hi,

I have a file whose sample data is as below:

Rak 654 JM30 20100215 387898263 7867556789
RPT 654 TM38 20100215 827384652 9786735628 RNP
DCB 342 TM38 20100215 876782372 2323786527
Rak 654...
Forum: Red Hat 06-11-2009
2,776
Posted By rochitsharma
Formatting disk such that it works on Dos
Hi,

I need to format a disk in Linux such that the disk works on DOS machine.

Regards
Rochit
2,974
Posted By rochitsharma
Even that is not possible..... I don't have write...
Even that is not possible..... I don't have write access to create ssh directory.
Isn't it possible to provide the password with in the script itself..... something like we have for ftp.
2,974
Posted By rochitsharma
hi, The problem with the system I am using...
hi,

The problem with the system I am using is that it does not gives its security key. It has been restricted for enhancing security.
2,974
Posted By rochitsharma
Hi I tried doing it. But it is prompting for...
Hi

I tried doing it. But it is prompting for password. Is it possible to remove this password prompt.
2,974
Posted By rochitsharma
Executing certain commands on different servers from one server only
hi

I wish to fire certain set of commands on different servers using single script on one of the server. The problem is that these servers only allow ssh session. telnet to these systems is...
1,756
Posted By rochitsharma
tracing a user input
Hi,

i need to get a log of all the commands typed and output of those commands fired by a specific user on my sun machine.
Also i need to trace all commands and inputs given from a specific IP on...
2,097
Posted By rochitsharma
But the problem is that File 2 has many extra...
But the problem is that File 2 has many extra entries and all are placed randomly........
2,097
Posted By rochitsharma
Problem joining 2 files
Hi

I have 2 files which look like

File1

1245
1256
2345
2165
3245
9851
8514
6498
8547
2541
5242

and File2
1,480
Posted By rochitsharma
Inserting variables from 2 files to create 1 file
Hi,

I have 2 files which are as follows:

Num:
548983
748932
783928
547383
839284

Grp:
2389
9873
8493
7382
8493


I need to make an output file using both of these files.
1,892
Posted By rochitsharma
Problem with date command
Hi,

I wish to display date say 25th Jan, 2008 in format '25-1-2008'
i.e. month should be displayed as '1' and not '01'.
I wish that 0 should not be displayed in month.

Thanks
Rochit
4,567
Posted By rochitsharma
Hi Jim, Thanks for replying. but your script...
Hi Jim,

Thanks for replying. but your script only counts the total number of occurrences of 'z'. But the main prob. i.e its position in file is not found.

Regards
Rochit
4,567
Posted By rochitsharma
Counting position of a character
Hi All,

I have a file of the format :

idsfskjvfdznvdfjvh
ierwjfkncmvlkmc
xszkmdvnosndzjndf
weuhrndzierfncv
rndsjnsllshens
iernzkfndslkdhf
zkinewfinfvlkmvd

I wish to count the...
9,992
Posted By rochitsharma
hi boss.... I wish to print print "\n";...
hi boss....

I wish to print

print "\n";

and not

"print \n;"
9,992
Posted By rochitsharma
thanks but I need to print print "\n"; ...
thanks but I need to print

print "\n";

and the command you have provided does not give this output.
Showing results 1 to 25 of 93

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