Quantcast
Channel: UNIX and Linux Forums
Browsing all 16232 articles
Browse latest View live
↧

Search a string and replace the same string above two lines?.

I need to search this "<CardinalMPI>" string and replace the same string above two lines of the string. Code: Nov 16, 2012 12:58:34 PM INFO: Centinel LookUp ResponseXML  :  <CardinalMPI>...

View Article


Add new EML 103e Tape Library in SUN Solaris Host to implement HP DP

Hi, Our environment is SUN Solaris. We have purchased HP EML 103e tape library. Can you please let me know do I need to install any Driver of newly added Tape Library to see from the Solaris Host? or...

View Article


Image may be NSFW.
Clik here to view.

[HELP] How to create a NIC eth0 in CentOs 6.3.

I make many service in Centos 6.3 so I clone and copy any edition to do, but I don't see a NIC eth0, What I have to do to used eth0 ?, and how to create it ? It some picture:

View Article

Image may be NSFW.
Clik here to view.

Help me in automating the recycling of UNIX server

Hello everyone...I am very new to UNIX hence needs your help in below. i have written a script to change some configuration in property files and its working fine.but to reflect that change at the...

View Article

awk decriment loop

Hi all, could you please help me - a complete newbie - with the following task. I have such data: 12345678 and i need to split it into all possible sequences of 4 chars, like this: 1234_5678 and then...

View Article


I can't get apache or gzip to install

Ok who wants to play with this server and assist me? I'm super stuck and need to get it up and running. :)

View Article

Ex1 homework help

hello I trying to run a program called bb with this Linux shell code and its looking in this directories: trying to run bb in /usr/lib/lightdm/lightdm trying to run bb in /usr/local/sbin trying to run...

View Article

Image may be NSFW.
Clik here to view.

Need help with this script

hi i have this file (teste.cfg) with this information Code: ## #======== User Subscribers ======== F: user1 221145689 1 0 0 { 0:0:1 } # 24-12-2012 ; Comment F: user2 224458710 1 0 0 { 0:0:1 } #...

View Article


Parse (delimited string) key-value pairs in a column into separate lines

Hi experts, e.g. i/p data looks like Code: 0000xm7zcNDIkP888vRqGv93xA7:176n00qql||9700005405552747,9700005405717924,9700005405733788|unidentified,unidentified,unidentified|| o/p data should like -...

View Article


Insert a new line between the XML tags?.

Code: <TestLog> <TriggerAPI> <StartDate>Nov 16, 2012 6:34:02 AM com.satttest01.Response() </StartDate> <RequestType>SUCCESS: Send :</RequestType>...

View Article

Parse key-value pair into separate rows

Hi, I'm getting key-value pairs in a string as follows - Code: 0000xm7zcNDIkP888vRqGv93xA7:176n00qql||9700005405552747,9700005405717924,9700005405733788|unidentified,unidentified,unidentified I need...

View Article

Shell Script - (file and directory)

The question is here: http://farm9.staticflickr.com/8065/8...54e64904_b.jpg My problem is that when I made up a non-existing directory, it prints out "hiii". It didn't enter the first if statement. It...

View Article

Shell Script - (File and Directory)

1. The problem statement, all variables and given/known data: My problem is that when I made up a non-existing directory, it prints out "hiii". It didn't enter the first if statement. It works if my...

View Article


Command getting skipped

Hi All, Its been a long time!!!!!! Having one problem in our live server.... we have perl code which runs every day for almost 15 to 18hrs process and it creates almost 150 to 200 sub process (arc get)...

View Article

Simple Shell Scripting

1. The problem statement, all variables and given/known data: An argument example: ../path/cse/lab3/remove Right now, it's printing out all the directory and files in 'lab3'. I want it to print out all...

View Article


Fsck command without any option

Dear all, I want to execute fsck command,can i execute fsck command without any option asking for more confidence. Thanks and Regards Monoj Das

View Article

Cp script like rsync

Hi Folks, I have a NAS running busybox with a ARM processor. Several PC's backup full weekly and several daily incrementals to the NAS. The NAS has two USB attached disks, which are swapped off site...

View Article


Extract values from multi lined url source

Hello, I want extract multi values from multi url source to a csv text. Thank you very much for help. my curl code : curl "http://www.web.com/cities/[1-1000]/city.html Source code: Code: div...

View Article

Search for a string, then append character to end of that line only

I have 2 files that I am working with Code: $ cat file1 server1 server3 server5 server6 server8 Code: $ cat file2 server1;Solaris; server2; SLES; server3;Linux; server4; Solaris; server5;SLES;...

View Article

Netscape Enterprise Server

Does anybody have any use for Netscape Enterprise Server Version 2.0.1 for Unix? I found a shrink wrapped box of this server in a seldom used closet. I know it's old.

View Article
Browsing all 16232 articles
Browse latest View live