Hi everyone,
I'm afraid ... It is driving me crazy again ... :-/
I'm trying to use
find ./ -name XYZ -mtime +50
... without diving into any of the subdirectories, because he's supposed to find certain files in the main directory and move them into the subdirectories ...
But somehow ...
Hello everyone,
using ksh I need to figure out how many days have passed between a timestamp and the current date of today.
Format of the timestamp is:
YYYYMMDD (e.G. 20200703)
Using
date +%Y%m%d
will give me the correct format for the current date and at first sight simply substracting...
Hi Folks,
I've got the following Problem:
We defined an NFS Share on one of our AIX Systems (NFS Version 3) and tried to Mount it on a SLES 12 machine.
Manually using
mount -t nfs 111.11.1.11:/share /mountpoint -o nfsvers=3
works fine so far ...
But how the heck do I put this into...
Hi everyone,
I included the following function into my latest script:
function fkt_continue
{
echo "\033[1;36mPress any key to continue (or <Q> to quit) ...\033[m"
stty -echo
stty raw
key=$(dd bs=1 count=1 2> /dev/null) > /dev/null
stty echo
stty -raw
if [ $key = "Q" -o "q" ];
then
exit 1...
Hello again,
I'm facing the following Problem (AIX, ksh):
I got a list containing the following columns:
Filename;OrderNo;ModifyDateofFile
Now the challenge is to filter out all the entries with the same OrderNo and only keep the one with the latest ModifyDateofFile Timestamp ...
Any...
Hi Folks,
when I use
ssh padmin@vioserver "lsmap -all"
it Returns
rksh: lsmap: not found.
If I Login to the VIO Server as padmin first and then execute the command, everything is fine.
Is there any way to make it possible to execute commands "remote" without having to Login first ...
Hi folks,
sorry I must be getting a little bit rusty ... :-(
Could you help me out with the following:
I have 5 Variables (A B C D E).
Each Variable is starting with a value of 1 and can count up to 2000.
I want to start with A=1 B=1 C=1 D=1 E=1 and first count up E up to 2000.
As soon as it...
Hello everyone,
I know this is kind of a basic question but no matter how much I google, I just can't figure out how to do it ... :-(
I have several forms. Each with a question you can answer checking one of the provided radio buttons. Like this:
<form action="radio.html" method="post">...
Hello everyone,
using ksh so far I know that if I would like to fill an Array I can e.G. use something like this:
set -A arrayname $(cat file)
set -A arrayname $(some command)
But what if I do not wish to fill the Array all at once ?
Let's say I have a list of Servers. Now I ping each one...
Hi folks,
I found a little script to run a slideshow on my page:
<!DOCTYPE html>
<html>
<head>
<title>Slideshow</title>
</head>
<body>
<?php
# Imagedirectory
$verzeichnis = "2/";
# Speed
# 3000 = 3 Seconds
$peed = 1000;
echo "
<div style='text-align: center;'><img id='dummy'...
Hi everyone,
I was wondering:
On our Systems we Keep the definitions of unused LPARs that have no more disks attached to it and have been shut down so that we don't have to perform all the creation steps again if we Need a new LPAR somewhere in the future.
Now the Problem is, that the...
Hi Folks,
I was wondering ... ;-)
I know I can create an Array using
set -A myarray $(cat filename.txt)
So ... Is it possible to do the same using Variables like that:
for i in sys1 sys2 sys3;
do
set -A AR$i $(cat /tmp/$i.txt)
done
Using the code from above I Keep getting the error...
Hi everyone,
I understand that you can use
cat something.txt | sed -ne '1p'
cat something.txt | sed -ne '2,4p'
to either extract one or several lines from an Output.
However ...
How can it be accomplished to extract several specific lines from an Output ?
Let's say I want only lines 2,5...
Hi everyone,
I was wondering:
How can it be accomplished, that all non rootvg filesystems are being automatically unmounted before System reboots when issuing the "reboot" command ?
I understand there's the rc.shutdown file but this seems to work with "shutdown" command only and NOT with...
Hello everyone,
when accessing lpar2rrd using Browser it shows strange blocks under graphs instead of Text as it is supposed to.
Same issue occured when trying to display Ganglia Graphs.
I've attached an example to this message.
Any ideas ?
Regards...
Folks,
it's driving me crazy again !!!
Following problem:
We're using Shell Scripts to start/stop applications on our servers.
Some of them include unmounting several filesystems as well.
Now, there are some systems where - after shutting down the application - several processes remain...
Hello everyone,
I was wondering:
Is it possible to set rights on nss volumes in a way that users are ALLOWED to create Files within a Directory structure but are DENIED to create Directories within that structure ?
Regards,
Thomas
Hello everyone,
I need to create an array containing the description text of several SAP transport. Problem is, that these description texts contain spaces (blank characters).
Here's my problem code:
set -A Text $(for items in `cat /scripts/global/tmp/Requests.lst`; do x=$(ssh machine "su -...
Hi everyone,
I'm used to using the
typeset -Ln
command under AIX to do the following:
"Left-justify. Remove leading spaces; if n is given, fill with spaces or truncate on right to length n."
Somehow under Linux this not working ...
Any ideas what I have to use here instead ?
Regards...
Hi folks,
someone I know created some kind of "riddle".
There's a URL (http://something.com/something.php) that's supposed to display the solution for a period of 1 Minute every day. The excact time of day is unknown and changes every day.
Now my idea was the following:
Is it possible...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.