You are here:

Focus on Unix

Recent Answers

2012-02-08 Unix/Linux OS - Linux server:

Hi!  Linux is not "immune" to viruses, malware, hacking and the like...  It is simply the case that most of those programs are written to hack Windows...  The best protection for linux is to limit the

2012-02-02 Unix/Linux OS - Shell script:

Hi!  This is definitely a homework question...  (The problem isn't spec'd out very well. In general... There is room for the creator of the problem to pronounce the code wrong, even if you cover all the

2012-01-30 Unix/Linux OS - netstat hacker:

Hi!  "netstat" will only show you who is trying to connect at the moment (until the timeout on the close is reached).  The easiest place to look for intrusion attempts is in the log files.  Each port you

2012-01-23 Unix/Linux OS - job submission:

Hi!    Since you require that one job complete before the next is executed, I'd guess you'd need to know something about the success or failure of the previous job...    I would approach it in the following

2012-01-22 Unix/Linux OS - bourne shell script:

Hi!  The script would look something like this:  =====  #!/bin/bash  >textfile.log #initialize log file  # set up the trap for sigint (i.e. "2") to log and exit on receipt  trap "trap '' 0; echo 'Trapped

Categories

Browse Alphabetically

©2012 About.com, a part of The New York Times Company. All rights reserved.