10 More Discussions You Might Find Interesting
1. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Send a fortune to all active/logged in users
2. Relevant commands, code, scripts, algorithms:
So I understand... (8 Replies)
Discussion started by: kjcraig77
8 Replies
2. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
The function will be called m and it will allow you to send an email to someone using the mail command. The... (1 Reply)
Discussion started by: Drucian
1 Replies
3. Red Hat
Cheers!
In /etc/syslog.conf, if an error type is not specified, is it logged anywhere (most preferable is it logged to /var/log/messages) or not?
To be more precise I am interested in error and critical level messages. At default these errors are not specified in syslog.conf, and I need to... (6 Replies)
Discussion started by: dr1zzt3r
6 Replies
4. UNIX for Dummies Questions & Answers
Hi,
How would one send an email from the command line. Just a simple email. I used mailx -s "test" address@server.domain then hit enter.
Nothing happens then, I hit Ctrl + C twice, then I can start a new command again.
Any help? Tips? I did read up on this, but the examples is much more... (2 Replies)
Discussion started by: McGuywer
2 Replies
5. Shell Programming and Scripting
Hi ! All
This is very simple question....
How to write a 'cp' command interative.
Example :
cp /wlsuite/om/cm/Tools/deploy_scripts/*.xml ${INF_ROOT}/tmp | echo "" || echo " Pls investigate ..."
My intent was
> to copy the files.
> CP fails... then let know the user.
pls... (2 Replies)
Discussion started by: dashok.83
2 Replies
6. UNIX for Dummies Questions & Answers
Hey Guys,
I created a script where i am trying to do scp from one machine to another and then from another to another remote machine. I am having a log file also with the current date and time stamp in which i have been successful. I would like to delete the log files older than 30 days in which... (9 Replies)
Discussion started by: chris1234
9 Replies
7. Shell Programming and Scripting
hi, sorry for asking what I am sure is a really easy question, I am wanting to cut the users real name from the output of 'finger'.
$ cut -f2-3 filename
is in my script but it only seems to cut the first line.
I need to cut the 2nd and 3rd word from each line and store them in variables... (1 Reply)
Discussion started by: rorey_breaker
1 Replies
8. UNIX for Dummies Questions & Answers
Okay, this probably sounds dumb for anyone who knows the answer, but I'm completely lost. I have to use the head command to search a directory AND all of its subdirectories to display the first line of all .txt files. I know how to do this: head -1 ~/UnixCourse/*.txt, but that does not search the... (4 Replies)
Discussion started by: jbud
4 Replies
9. UNIX for Dummies Questions & Answers
Ok what is BSD exactly? I know its a type of open source but what is it exactly? (1 Reply)
Discussion started by: Corrail
1 Replies
10. UNIX for Dummies Questions & Answers
Does anyone know the command to get the date CREATED for a file?
This is driving me berserk. Windows has it. But I cannnnnnot remeber what it is in UNIX!
Thanks! (4 Replies)
Discussion started by: Diabeticus
4 Replies