Unix/Linux Go Back    

Showing results 1 to 25 of 500
Search took 0.11 seconds.
Search: Posts Made By: bakunin
Forum: Shell Programming and Scripting Linux 5 Hours Ago
Replies: 11
Views: 204
Posted By bakunin
That is rather astonishing, because for me that...

That is rather astonishing, because for me that works.

Anyway, you could always fall back to a basic loop. Not quite as elegant, but does the work:

while read DIR ; do
mkdir "$DIR"
...
Forum: AIX Linux 10 Hours Ago
Replies: 3
Views: 236
Posted By bakunin
It seems you do not really understand how a HACMP...

It seems you do not really understand how a HACMP cluster works, so a few words for clarification. Bear with me if this is already known. Also note that i will leave out a lot of details as i can't...
Forum: AIX Linux 11 Hours Ago
Replies: 6
Views: 136
Posted By bakunin
As far as i remember my Oracle it has its own...

As far as i remember my Oracle it has its own "name resolution", which is somewhat similar (but not the same as) host names. The file necessary for it to work is called tnsnames.ora and is somewhere...
Forum: Shell Programming and Scripting Linux 11 Hours Ago
Replies: 6
Views: 221
Posted By bakunin
You can also use a subfunction to parse the...

You can also use a subfunction to parse the command line and feed it the string:


parse_cmd ()
{
while getopts :t:r:d args; do
case $args in
t) typeset VERSION="$OPTARG" ;;
...
Forum: AIX Linux 1 Week Ago
Replies: 2
Views: 214
Posted By bakunin
None which likely apply to you. Dynamic LPARs...

None which likely apply to you. Dynamic LPARs need certain hardware (POWER6 and up?), a certain HMC version (can't remember which) and a certain AIX version (if i remember correctly 5.3 and up). If...
Forum: Solaris Linux 1 Week Ago
Replies: 7
Views: 300
Posted By bakunin
I am not that fit in Sun/Solaris at all, so bear...

I am not that fit in Sun/Solaris at all, so bear with me if this is not relevant, but:

In AIX there is "Live Partition Mobility", meaning you can transfer a running virtual system from one...
Forum: UNIX for Beginners Questions & Answers Linux 1 Week Ago
Replies: 22
Views: 649
Posted By bakunin
I won't interfere with what DonCragun already...

I won't interfere with what DonCragun already does here, but this:


was my suggestion. I TOLD YOU TO READ THE MAN PAGE OF cron and crontab and if you had done that (instead of googling for...
Forum: Shell Programming and Scripting Linux 2 Weeks Ago
Replies: 5
Views: 296
Posted By bakunin
Try: IMPORT_SCHEMA="$(sed -n '1 {;s/.*\\\(...

Try:
IMPORT_SCHEMA="$(sed -n '1 {;s/.*\\\( *//;s/ *\\\).*//;p;q;}' ${PARFILE} )"



hmm, i did give an example. Immediately thereafter, no?

I hope this helps.

bakunin
Forum: Shell Programming and Scripting Linux 2 Weeks Ago
Replies: 5
Views: 296
Posted By bakunin
This seem to be awfully dangerous to me, because...

This seem to be awfully dangerous to me, because i.e. this:
INCLUDE=SCHEMA:"IN\( 'SCHEMA1','SCHEMA2', 'SCHEMA3' \)"

(notice the additional space) is perhaps perfectly within the syntax...
Forum: UNIX for Beginners Questions & Answers Linux 2 Weeks Ago
Replies: 22
Views: 649
Posted By bakunin
I already told you in post #2: use a crontab...

I already told you in post #2: use a crontab entry. You can easily find out how to do that by reading the man page of cron and/or crontab respectively. I already told you so in post #2 too.

Could...
Forum: UNIX for Beginners Questions & Answers Linux 2 Weeks Ago
Replies: 22
Views: 649
Posted By bakunin
You are right, that was a typo on my part. Thanks...

You are right, that was a typo on my part. Thanks for the correction.



uuencode and mailx are both standard UNIX utilities. They should reside in /bin or /usr/bin on most systems (btw.: care to...
Forum: UNIX for Beginners Questions & Answers Linux 2 Weeks Ago
Replies: 22
Views: 649
Posted By bakunin
I know this is commented out, but in case you...

I know this is commented out, but in case you want to activate it once. This:


will not work, you need spaces around the "[" and "]" and if you want to use a command in that place you need...
Forum: Shell Programming and Scripting Linux 2 Weeks Ago
Replies: 9
Views: 401
Posted By bakunin
I hope you accept suggestions from me too: ...

I hope you accept suggestions from me too:

Dale Dougherty: sed & awk, O'Reilly
Barry Rosenberg: Hands-On Korn Shell Programming, Addison-Wesley

I hope this helps.

bakunin
Forum: War Stories Linux 2 Weeks Ago
Replies: 2
Views: 628
Posted By bakunin
A trick i have learned here (and i am ashamed i...

A trick i have learned here (and i am ashamed i can't remember from who) is to always add a second file to grep when using it this way.

grep, when called with a single file, will not show the file...
Forum: UNIX for Beginners Questions & Answers Linux 2 Weeks Ago
Replies: 22
Views: 649
Posted By bakunin
You do not need to put this into the script as it...

You do not need to put this into the script as it can be done by cron. I suggest you read the man page of cron and crontab to make yourself acquainted with it.




I suggest you try to first do...
Forum: UNIX for Beginners Questions & Answers Linux 2 Weeks Ago
Replies: 12
Views: 417
Posted By bakunin
Also note that there are some special variables...

Also note that there are some special variables which are also introduced by "$":

$$ = process number of the currently running process
$* = all the arguments passed to a process (or subfunction...
Forum: Shell Programming and Scripting Linux 4 Weeks Ago
Replies: 7
Views: 595
Posted By bakunin
Just one more caveat: if your shop is similar to...

Just one more caveat: if your shop is similar to my customer you have to deal with several versions of several Linux distributions. I am no expert for Linux by any stretch, but i remember older Linux...
Forum: Shell Programming and Scripting Linux 4 Weeks Ago
Replies: 7
Views: 454
Posted By bakunin
First off: please do not use your (admittedly...

First off: please do not use your (admittedly inventive) markup for quotes - there is a QUOTE-tag, which can be used for that and it makes what you say stand out from what someone else said even...
Forum: Post Here to Contact Site Administrators and Moderators Linux 4 Weeks Ago
Replies: 18
Views: 1,543
Posted By bakunin
Update: here is a document explaining why HTTPS...

Update: here is a document explaining why HTTPS is faster than HTTP (https://samrueby.com/2015/01/26/why-is-https-faster-than-http/?ModPagespeed=noscript).

It boils down to a Google-developed...
Forum: Post Here to Contact Site Administrators and Moderators Linux 4 Weeks Ago
Replies: 18
Views: 1,543
Posted By bakunin
This is not the case. In fact, SSL works like...

This is not the case. In fact, SSL works like this (short introduction to encryption theory):

First, we need to establish the difference between asymmetric and symmetric encryption methods.

In...
Forum: Shell Programming and Scripting Linux 10-17-2017
Replies: 4
Views: 334
Posted By bakunin
This is exactly what rsync was made for. You have...

This is exactly what rsync was made for. You have gotten very good advice from my colleague rbatte1!



From the man page of rsync (which, i suggest, you should read instead of disregarding it):...
Forum: Shell Programming and Scripting Linux 10-17-2017
Replies: 5
Views: 403
Posted By bakunin
The basic problem is that you need to define what...

The basic problem is that you need to define what a "section" is: the line you presented uses different separators to delimit what i suppose is a "section" in your wording: spaces (or maybe tabs),...
Forum: AIX Linux 10-17-2017
Replies: 4
Views: 338
Posted By bakunin
Well, what is wrong with this method? You simply...

Well, what is wrong with this method? You simply edit /etc/exports (there is a vers=-part in the line which states the NFS version), issue a exportfs -va and you are done. You can even configure...
Forum: UNIX for Beginners Questions & Answers Linux 10-17-2017
Replies: 23
Views: 728
Posted By bakunin
This might work if the editor in question is...

This might work if the editor in question is indeed holding open the file. Most times this is perhaps the case but if i remember correctly some editors create a temporary file, work on this tempfile...
Forum: Hardware Linux 10-17-2017
Replies: 5
Views: 434
Posted By bakunin
OK, i could have been more verbose: i think a...

OK, i could have been more verbose: i think a slim desktop is sufficient if you have a fat system in the background which you can use. Your desktop only has to shoulder the X-server and the...
Showing results 1 to 25 of 500

 


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