Игорь Олемской — практические заметки по системному администрированию Linux CentOS

Архив тега ‘General’

Fedora 17 (перепечатка)

Комментариев нет

My main computer is now running Fedora 17 Beta (x86_64)
After Psyche, Shrike, Yarrow, Tettnang, Heidelberg, Stentz, Bordeaux, Zod, Moonshine, Werewolf, Sulphur, Cambridge, Leonidas, Constantine, Goddard, Laughlin, Lovelock and Verne, the hostname is now... DixSept (seventeen)... Lire Fedora 17

A very small bash script challenge (перепечатка)

Комментариев нет

*Kind Note*: This was written with a sense of humor to allow visitors quickly discover code anomaly and suggests fixes but if it is not up to your mark, please close your browser tab instead of making unnecessary noise. Thanks You!
I am putting a damn small thing here regarding bash script for fun.

Here it goes: Need to create a bash script which asks for a word from user, say either “one”, “two” or “three” and then check in single if statement (no else if section) that if its not “one” or “two” or “three” then print Not OK otherwise print OK.

Further, here is a snippet, check and figure out why its not working as expected:

#!/bin/bash
echo -n Enter a word:
read myword
 
if [[ $myword != "one" || $myword != "two" || $myword != "three" ]]; then
 echo Not OK
else
 echo OK
fi

Please put your suggestion/solution script in comments.

EL-4 repository is closed (перепечатка)

Комментариев нет

Read this announces :

Red Hat Enterprise Linux Life Cycle
Red Hat Enterprise Linux 4 — 30 day End Of Life Notice
CentOS-4 End Of Life 3 Month Notice
Scientific Linux 4 — 3-Month End Of Life Notice
EPEL-ANNOUNCE EPEL-4 end of life

The remi repository for Enterprise Linux 4 is, also, closed. RPM stay available, but will not be updated.
If... Lire EL-4 repository is closed

RHEL 5.8 (перепечатка)

Комментариев нет

Update of my web hosting server done.
$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
Announce: Red Hat Announces Red Hat Enterprise Linux 5.8...... Lire RHEL 5.8

Run scripts as daemon or through cron continuously (перепечатка)

Комментариев нет

How to run a script per second? Any easy way to check that no multiple instances of the script will run at a single time? I am cnvering 3 simple ways which helps you to fulfill such requirements: Using Cron If script needs to be executed every x minute or a frequency which is more [...]

2012 (перепечатка)

Комментариев нет

I wish you a great new year.
I hope 2012 will bring you happiness and health.
For me, start a new adventure. I just become self employed to propose my free software expertise. An exciting challenge for this new year.
Site : www.ll-experts.com
You cant contact me if you need me. I will soon post more information... Lire 2012

Dotclear 2.4 (перепечатка)

Комментариев нет

Done ! The latest version of Dotclear is installed.

Smooth upgrade, no issue. As usually, I've simply applied the patch.
My theme works perfectly... Lire Dotclear 2.4

5 cool android apps for linux administrators (перепечатка)

Комментариев нет

Having an android based smartphone is cool and using apps related to your core work in it is even more cooler Though there’s not much choice available as far as apps for Linux admin are concerned, but still there are few useful. I tried hereby compiling list of 5 such apps which can be helpful [...]

10 millions (перепечатка)

Комментариев нет

Number of 10 millions of download RPM, from remi repository, have just been jumped (7 millions for EL-5 only).
Thanks for your fidelity... Lire 10 millions

New FAQ (перепечатка)

Комментариев нет

Have you noticed the new English FAQ page, on the right menu ?

I will update it, as new questions will raise that I will find interesting or recurrent enough.
Don't hesitate to use this entry comment to post your feedback / corrections (especially for English translation), there is so much things I have probably forgot, perhaps because they seems too trivial...... Lire New FAQ