9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi there,
I am trying to get two lines of the checklist
2.3;
2.4;
2.5;
$file='Input1 Input2'
echo -e "2.3 Only enable ftp when necessary"
cat $file | awk '/2.4/ {P=0} /2.3/ {P=1} P' | grep -iq "not installed" && echo T || echo F
echo -e "2.4 Only enable rlogin/rsh/rcp when... (0 Replies)
Discussion started by: alvinoo
0 Replies
2. OS X (Apple)
Hello,
I am new to Mac OSX and shell scripting all together. I was wondering if anyone could help get me started in a few scenarios so that I would be able to automate checking a system against a STIG checklist. A STIG Checklist is a DoD Guideline for securing systems. Here is the first... (3 Replies)
Discussion started by: john3j04
3 Replies
3. Shell Programming and Scripting
Hi guys,
I am new to shell scripting and I need urgent assistance.
I have an xml like :
<AgreementNumberFull>13-WY-84252</AgreementNumberFull>
<AgreementNumberAbbr>WY84252</AgreementNumberAbbr>
<LineOfBusiness>F</LineOfBusiness>
<CompanyCode>0005</CompanyCode>
<UniqDigit/>
<StateCode/>
... (9 Replies)
Discussion started by: puneetkanchi
9 Replies
4. Shell Programming and Scripting
Hello! What is the script for a checklist? This:
dialog --backtitle "Mesage" \
--title "Title" \
--checklist "Choose your favorite distribution:" 10 40 3
1 "RedHat" on
2 "Ubuntu Linux" off
3 "Slackware" off
???
I need help! (0 Replies)
Discussion started by: []Adri4n
0 Replies
5. Shell Programming and Scripting
Hi,
I need someone's help in writing a shell script. Since am very new i am stuck .
I have 2 files in the same dir.
==============================================
FileA
Table1~07/07/2009 00:00:00~4
Table1~07/06/2009 00:00:00~41
Table1~07/08/2009 00:00:00~4
... (8 Replies)
Discussion started by: vijayarajvp
8 Replies
6. Shell Programming and Scripting
I have written a script that deletes files:
Requirement: i need to delete the files and to know how many files are deleted i.e the count of files and even i need to display when the started time of deletion and the ending time of deletion. I need to display these two times.
script:
... (2 Replies)
Discussion started by: venkatesht
2 Replies
7. Shell Programming and Scripting
Task:
Short Description: To find the files in a particular directory for the previous day, sort them by date and time and e-mail it across to a particular id.
And the time is divided into eight fields and based on the time the respective field should be updated with the flag 1.
Eight... (7 Replies)
Discussion started by: venkatesht
7 Replies
8. Solaris
Hi all,
I'm a new SUN Engineer and will be doing some Preventive Maintenance next month. What should I do? Is there any standard procedure to be followed?
Thank You (4 Replies)
Discussion started by: frankoko
4 Replies
9. HP-UX
Hi
I am facing the problem where my HP Unix system date is in accordance with the current date but the logs written by the same is of previous time stamp.
Eg. System Date - Thu Mar 15 18:00:04 IST 2007
Syslogs -
Mar 15 12:30:10 mac@1 ftpd: FTP LOGIN FROM xx.xxx.xxx.xx , main
The ftp... (1 Reply)
Discussion started by: PradeepRed
1 Replies