11-12-2002
Shell scripting for Unix and/or Linux
Anyone here knows any reasonably priced courses for independent (not corporate) users that can point me to. Already know Unix commands/vi/etc but now need scripting too. Any replies will be appreciated.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
please give the difference between AIX shell scripting and Unix shell scripting. (2 Replies)
Discussion started by: haroonec
2 Replies
2. Linux
Please Let me know this Que and Ans please Because i applied for a H1B VISA nad i have a INTERVIEW as soon so please "Difference between Linux and Unix and also C and C++ and also about Shell Scripting about all Questions and Answers ." (3 Replies)
Discussion started by: madhav
3 Replies
3. Linux
I want to learn Linux/Unix shell scripting, I searched this forum but got some results for Unix Admin books and general Linux books.
Would someone recommend a good Linux Shell Scripting book?
I did order one book
A Practical Guide to Linux(R) Commands, Editors, and Shell Programming ... (4 Replies)
Discussion started by: thoughts
4 Replies
4. UNIX for Dummies Questions & Answers
I am NEW to Unix. I studied a few Unix Shell Commands 8 years ago in IBM AIX machines. I want to learn/brush up Unix shell commands, therefore I just installed Red Hat Linux 9 in a P3 machine. But I do not know where to start Unix Scripting in that Linux. I chose Desktop / Personnel while ... (1 Reply)
Discussion started by: risuresh
1 Replies
5. Shell Programming and Scripting
I am NEW to Unix. I studied a few Unix Shell Commands 8 years ago in IBM AIX machines. I want to learn/brush up Unix shell commands, therefore I just installed Red Hat Linux 9 in a P3 machine. But I do not know where to start Unix Scripting in that Linux. I chose Desktop / Personnel while ... (2 Replies)
Discussion started by: risuresh
2 Replies
6. Shell Programming and Scripting
In shell Can I pass " to a program ? If not what is the work around ..?
Can I define * as a wild card charecter that will return all the values from
the files ..?
I am trying to create a tool that will return the values from a property file . This tool has to support all the wild card... (1 Reply)
Discussion started by: app1sxv
1 Replies
7. Shell Programming and Scripting
Hi,
I have general question: i have good working Perl script with .pl extension, and now I have to migrate all to another Linux box, and I was told that I can use only shell scripting, so I'm not sure how different those two things are, will it work without any changes . Is there anything smart I... (6 Replies)
Discussion started by: trento17
6 Replies
8. Shell Programming and Scripting
Hi,
I am having two set of files with different number of columns and rows.
A set of files have only single row with 20 columns.
B set of files have 1000s of rows with 5 columns.
both set contains equal number of files.
I want to save all the 20 columns of A in variables one by one and... (21 Replies)
Discussion started by: CAch
21 Replies
9. UNIX for Dummies Questions & Answers
Hello Experts,
I have the following questions to be discussed here at this esteemed discussion forum.
I have two Excel sheets which contain Unix Commands llike creating directory the structure/ftp/Copy/Zip etc to basically create an environment. I need help in understanding some of... (1 Reply)
Discussion started by: faizsaadq
1 Replies
10. 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:
This is what is asked:
If the user enters ‘3’, prompt the user for two file names. Verify that the file names... (2 Replies)
Discussion started by: cindy01
2 Replies
LEARN ABOUT DEBIAN
foomatic-printjob
FOOMATIC-PRINTJOB(1) General Commands Manual FOOMATIC-PRINTJOB(1)
NAME
foomatic-printjob - manage printer jobs in a spooler-independent fashion
SYNOPSIS
foomatic-printjob [ -s spooler ] [ -P queuename ] [ -o option1=value1 -o option2 ... ] [ -i ] [ file1 file2 ... ]
foomatic-printjob -Q [ -s spooler ] [ -P queuename ] [ -i ] [ -a ] [ user1 user2 ... ]
foomatic-printjob -R [ -s spooler ] [ -P queuename ] [ -i ] [ - | jobid1 jobid2 ... ]
foomatic-printjob -C [ -s spooler ] [ -i ] command [ arguments ]
foomatic-printjob -S [ -s spooler ] [ -i ]
foomatic-printjob -h [ -s spooler ] [ -P queuename ] [ -i ]
DESCRIPTION
foomatic-printjob provides a spooler-independent interface to creating and managing printer jobs and print queues. Note that the first
argument changes the mode of the command, as it combines the functionality of several System V-style printing commands.
OPTIONS
-sspooler Explicit spooler type.
-Pqueuename
Any commands specified should apply to this queue instead of the default.
-ooption=value
Set option to value
-ooption Set the switch option
-#n Print n copies
file1 file2 ...
Files to be printed, when no file is given, standard input will be printed
-Q Query the jobs in a queue. If a list of users is specified, only those users' jobs will be queried.
-Q -a Query the jobs in all queues. If a list of users is specified, only those users' jobs will be queried.
-R [ - | jobid1 jobid2 ... ]
Remove a job from a queue. Using - will remove all jobs.
-C command [ arguments ]
Execute control commands for queue/job manipulation. The commands are the ones of the BSD "lpc" utility. Use the control command
"help" to get a list of supported commands. Note: the amount of commands varies with the spooler, but the same commands given
under different spoolers do the same thing.
-i Interactive mode: You will be asked if foomatic-printjob is in doubt about something. Otherwise foomatic-printjob uses auto-
detection or quits with an error.
-S Save the chosen spooler as the default spooler
-h Show this message or show a list of available options if a queue is specified
SEE ALSO
foomatic-configure(1) and the documentation for your print spooler.
AUTHOR
Manfred Wassmann <manolo@NCC-1701.B.Shuttle.de> and Chris Lawrence <lawrencc@debian.org> for the foomatic project using output from the
associated binary.
BUGS
This manpage still needs some editing.
Foomatic Project 2001-01-06 FOOMATIC-PRINTJOB(1)