Search Results

Search: Posts Made By: amir07
2,407
Posted By amir07
The reason tmscsi ignored because there is no...
The reason tmscsi ignored because there is no manufacturer name, serial number and part number.
ssa1 also need to be reported.
all devices with manufacturer name, seriall number and part number...
2,407
Posted By amir07
IBM AIX 5.3 shell script device needs to be...
IBM AIX 5.3
shell script
device needs to be sorted
i will put my code what I have
2,407
Posted By amir07
Parsing a log file and creating a report script
The log file is huge and lot of information, i would like to parse and make a report .

below is the log file looks like:

REPORT DATE: Mon Aug 10 04:16:17 CDT 2017
SYSTEN VER: v1.3.0.9...
682
Posted By amir07
Thank you; have tried but the column header for...
Thank you; have tried but the column header for each item (Hostname Modelname SerialID ) not showing up.
682
Posted By amir07
Shell script help
I have the following script which repeats the heading of the following :

Hostname Modelname SerialID

I would like only once heading not repeating .

Thanks,


for h in AIXMC01...
1,062
Posted By amir07
I am using AIX, and it did worked for me unxpand...
I am using AIX, and it did worked for me unxpand -a <filename
>

Please use CODE tags as required by forum rules!
1,062
Posted By amir07
Convert mutiple spaces file to single tab
I have the following file I wanted to convert mutiple spaces to tab:

I tried cat filename | tr ' ' '\t' or sed 's/ */ /' FILE

but it looses the format

5557263102 5557263102 ...
1,918
Posted By amir07
since the codes are long, I am saving it as a...
since the codes are long, I am saving it as a file (comp_host) and then trying to run it
I am running it on AIX

here I put it :

#! /bin/awk -f
awk '
NR==FNR {s=substr($2,6,7); a[s]=s;...
1,918
Posted By amir07
Thank you so much. apparently both code...
Thank you so much.
apparently
both code returning 3 digits


****returns three digits
xxx
xxx
xxx

---------- Post updated at 03:55 PM ---------- Previous update was at 09:27 AM...
1,918
Posted By amir07
Comparing two files field and position
I have two files : file1 and file2

file1 format:

7026-H70 7026-1017685
7026-H70 7026-1017687
7026-B80 7026-108D65A
7026-B80 7026-108D67A
7046-B50 7026-1034B4A...
1,048
Posted By amir07
What i am trying to create a script so that all...
What i am trying to create a script so that all can be done in 1 shot:

something like this:

for h in Server1 Server2
(execute script:
script1 - server 1 - /xxx/xxx/dir
scrpt 2 - server 2...
1,048
Posted By amir07
Running two scripts and then compare match or unmatch
Hello !
I need to run two diff script to two different remote server and then compare flies from server3.

script1 - server 1 - /xxx/xxx/dir
scrpt 2 - server 2 /xxx/xxx/dir


script1 already...
3,213
Posted By amir07
sort hostname in numerically: Hostname ...
sort hostname in numerically:

Hostname Modelname SerialID
AIXMC01 IBM,7026-B80 IBM,0110BBA1F
AIXMC02 IBM,7026-H50 IBM,0110BBA56
AIXMC03 IBM,7026-H50 IBM,0110BBARR...
3,213
Posted By amir07
basically I need sort to numeerically sort -n |...
basically I need sort to numeerically
sort -n | uniq in the script.
3,213
Posted By amir07
As I mentioned passwordless ssh already in place....
As I mentioned passwordless ssh already in place.
When I enter : sudo su -
I can ssh to any boxes I like.
I need help to add sudo su - logic in the script for each boxes.
for h in AIXMC01...
3,213
Posted By amir07
Thanks, Actually I found a way to ssh...
Thanks,

Actually I found a way to ssh without passwd to any remote boxes.
the following command " sudo su - "
now please help me to to put this logic (sudo su - ) in above script so that I can...
3,213
Posted By amir07
Each box has username and password and password...
Each box has username and password and password changes every 60 days; I can hardcode the username and passwd.

Thanks,

---------- Post updated at 10:49 AM ---------- Previous update was at...
3,213
Posted By amir07
shell script to collect information from current and remote unix boxes
I am using AIX 5.3.0.0 ; I need a script to find out each remote AIX boxes
Hostname, Model name and Serial number in following format

Hostname Modelname SerialID
AIXMC01 IBM,7026-B80...
3,178
Posted By amir07
It did not work for me in AIX.
It did not work for me in AIX.
Forum: Red Hat 03-31-2009
3,607
Posted By amir07
linux server with raid controller card
I am planning on building a fedora box with raid controller (database server).
Is anybody done that ? also what kind of software do you need to backup and recover data.
1,590
Posted By amir07
Thank you very much, that was easy but did not...
Thank you very much, that was easy but did not thought about it.
1,590
Posted By amir07
sort first field start with "ROM"
Hello!

I have the following file when I grep just for "ROM" i get everything but
I am looking for line start with "ROM" only in the first field only, where "ROM" is the first 3 characters.
...
1,436
Posted By amir07
The last code is pretty good, since I have...
The last code is pretty good, since I have multiple files how do I integrate the code, should I put wilcard * , since all of the filename starts with ipcheck. Also in I realized that there are two...
1,436
Posted By amir07
sorting from several files for a specific data
Please assist:

I have several files and all of the files have the same data format like following:
All I need to get item next to "name" field and the "address" field from each file which has...
2,311
Posted By amir07
Thanks, egrep worked, thank you very much.
Thanks, egrep worked, thank you very much.
Showing results 1 to 25 of 56

 
All times are GMT -4. The time now is 04:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy