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

[Solved] intelligent splitting?

Hi, I want to split a file into multiple ones, with a new file for every line in the old file. Typically it is in this format Code: 0.25 20 35.7143 0.5 31 55.3571 0.85 3 5.35714 1.3 2 3.57143 I can...

View Article


research an expression in VI editor

Hi, how to look for an expression like : Code: [09/06/12 00:03:44] or Code:  Client ChkAeStatus4 service in VI ? For a word , of cours : Code: /word But for an expression ? Thank you.

View Article


Help with duplicate column 1 data

Input file Code: Q6GZV8  AY548484>AAT09676.1>YP_031595.1>2947737>CLSP2512393 P0C9E9  AY261366 P0C9K3  AY261361>IPR004848>PF01639 P0C9I4  AY261363>IPR004848 Desired output file...

View Article

Unable to retrieve data from shell when connected to Oracle

I am trying to get the data from oracle table to a variable I have tried the below code Code: #/usr/bin/sh         echo " I am in correct loop"         SPOOL_FILE=/app/scripts/alt.lst       sqlplus...

View Article

No $ when typing cw

Hi As a dummy my question is very simple. When typing cw I've read (many times) that a '$' should appear at the end of the word I'm about to change. However, it doesn't, and in my case the word is...

View Article


Format a log file using sed

I am looking to extract something like this from the below sample log file. 10.28.76.15 SSLC=Z42 71.19.175.130 10.28.76.15 SSLC=Z42 71.19.175.130 10.28.76.15 SSLC=Z42 71.19.175.130 for that I tried...

View Article

Match look up file and find result

Hi I ahve a lookup file wiht seven words Code: CD HT CAD HT T1D T2D BD another file contain data like this Code: CHRM1    P11229    Pirenzepine    DAP000492    Peptic ulcer disease    Approved T2D...

View Article

passwd command not working in single user mode

dear all in single user mode i want to change password in RHEL server 6.0 (Santiago) i tired using passwd command it is not able to change. how to change it. thanks in advance

View Article


Image may be NSFW.
Clik here to view.

Lines to Column conversion

Hi All, I have a sample file with content: Code: [root@xyx1 tmp]# cat test1.txt mahesh suresh anil [root@xyx1 tmp]# I need to get it like this: Code: m s a a u n h r i e e l s s h h Basically row to...

View Article


Image may be NSFW.
Clik here to view.

script to reinitialize the files

Hi, My requirement is : In our AIX system we have log files like : Code: SH1012.LGO sh123.txt sh453.txt sh267.txt SH1015.LGO SH1014.LGO So i just want to reinitialize all files to zero every morning...

View Article

ssh connection unstable on remote server

Hi I hope someone can spot what is wrong with this ssh connection as it has me baffled. I am trying to set up a remote ssh connection (passwordless) to a remote 'server', (Ubuntu laptop at home). I...

View Article

Date command

Just writing a script as part of a backup procedure to use a data file 7 days previous if there has not been one sent over. Got stuck on trying to get the date command to insert the date from 7 days...

View Article

i undertake oders for fresh and updated Dumps and bank logins, About bank...

Welcome To Global Dumps We are a group of Ethical Hackers based in the Turkey but our staff comprises of Experienced hackers around the world, we have over the years strategically recruited the best...

View Article


i undertake oders for fresh and updated Dumps and bank logins, About bank...

Welcome To Global Dumps We are a group of Ethical Hackers based in the Turkey but our staff comprises of Experienced hackers around the world, we have over the years strategically recruited the best...

View Article

i undertake oders for fresh and updated Dumps and bank logins, About bank...

Welcome To Global Dumps We are a group of Ethical Hackers based in the Turkey but our staff comprises of Experienced hackers around the world, we have over the years strategically recruited the best...

View Article


How to reuse values in Shell script

Hi I am trying to write a shell script and wanted to re-use the value which I have entered already. Here is the sample code. Code: echo "Enter Value : \c" ; read val echo  "Enter number: $val\c" ; read...

View Article

Mail Attachment...

Hi All, I am new to unix. I have written the script to identify the delimiter count for my source file and the output I have to capture in another file and that file should sent to mail with...

View Article


Retrieve data from one file comparing the ID in the second file

Hi all, I have one file with IDs Code: Q8NDM7 P0C1S8 Q8TF30 Q9BRP8 O00258 Q6AWC2 Q9ULE0 Q702N8 A4UGR9 Q13426 Q6P2D8 Q9ULM3 A8MXQ7 I want to compare ID file with another file which has complete...

View Article

perl : number to date conversion in CVS file

I have a CSV file in the below format. while generating CSV file from excel sheet , date in excel sheet(Format :Mon 8/28/2012) got converted into the below format with numbers 41148,41149 so on. Could...

View Article

Combine two regular expression perl

Dear All, Code: my $tmp="*3f4#_#33#" if ($tmp =~ tr/*// > 1 || $tmp =~ tr/#// > 2) { print "yes"; } any possible to combine both regular expression into one? Thanks

View Article
Browsing all 16232 articles
Browse latest View live