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

awk read one delimited file, search another delimited file

Hello folks, I have another doozy. I have two files. The first file has four fields in it. These four fields map to different locations in my second file. What I want to do is read the master file...

View Article


Get the same result using "-v"

Hi ppl So i have a commando that goes like this Code: grep '^[^aeiouy]*$' file.txt I have an exercise where i have to ge the same result using "grep -v" and im a big noob when it comes to regular...

View Article


Understand script formte

Hi i have one script and i am running it but not getting current output so i want to understand how to input in the script. when i do help then i am getting below massage thanks got it

View Article

Image may be NSFW.
Clik here to view.

Script to compare substrings of multiple filenames and move to different...

Hi there, I am having trouble with a script I have written, which is designed to search through a directory for a header and payload file, retrieve a string from both filenames, compare this string and...

View Article

My RHEL virtual Machine Does not have Virtual Machine Manager Desktop Tool

My RHEL virtual Machine Does not have Virtual Machine Manager Desktop Tool Hi, I don't seem to have the Virtual Machine Manager Desktop tool set up on my RHEL6 Machine. The Linux machine runs off...

View Article


Delete to eol after PASS with sed

working on script and saving ftp log before log save want to remove the password password appears after constant "PASS" thanks pp

View Article

Delete to eol after pattern with sed

working on interactive ftp script saving log and want to remove the password from log so "quote PASS foofoo" would become "quote PASS XXXXXXX" replacing or removing the password is of no matter have...

View Article

AIX 5300-05-06-0000 to 5300-09-00-0846 FAILED

I'm having this trouble when smit update_all. ========================================================== MISSING REQUISITES: The following filesets are required by one or more of the selected filesets...

View Article


Insert text line to specific location CSV

In Perl. ***edited question below*** Hey all, I am teaching myself some simple CSV file manipulation and have become a little stuck. Say I have the following layout in the CSV file: Code:...

View Article


Dividing traffic with u32 iptables filter

I would like to divide traffic between two squid servers. I have been thinking about using iptables u32 filter, to check last bit of ip address which is comming to gateway. Then I would like to direct...

View Article

Script to check transfer was successful

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Write a script that...

View Article

Install using a ZFS FLAR on x86

Hi, Been rattling my brain on this one, trying to install multiple systems using the FLASH method from a cdrom booted image s10u10, with flar image hosted on a FTP server.. System installs fine with...

View Article

Installing X-manager in redhat 5.3

Dear all, I want to install X-manager in my linux 5.3 server so that i can access it from any windows computer. Can any one give me download link to x-manager for linux and steps to install the same in...

View Article


[Solved] Using nohup

Hi, on AIX 6.1 Will this work : Code: mycommande & Or it should be : Code: nohup mycommande & It seems that nohup mycommande & is faster than : Code: mycommande Thanks.

View Article

sed not working while passing the variable to print

Hi I have below sed to search and print particular line that matches in file and prints it, which is actually working fine as expected. Code: sed -n "/^2012-11-19 23:[0]*/p" filename but if I replace...

View Article


Remove bad records from file and move them into a file then send those via email

Hi my requirement is that i want pull the bad records from input file and move those records in to a seperate file. that file has to be sent via email.. any suggentions please

View Article

How do you identify a java process?

Hi, how do you identify if a java process is running in Unix? So for example if I have 8 JVM's running but I want to make sure one of them has definately stopped?

View Article


Awk: from two file create a mail with attached error

Hi. My name is Mirko I have two file. File 1: Code: mio@mio.it tst@test.com bye@bye.fr File 2: Code: error 08 ffff mio@mio.it test error 05 ffff bye@bye.fr test error 11 ffff tst@test.com test error 65...

View Article

Write command

Hi to all the members at unix.com I have an issue in write command. Alhtough i know that basically the write command is used to write at the terminal. So suppose i use the write command then at the...

View Article

Multiple Query Results to Variables

Hello, I am very new to shell scripting and I am not sure of how best to handle the following scenario. I need to query a list of values from a table. I need to store those results and use them to...

View Article
Browsing all 16232 articles
Browse latest View live