12-22-2007
complete unix noob (sorry)
This is my first time in this forum so, Hello to all!!!
I have been supporting windows based machines for a few years now and I have been writing batch files to do certain tasks for what seems like an age.
I've recently started a new job (as it support) and my new colleagues have said, "forget dos/batch, learn shell scripting instead. It's much more useful"
after watching one of them write some simple code to sort some files, I've decided I'd like to get in to this more.
After having spent most of yesterday and today on the internet I'm left feeling somewhat confused...
Could someone please explain to me the different terms that keep cropping up. like Unix, Linux, Sun, Perl, bash...
also, I'd like to run a virtual machine that I could use at home. What is the OS called (Unix??) if so are there serval different types? whats the most recent? where could i get a copy from and how much?
I know there's alot of questions in this but I'm hoping that you guys will be able to help.
cheers.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello people,
Can anyone tell me if the download from sun.com solaris 8 is the full unix operating system??
strange question i know but ive just downloaded the whole thing 2.5G and counldnt think as to why they would let people download it for free.:confused: (2 Replies)
Discussion started by: jeffersno1
2 Replies
2. UNIX for Dummies Questions & Answers
I would like to know if I should install unix over a windows 98. I want to use a home computer to host websites right now, but I know how much Windows likes resources ;)
So, my question is... Should I get a Unix OS? If no, then do not read more and just reply :)
If yes, then, which one? How... (2 Replies)
Discussion started by: Afinita
2 Replies
3. UNIX for Dummies Questions & Answers
I am trying to learn some unix here and i have some question that i would like to ask:
What's the most basic backup command?
What is the command to pause a backup?
What is the command to resume backup?
Can we backup a job that is running ?
How can we pause the backup of the job and than... (1 Reply)
Discussion started by: lotusx
1 Replies
4. UNIX for Dummies Questions & Answers
Hello i am new to this forum. I signed up here really to ask one question. I recentaly got a old unix server from my work and i never really understood what unix is or what is does. Dont get me wrong i and very smart with computers as long as its windows, mac, or linux i can use them all but i... (4 Replies)
Discussion started by: alt+f4
4 Replies
5. UNIX for Dummies Questions & Answers
Hi all, This is my first post.
I am a complete noobie to the UNIX OS, I have an iMac G5 with the unix shell built in and am interested in learning how to use it to do things useful with it, but have no idea where to start. I have read over the basic commands but they haven't helped me much yet.... (3 Replies)
Discussion started by: avdrummerboy
3 Replies
6. UNIX for Dummies Questions & Answers
Hey everyone
I am currently starting University, (Aus) and i am required to study Unix as apart of my study. We have gone through the basics in orientation but here at home they said i can access my files through the 'ssh' command.
All i need to know is:
- How will my wireless internet be... (2 Replies)
Discussion started by: skylin3fr3ak
2 Replies
7. Shell Programming and Scripting
Hi
I'm really new to this so sorry if this is trivial
What I'm trying to do is take a file with 3 columns of numbers and cat all the entries of the second and third columns which have the same entry in the first column into a file with the number from the first column in the name. So say
1... (11 Replies)
Discussion started by: AnnaLynn
11 Replies
8. UNIX for Dummies Questions & Answers
This may seem really easy to alot of you but i am a real noob on unix.
I have been set the task to make a script which will answer a query.
Basically I will have made files for people and i want to be able to search for a persons file and then select certain variables from the files. e.g... (7 Replies)
Discussion started by: bobtheb
7 Replies
9. BSD
I'm a Linux guy who is tring out BSD for the first time...
What is the BSD program to automatically fetch and and install software?
Is it pkg_add? Will pkg_add automatically fetch and and install software? Does it work on all BSD variants?
This is all I could find, but I wanted to make... (5 Replies)
Discussion started by: biznatch
5 Replies
10. HP-UX
Hello there, first post here so go easy on me! :D
I just aquired an old HP 9000 Dclass d220 server, all I know is that it's running HP-UX, and it appears to boot fine (I see the modules loading, etc..)
Now, I have been an MS guy all my life (yeah I know, make fun of me), so I really have no... (9 Replies)
Discussion started by: Marvio
9 Replies
LEARN ABOUT POSIX
queuedefs
queuedefs(4) File Formats queuedefs(4)
NAME
queuedefs - queue description file for at, batch, and cron
SYNOPSIS
/etc/cron.d/queuedefs
DESCRIPTION
The queuedefs file describes the characteristics of the queues managed by cron(1M). Each non-comment line in this file describes one queue.
The format of the lines are as follows:
q.[njobj][nicen][nwaitw]
The fields in this line are:
q The name of the queue. a is the default queue for jobs started by at(1); b is the default queue for jobs started by batch (see
at(1)); c is the default queue for jobs run from a crontab(1) file.
njob The maximum number of jobs that can be run simultaneously in that queue; if more than njob jobs are ready to run, only the first
njob jobs will be run, and the others will be run as jobs that are currently running terminate. The default value is 100.
nice The nice(1) value to give to all jobs in that queue that are not run with a user ID of super-user. The default value is 2.
nwait The number of seconds to wait before rescheduling a job that was deferred because more than njob jobs were running in that job's
queue, or because the system-wide limit of jobs executing has been reached. The default value is 60.
Lines beginning with # are comments, and are ignored.
EXAMPLES
Example 1: A sample file.
#
#
a.4j1n
b.2j2n90w
This file specifies that the a queue, for at jobs, can have up to 4 jobs running simultaneously; those jobs will be run with a nice value
of 1. As no nwait value was given, if a job cannot be run because too many other jobs are running cron will wait 60 seconds before trying
again to run it.
The b queue, for batch(1) jobs, can have up to 2 jobs running simultaneously; those jobs will be run with a nice(1) value of 2. If a job
cannot be run because too many other jobs are running, cron(1M) will wait 90 seconds before trying again to run it. All other queues can
have up to 100 jobs running simultaneously; they will be run with a nice value of 2, and if a job cannot be run because too many other jobs
are running cron will wait 60 seconds before trying again to run it.
FILES
/etc/cron.d/queuedefs queue description file for at, batch, and cron.
SEE ALSO
at(1), crontab(1), nice(1), cron(1M)
SunOS 5.10 1 Mar 1994 queuedefs(4)