Search Results

Search: Posts Made By: asalman.qazi
2,446
Posted By asalman.qazi
Hi anchal, can you please explain the awk...
Hi anchal,

can you please explain the awk option in detail
1,963
Posted By asalman.qazi
use sed with a\ option
use sed with a\ option
2,140
Posted By asalman.qazi
can you give more details.you can use cut and...
can you give more details.you can use cut and paste
19,077
Posted By asalman.qazi
can somebody explain the working of the awk...
can somebody explain the working of the awk option


awk '{$1=$1}1' FILE



what is {$1=$1}1 in the above option doing . Thanks in advance
1,698
Posted By asalman.qazi
Thanks vgersh99
Thanks vgersh99
1,698
Posted By asalman.qazi
errors while using getline
i wrote following script to test getline



BEGIN{
while ( "who" | getline > 0)
nr++
print nr
}



when i run this script as



awk -f scriptname
12,724
Posted By asalman.qazi
df | grep "[89][0-99]%" | awk '{ print...
df | grep "[89][0-99]%" | awk '{ print $1,"mounted on",$6,"has exceeded 80%"}' | mail -s "partitions more than 80%" user
10,943
Posted By asalman.qazi
try this one sed...
try this one



sed 's/^\([^,|0]*\)00*\(.*\)/\1\2/' filename
3,477
Posted By asalman.qazi
sed not removing leading zeroes
I have th following file


0000000011
0000000001
0000000231
0000000001
0000000022



noow when i run the following command



sed 's/^0+//g' file name



I receive the same...
Forum: Solaris 03-23-2010
4,608
Posted By asalman.qazi
My question is , if i am overwriting the contents...
My question is , if i am overwriting the contents thaen i should see the overwritten contens . Why the file is becoming blank . I know that cat file1 > file2 will do the job
I want to know the logic...
Forum: Solaris 03-23-2010
4,608
Posted By asalman.qazi
cat file1 > file1
I have file1 with the contents


this is file1



when i do cat file1 , the output is



this is file1




when i run cat file1 > file1 , I receive the following message

...
Forum: Solaris 03-01-2010
4,897
Posted By asalman.qazi
thanks for the reply incredible: My question...
thanks for the reply incredible:

My question is:

1) if the cd/dvdrom drive is not being used can it generate such errors.

2) how is cd/dvd rom diffrentiated from normal hard drive in /dev...
Forum: Solaris 03-01-2010
4,897
Posted By asalman.qazi
Disk or CDROM problem?
I am not a UNIX admin . I work in application support team.
while monitoring /var/adm/messages , i received


Feb 24 09:30:13 cbs143d001 Corrupt label; wrong magic number
Feb 24 09:36:44...
Forum: Solaris 02-08-2010
3,995
Posted By asalman.qazi
not able to ping base OS from virtual machine
I have a vista on my PC . I have created a Solaris 10 server on it using VM ware . I have selected bridge mode to connect my PC and virtual machine together .I have alloted ip 192.168.1.2 to my...
Forum: Solaris 01-21-2010
4,930
Posted By asalman.qazi
connectivity between servers
We have two servers A and B (both running Solaris 10) out of which one is application server and the other is database server. The two servers faced certain network issues and the two servers were...
Forum: Solaris 01-21-2010
2,311
Posted By asalman.qazi
crash dumps
I am supporting a server running Solaris 4.3.The server is not having ddicated system administrator and i am requred to do minor maintenance tasks.l From few days, The server is automatically...
Forum: Solaris 01-18-2010
11,449
Posted By asalman.qazi
mailx not working
i am supporting a server running Solaris 5.6.I don't know if the mail is configured on this server.

i ran the following commands and got the corresponding output.


#which mailx...
Forum: Solaris 01-15-2010
5,886
Posted By asalman.qazi
Installing SunStudio
i downloded the file SunStudio12u1-SunOS-x86-pkgs-ML.tar.bz2 on my vista and transfered it to a virtuak machine on my laptop running Sun Solaris 10.5 in a directory. How do i go about installing it...
Forum: Solaris 01-07-2010
2,537
Posted By asalman.qazi
Disk crashed
My system is SUN Solaris 5.6 and one of the disks on the server got crashed. Here are the details




d23: Mirror
Submirror 0: d24
State: Okay
Submirror 1: d25
State:...
Forum: Solaris 11-23-2009
6,353
Posted By asalman.qazi
core files not getting generated
Hi,


We have an application ASPA . The application related processes are running in /ASPA/bin directory . now whenever a process terminates abruptly , a core file should be generated (correct...
Forum: Solaris 11-11-2009
2,448
Posted By asalman.qazi
Oracle Database and HTTPD Web Service
Hi,

I have a Solaris 5.6 having an Oracle database.Now this server is being accessed by a web service interface.I cannot see anything other than httpd daemons running on my server. There is a...
Forum: Solaris 11-10-2009
20,817
Posted By asalman.qazi
i read in SUN Solaris by Bill Calkins (chapter 3...
i read in SUN Solaris by Bill Calkins (chapter 3 pg 287) that if you forget the firmware password, you have to send the non volatile memory to sun support centre to reset the parameters.correct me if...
Forum: Solaris 11-09-2009
2
2,688
Posted By asalman.qazi
VMware
Hi

I want to install vmware on my laptop and get started by installing a Solaris 10 on it . Can aybody suggest any links, pdfs etc that describes the procedure step by step .The laptop is running...
Forum: Solaris 10-30-2009
1,573
Posted By asalman.qazi
help with find
I have two servers running Solaris 1.1

now one server is the Live server and the other one is fallback.

I discussed previusly on this forum that the live server is running perfectly
and the...
Forum: Solaris 10-28-2009
69,500
Posted By asalman.qazi
is the script woodget2 having executable...
is the script woodget2 having executable permissions ?. Many times we people forget to give that.
Showing results 1 to 25 of 71

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