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

File size limitation in the EST 2012 x86_64 GNU/Linux

Hello Friends, I tried to take tar backup in my server, but it ended with an error. It said that: Code: /home/back/pallava_backup/fbackup_backup/stape_config /home/back/romam_new.tar.gz tar:...

View Article


How to read a number from a file?

hello guys, I'm struggled to get a number from a very long text file. Code: NAtoms=  33 NActive=  30 NUniq=  23 SFac= 1.00D+00 NAtFMM=  60 NAOKFM=F Big=F  Integral buffers will be    131072 words long....

View Article


Logging the IP from original host not the jumphost

how can you log the ip from their each host? not from jump host? is there anyway regex can do that? Code: example. server1.yourownhost server2.jumphost server3.outsidehost If you will login to...

View Article

Find and Copy file of specific location

Dear All, I need to transfer all files present in one location to another but those files should be of specific extension like. Find and copy all files of extension .xls, .pdf, .txt from location...

View Article

Help in using html in Shell script

Hi, I made a script that displays various fileds of report that are required in csv format and send it on mail(the csv file). Now I want to convert the csv format into html table and then send it on...

View Article


Remove files in directories

I am trying to remove files from a couple of directories after a process completes. Below is what I have so far, but the command does not run and cygwin closes too fast to read the error. Also, is it...

View Article

Vi delete line with second occurence of pattern

I have a large file and many lines are duplicated. I'm trying to delete lines with every second occurrence of a pattern. Did tried searching similar question but no luck. I can delete all lines...

View Article

Find all possible intersecting sets of cardinality 3 or more

Hi Gurus. Please consider the following problem where col1 is the set name and col2 is comma delimited elements in the corresponding set. I have about 2600 such rows. In: Code: A v1,v2,v3,v4 B...

View Article


Reporting where values match and mismatch across three columns

Hello, I have values in three columns. Some values occur in all three columns, other values are present in only one or two columns. I would like to be able to see where the matches and mismatches...

View Article


Add new LUN in AIX

Hello all! I have not so much experience with AIX We have test p5 server. On server was deployed VIOS + 3 LPAR + AIX6.1 There is a test HACMP cluster of two nodes, the cluster is identical to...

View Article

Perl script to find last column

Dear all, I am new bee in perl scripting,i have generated one report in which i want to paste some data/text at the end,plz help me format is like this Code: $worksheet1->write(...

View Article

Doubt regarding whence program

Hi all, In production code, if using the whence command it picks the production file.if I am using the test code file. by using whence command it not picking the file. do you have any idea on this....

View Article

Prioritizing scripts under /etc/init.d/

Hello Team, I work on IBM TWS ( Tivoli Workload Scheduler ) administration. I have placed TWS service stop and start script under directory /etc/init.d/ in my Linux server and coded email alert when...

View Article


How to fetch all running services on HP-UX?

Hi All, I have a requirement to get all the running services on few HP-UX boxes. In Linux systems I am able to do that successfully using: chkconfig --list. However I can't find anything equivalent in...

View Article

Count or list number of distinct months in a Date range

I have to count the number of distinct months in a date range. My table (test_st)structure is Code: create table test_hist (st_date date, en_date date, status number); Table Data is: Code: st_date...

View Article


Need assistance with looping

Hi, I have a find command that searches for all the .properties under current directory and its subdirectories. Code: find . -name "*.properties" I would like to pass the output of the above find...

View Article

Image may be NSFW.
Clik here to view.

Variable not found error in while loop

I am unable to use the value of a variable. Code: while [[ $LstFldDataPartFldCnt -eq 1 ]]                                 do                                         LstFldDataPart =`head -n...

View Article


Search words in multiple file line by line

Hi All I have to search servers name say like 1000+ "unique names" line by line in child.txt files in another file that is a master file where all server present say "master.txt",if child.txt's server...

View Article

Persistent terminal windows across viewer disconnects

Is there a way to have persistent terminal windows to redhat server across viewer disconnects? I can do that with the help of an extra MS Windows server and rdp, but is there a way of doing that...

View Article

Image may be NSFW.
Clik here to view.

Bash menu not running

The perl command is not executing? I am trying to run the .pl in my cygwin home directory (C:\cygwin\home\cmccabe) using ${id}.txt.hg19_multianno.txt (located in the annovar directory) as the input...

View Article
Browsing all 16232 articles
Browse latest View live