Search Results

Search: Posts Made By: prashant2507198
7,309
Posted By prashant2507198
tail command is just printing. I have to redirect...
tail command is just printing. I have to redirect output to a new file which I cannot cos I have no space left. I want a command which can just delete all lines but not latest y lines from existing...
7,309
Posted By prashant2507198
50000. Number is not a concern I can change it. I...
50000. Number is not a concern I can change it. I want method how to do that.
7,309
Posted By prashant2507198
Want to remove all lines but not latest 50,000 lines from a file
Hi,

I have a huge file which has Lacs of lines. File system got full.

I want your guys help to suggest me a solution so that I can remove all lines from that file but not last 50,000 lines. I...
1,451
Posted By prashant2507198
Display lines of two date range from syslog file
Hi Guys,

I want to display lines from Solaris syslog file but with 2 dates range. I have some similar solution...
Forum: Linux 06-14-2013
1,855
Posted By prashant2507198
Well, I am targeting more salary and better...
Well, I am targeting more salary and better opportunities. I have heard there is more money in 1st option than 2nd.
Forum: Linux 06-14-2013
1,855
Posted By prashant2507198
Kernel developer or system admin
Hi,

I am already working as Linux admin for last 5 years. Now I want to do something more. So wanted to ask you guys what would be better. I have 2 interests for making my future

1. Linux...
7,809
Posted By prashant2507198
Want to learn Cloud Computing
Hi,

I am working as Linux system administrator now I want to learn cloud computing too. I tried Googling but couldn't find appropriate information so thought to ask people here.

Can somebody...
2,465
Posted By prashant2507198
Hey, I think it didnt work for large files....
Hey,

I think it didnt work for large files. Here are specifications

file1.txt
bash-3.00# cat file1.txt |wc -l
17102666

more file1.txt
123advertise3
123advertise4
123advertise5...
2,465
Posted By prashant2507198
As you can see size of files if I run script...
As you can see size of files if I run script without splitting them then it might take hours to complete i think. I want this result to come within 15-30 minutes max.
2,465
Posted By prashant2507198
file 2 will be 120 million records file 1 will...
file 2 will be 120 million records
file 1 will be 11 million records
2,465
Posted By prashant2507198
I forgot to mention that file2 is quite big in GB...
I forgot to mention that file2 is quite big in GB so what would be good to split it first in smaller pieces and run on all of them parallel to get results faster?
2,465
Posted By prashant2507198
Count number of occurences using awk
Hi Guys,

I have 2 files like below

file1
xx
yy


file2
b
yy
b2
xx
c1
yy
xx
yy

Now I want an idea which can count occurences of text from file1 and file2 so outbout would be kind...
Forum: Solaris 04-08-2013
1,348
Posted By prashant2507198
Manage ILOM password from terminal
Hi,

I have T5240/M9000 servers running Solaris 10.

I want to manage root password from terminal only using scadm command.

Can somebody help me on this? Which package do I need to install and...
2,372
Posted By prashant2507198
AWESOME. I have found a book ...
AWESOME. I have found a book (http://www.gnu.org/software/gawk/manual/gawk.pdf)on awk which I will read later but for now I needed an urgent solution so I had posted here.

Can you please help me...
2,372
Posted By prashant2507198
WOW. It worked like butter. Can you please help...
WOW. It worked like butter. Can you please help me in understanding components of this command or any documentation about nawk?
2,372
Posted By prashant2507198
Well, it didn't give expected output. Let me...
Well, it didn't give expected output.

Let me show you what I did.

File has records like this

Pseudo name=emcpower0a
3076 pci@2,600000/SUNW,emlxs@0/fp@0,0 c1t5Fd94s0 FA 13cA active alive ...
2,372
Posted By prashant2507198
No, I want to count number of disks associated...
No, I want to count number of disks associated with each emcpower. As in my example 1 LUN has 2 disks associated and another has 4. This is what I want to calculate.

---------- Post updated at...
2,372
Posted By prashant2507198
Well, as I have mentioned in my original post....
Well, as I have mentioned in my original post. Each LUN (emcpower...) can have multiple disk names. So your red marked numbers are count of those disks. In my example emcpower28a has 2 disks so I...
2,372
Posted By prashant2507198
Count lines separated by new line
Hi guys,

I have a file which has random records like mentioned below

emcpower28a
pci@3,03 (disk physical name)
pci@3,04

emcpower9a
pci@1,03
pci@2,03
pci@3,01
pci@4,03

there could be...
2,621
Posted By prashant2507198
You must tell which version you are using and...
You must tell which version you are using and let's check if your OS supports grep -A and grep -B supports.
Forum: Solaris 03-09-2013
12,374
Posted By prashant2507198
Never lock usermod -K lock_after_retries=no root ...
Never lock usermod -K lock_after_retries=no root
Never expire passwd -x -1 root
Forum: Solaris 03-09-2013
3,416
Posted By prashant2507198
Well, script you used that is also a solution but...
Well, script you used that is also a solution but its temporary just to achieve what you want. I am also amazed why above solutions are not working.
Forum: Solaris 03-09-2013
8,095
Posted By prashant2507198
Your output shows its already up and running and...
Your output shows its already up and running and you told ip is pingable then what else you are looking for?

If still any problem, just unplumb and plumb again and do all the configuration again.
Forum: Solaris 02-01-2013
1,954
Posted By prashant2507198
SVM is a feature which comes with Solaris OS....
SVM is a feature which comes with Solaris OS. Nothing need to install additionally to use this feature. Just start creating database replicas and volumes.
Forum: Solaris 02-01-2013
21,763
Posted By prashant2507198
ssh -q <host> /usr/bin/uptime
ssh -q <host> /usr/bin/uptime
Showing results 1 to 25 of 46

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