👤
Home Man
Search
Today's Posts
Register

Showing results 1 to 25 of 500
Search took 0.11 seconds.
Search: Posts Made By: rbatte1
Forum: UNIX for Advanced & Expert Users 14 Hours Ago
Replies: 2
Views: 73
Posted By rbatte1
A few thoughts:- Are the lights on the...

A few thoughts:-


Are the lights on the two fibre cards?
Have you done anything to probe for the AIX-end fibre card at the SAN end?
Have you tried a known good cable in a test rig, tried it...
Forum: Shell Programming and Scripting 2 Weeks Ago
Replies: 5
Views: 247
Posted By rbatte1
It might also be worth doing sha1sum on each file...

It might also be worth doing sha1sum on each file to compare the derived checksum value. If that is not available, try using sum which is not so detailed but is more widely available.

Perhaps the...
Forum: UNIX for Advanced & Expert Users 2 Weeks Ago
Replies: 6
Views: 246
Posted By rbatte1
For AIX, MadeInGermany has the correct format...

For AIX, MadeInGermany has the correct format because compress is the default tool available there and the -z for tar is not an option:-



Use a - for the output filename to send it to STDOUT
...
Forum: UNIX for Advanced & Expert Users 2 Weeks Ago
Replies: 6
Views: 246
Posted By rbatte1
There are variations depending on your OS, which...

There are variations depending on your OS, which you haven't told us. What OS flavour and version are you using? There are lots to choose from, AIX, HPUX, Solaris, OEL., CentOS, Fedora, RedHat,...
Forum: UNIX for Beginners Questions & Answers 3 Weeks Ago
Replies: 42
Views: 760
Posted By rbatte1
There are probably many was to do this sort of...

There are probably many was to do this sort of thing, however if you are looking at cloning/virtualising a server, I would point you to something like Storix although there are other products like...
Forum: UNIX for Advanced & Expert Users 3 Weeks Ago
Replies: 5
Views: 238
Posted By rbatte1
Can you get a very simple proof of concept script...

Can you get a very simple proof of concept script to work? A quick "Hello-world" through the same mechanism would hopefully show if it is the process of elevating privilege or the commands actually...
Forum: Shell Programming and Scripting 3 Weeks Ago
Replies: 1
Views: 207
Posted By rbatte1
The -q flag makes grep avoid producing output, so...

The -q flag makes grep avoid producing output, so it is doing what you ask. There will therefore not be any input to the second (or third) grep in the pipeline. The return code will be from the...
Forum: Shell Programming and Scripting 3 Weeks Ago
Replies: 7
Views: 277
Posted By rbatte1
Welcome tron12, I have a few to questions...

Welcome tron12,

I have a few to questions pose in response first:-
Is this homework/assignment? There are specific forums for these.
What have you tried so far?
What output/errors do you...
Forum: Shell Programming and Scripting 3 Weeks Ago
Replies: 1
Views: 225
Posted By rbatte1
What shell is this? I don't recognise it. It...

What shell is this? I don't recognise it. It looks more like C to me. If it is, we can move it to a more suitable forum.



Thanks, in advance,
Robin
Forum: AIX 3 Weeks Ago
Replies: 3
Views: 207
Posted By rbatte1
Could you not have multiple groups defined in the...

Could you not have multiple groups defined in the sugroups= field for the root account and add a group that ONLY has your backdoor account in? I'm pretty sure it is a comma separated list but I...
Forum: Shell Programming and Scripting 4 Weeks Ago
Replies: 5
Views: 234
Posted By rbatte1
Good to know that these are already in...

Good to know that these are already in hand/planned. If rootvg is large, what do you do with a mksysb image? You can trim this down, of course, but it's messy and needs maintenance.

Personally...
Forum: Shell Programming and Scripting 4 Weeks Ago
Replies: 5
Views: 234
Posted By rbatte1
Do you also check for the boot device being on...

Do you also check for the boot device being on both/all disks in rootvg and the dump device? I had a suggestion that the dump device should not be mirrored, so we created two separate devices, on...
Forum: What is on Your Mind? 4 Weeks Ago
Replies: 8
Views: 262
Posted By rbatte1
Perhaps this is this the Kudos you really want?...

Perhaps this is this the Kudos you really want? https://tse4.mm.bing.net/th?id=OIP.Cbz7kOO53IjEqyHPZ1SligEsEs&pid=Api


Sorry, but I can only add my thanks and congratulations to the ever growing...
Forum: Shell Programming and Scripting 4 Weeks Ago
Replies: 1
Views: 265
Posted By rbatte1
Can you retrieve the file from SCCS though? The...

Can you retrieve the file from SCCS though? The process does not just 'store your file', it stores a baseline version of your file that you can then work on and have a version history. You should...
Forum: How to Post in the The UNIX and Linux Forums 07-11-2018
Replies: 1
Views: 262
Posted By rbatte1
Presumably the servers in question would have a...

Presumably the servers in question would have a static permanent/management IP address that always directs you to the server you want and the VIP that moves depending where the service is running.
...
Forum: UNIX for Beginners Questions & Answers 07-11-2018
Replies: 5
Views: 178
Posted By rbatte1
How about cut? Not the sharpest hammer in the...

How about cut? Not the sharpest hammer in the box, but useful:-cut -f4- -d"/" input_file > output_fileThe -f value has a trailing - so it will grab anything beyond the 3rd /, including other /s if...
Forum: Shell Programming and Scripting 07-11-2018
Replies: 9
Views: 338
Posted By rbatte1
if pgrep isn't what you want, could you make an...

if pgrep isn't what you want, could you make an expression from the item you are searching for? I avoid using a contruct like ps -ef | grep this | grep -v grep byt writing it as ps -ef | grep -E...
Forum: UNIX for Beginners Questions & Answers 07-11-2018
Replies: 3
Views: 170
Posted By rbatte1
You also need to ensure that your file creation...

You also need to ensure that your file creation and all the output being put into it is Atomic, i.e. a single operation that takes a single IO. Often this is done by creating the file and building...
Forum: Shell Programming and Scripting 07-11-2018
Replies: 9
Views: 348
Posted By rbatte1
Assuming that your code actually starts...

Assuming that your code actually starts #!/bin/bash then you can actually simplify this to:-#!/bin/bash

[ -z "$1" ] && echo "On doit donner un dossier." && exit

for ficher in /folder/$1/*
do
...
Forum: Shell Programming and Scripting 07-10-2018
Replies: 5
Views: 305
Posted By rbatte1
So your script might start:-#!/bin/bash echo...

So your script might start:-#!/bin/bash

echo "$(date) : This is the start"

if [ $(esxcli software vib list | grep -ic net-mst) -eq 1 ]
then
echo "$(date) : Software found"
esxcli...
Forum: Shell Programming and Scripting 07-10-2018
Replies: 9
Views: 348
Posted By rbatte1
Wold you be better with the find command? You...

Wold you be better with the find command? You can ask it to locate files of the name format you need and call a command for each one found.

Perhaps this will get you started:-find...
Forum: Shell Programming and Scripting 07-10-2018
Replies: 5
Views: 305
Posted By rbatte1
This look a little like a shell script, in which...

This look a little like a shell script, in which case i would say that you finish an if...then... whith a fi but your condition for the if needs to be fixed somewhat.

What does esxcli software vib...
Forum: Shell Programming and Scripting 07-10-2018
Replies: 4
Views: 261
Posted By rbatte1
To explain a little more, the string you want to...

To explain a little more, the string you want to compare has spaces in it. The syntax of the if test is does this item have a relationship with another item. The space inthe string means that you...
Forum: UNIX for Advanced & Expert Users 07-10-2018
Replies: 4
Views: 272
Posted By rbatte1
The smit or smitty panels are the System...

The smit or smitty panels are the System Management Interface Tool and are just helpful panels to complete tasks that you can do on the command line, if you know how.

Is there a specific subject...
Forum: UNIX for Beginners Questions & Answers 07-02-2018
Replies: 2
Views: 265
Posted By rbatte1
Please paste (in CODE tags) your ssh command and...

Please paste (in CODE tags) your ssh command and the output you receive.

Is the connection actually established & login completed, but you get an annoying message?



Thanks, in advance,
Robin
Showing results 1 to 25 of 500

 


All times are GMT -4. The time now is 03:12 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password