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

Cannot see disks while tryin to install CentOS 7

Cannot see disks while tryin to install CentOS 7 at IBM X3550 M3 It shows that no disk present insystem, though 2 disks inserted (using RAID controller). is ther e anything should be done so CentOS...

View Article


[awk] Compare two files

HI!! I am trying to compare two files using AWK but I have some problems. I need to count how many times letters are used in two texts. This is my script Code: {   long=length($0)     for...

View Article


Printing more info than find command gives out

Hi, I am trying to find files that are more than a gig with this command Code: find . -size +1073741823c and it just gives me the names of the files. How do i get it to give me the actual size of the...

View Article

How to use Grep properly?

Hi Forum Im making a script that takes multiple unix users and lists the users and the groups that the user is part of. the grouplist looks like this Code:...

View Article

awk error when increasing number of files in folder

I have a folder with several files of which I want to eliminate all of the terms that they have in common using `awk`. Here is the script that I have been using: Code:     awk '...

View Article


Grep 'time' in save records

Hi Team, Is there a way to grep time taken to save records. Its like there is one webpage where when I click save button taking so much time to save result. Therefore, I want to grep that time taken to...

View Article

Sql multi line comment /* shell interpretation issue

Greetings Experts, I do have some basic knowledge of Unix. The task I am trying to do through shell script is to generate the view script for all of the tables which is in YYYYMMDD format (I assume I...

View Article

Python update variable name in for loop

Hello all, Not sure if this question has been answered already. I have some xml Element variable as below: Code: child19 = core_elem_dcache.find('stat[@name="read_accesses"]')     child20 =...

View Article


Image may be NSFW.
Clik here to view.

Need Time Stamp Range On Log Files

I have created this script Code: #!/bin/sh FILES=/data/log/access_*.log for f in $FILES do echo "Processing $f file" cat $f | awk '{print $1}' | sort | uniq -c | sort -n | tail done It produces this...

View Article


How to Find List of MQ and Websphere certificates that are installed on Linux...

Dear All, I am planning to find the list of certificates(WEBshpere/MQ) on a servers. My certificates are either stored in (.jks) / (.pem)/ (.cer) . But some of the certificates are stored without these...

View Article

Anyone used FASTech CELLworks?

Hi everyone. I'm trying to figure out an ancient software automation tool for Solaris called CELLworks from FASTech. It was used in the semiconductor industry and other automation industries and allows...

View Article

Connecting via proxy chain to Upstream proxy

I need to configure a proxy on my local machine to use an upstream proxy (installed on another machine). The upstream proxy requires Digest/NTLM authorization. I want the local proxy to deal with the...

View Article

Regular expression match

Code: echo 20110101 | awk '{ print match($0,/^((17||18||19||20)[0-9][0-9]|[0-9][0-9])-*([1-9]|0[1-9]|1[012])-*([1-9]|0[1-9]|[12][0-9]|3[01])$/)) I am getting a match for the above, where as it...

View Article


Parser

Hi All, I am trying to create a parser to find out what cobol programs are being called by which JCL's. I need to search recursively until the main cobol program is found being called by a JCL. I tried...

View Article

Help with naming the file

Hi, I have a folder that contains files Code: abc.txt def.txt ....and so on Inside abc.txt, I have Code: @<TRIPOS>MOLECULE...

View Article


Find a file and if exists , execute a different file

Good Morning All, I'm a novice and please excuse me if i did miss some of the forum rules. What my intention is, i have a file (services) residing @ /u01/Oracle/services. I know i can use the find...

View Article

How to use grep with multiple patterns?

I am trying to grep a variable with multiple lines with multiple patterns below is the pattern list in a variable called "grouplst", each pattern is speerated by "|" Code:...

View Article


Create specific output

I have a file that looks like the below and only need certain lines, but am not sure how to do that. It is basically everything from the @HD up to the @RG. Thank you :). file.txt - input Code: @HD...

View Article

Bigip F5

Hi - How to find the administative/management IP of a BigIP F5 load balancer from Linux server? Any linux command like nslookup,dnslookup etc... Thanks in advance.

View Article

awk book

I was hoping someone could recommend a good book for awk. Maybe an online class?

View Article
Browsing all 16232 articles
Browse latest View live