9 More Discussions You Might Find Interesting
1. Red Hat
Hi,
I have created a test script like this :
# cat script1.sh
DAY=$(date +%d)
MONTH=$(date +%b)
YEAR=$(date +%Y)
BC01="Blast_BC01"
BC15="Blast_BC15"
DIR1="$MONTH$YEAR_$BC01"
DIR2="$MONTH$YEAR_$BC07"
DIR3="$MONTH$YEAR_$BC15"
if ;then
mkdir -p "$YEAR/$DIR3"
fi
#
When I... (5 Replies)
Discussion started by: anaigini45
5 Replies
2. Shell Programming and Scripting
Team would like to know if anyone here had created a basic nagios plugin.
I did write a simple postfix service checker. Then add it in nagios nrpe.cfg then restart nrpe and nagios and it is not working, its like i cant receive email if the service is stopped or running.
#!/bin/bash... (0 Replies)
Discussion started by: kenshinhimura
0 Replies
3. Shell Programming and Scripting
Input file:
3420023_3422482,3422486_3423070 46910
1795263_1798343 32681
1837399_1838886 1534
2148674_2149696,2149698_2149772 10203
3825382_3825555,3827296_3827900 198
1839890_1840294 72
.
.
Output file
3420023_3422482,3422486_3423070 3420023_3422482,3422486_3423070 46910
1795263... (1 Reply)
Discussion started by: perl_beginner
1 Replies
4. UNIX for Dummies Questions & Answers
Hi, unix newbi here.
Im currently on the bash shell, what are the commands to run additional shells?
for example i want to run csh and then ksh?
Thanks.
BT. (2 Replies)
Discussion started by: BillThompson
2 Replies
5. Linux
How can I add additional mirrors to my CENTOS distro, according to this page AdditionalResources/Repositories - CentOS Wiki there are few fedora project repositories I'd like to add any of them but I don't know how?
Thank you in advance (0 Replies)
Discussion started by: c0mrade
0 Replies
6. AIX
Hi,
I have two fonts installed on my AIX machine:
FONT FILE GLYPH FONT
ID NAME SIZE ENCODING
==== ============== ===== =========
0 Erg22.iso1.snf 12x30 ISO8859-1
1 Erg11.iso1.snf 8x15 ISO8859-1
I want to install more, how to obtain available fonts list ? What filesets I must install ?... (0 Replies)
Discussion started by: vilius
0 Replies
7. New to Unix. Which books should I read?
To my surprise, I found many of my personal favorites to be missing from the book recommendations thread.
Although dated, Kernighan & Pike's The Unix Programming Environment is a classical introduction, covering the shell, the scripting languages, make, troff, and some fundamental C programming... (0 Replies)
Discussion started by: era
0 Replies
8. UNIX for Advanced & Expert Users
Hello:
I have a customer who is requesting the following security features on a Solaris 8 system:
1. Password history for the three previous passwords.
2. User account lockout after 3 failed login attempts.
Can anyone help provide me with a solution or direction for the above? (1 Reply)
Discussion started by: rambo15
1 Replies
9. Shell Programming and Scripting
Hi there,
I am just wondering if somebody can help me find out why am I getting additional characters on my "echo" command to create a text file. Here's my unix script :
#!/bin/ksh
#============================================================
# Script Name : chk_ORDHD.ksh
# Description... (2 Replies)
Discussion started by: negixx
2 Replies