Forum: Shell Scripting 3 Days Ago |
| Replies: 7 Views: 143 Re: difference btw a process and a job no - a job is still a single process. Jobs in fact are controlled by their Process ID.
eggi has it right - basically the only "difference" is that you can manage a job through the job manager... |
Forum: MySQL 3 Days Ago |
| Replies: 3 Views: 237 |
Forum: MySQL 5 Days Ago |
| Replies: 2 Views: 186 |
Forum: MySQL 5 Days Ago |
| Replies: 3 Views: 237 Re: Creating a database Your phone numbers and addresses should have foreign keys to the contact table - not to the person table. e.g. Swap out p_id for c_id. THis is what he means by
"- Events, addresses and phones... |
Forum: MS SQL 5 Days Ago |
| Replies: 1 Views: 202 |
Forum: Shell Scripting 5 Days Ago |
| Replies: 12 Views: 402 Re: Beginner in UNIX/Shell Script - Please help I didn't realize you could call vi in a script like that and execute sed from there - I always sed the file and output to a temp file, and then read back in to the original... this is much cleaner. |
Forum: Shell Scripting 5 Days Ago |
| Replies: 7 Views: 143 Re: difference btw a process and a job A job is a process running in the background.
E.g.
./myscript.sh &
[1] myscript.sh 96243
A job relates to a command run from a terminal. It is attached to a terminal session. A command can be... |
Forum: MS SQL 5 Days Ago |
| Replies: 2 Views: 144 |
Forum: MS SQL 8 Days Ago |
| Replies: 2 Views: 144 Return database that a trigger was executed in I would like to create a variable in my trigger - @DBNAME.
When the trigger executes, this value should be set to the name of the database it was executed in.
E.g. for the master database the value... |
Forum: Shell Scripting 27 Days Ago |
| Replies: 3 Views: 425 Re: awk percentage problem Mike,
Definitely some genius code there.... the one thing you missed is that it needs to skip a column....
I was hoping you could just increment i by 2 - but that doesn't seem to work... I really... |
Forum: Shell Scripting 27 Days Ago |
| Replies: 3 Views: 47,378 |
Forum: Shell Scripting 27 Days Ago |
| Replies: 3 Views: 510 Re: How to check my conditions....!!! Another suggestion - since it looks like you are comparing military time, it will be easier to make the comparison if you drop the ":".
You can do this with sed or tr or even cut very easily.
After... |
Forum: Shell Scripting 28 Days Ago |
| Replies: 3 Views: 9,792 Re: bash:redirecting stdin to at command Hey - alternatively you can do this natively with the at command:
at now +3 days <enter>
/path/to/script <enter>
Ctrl-D
The at command actually waits for a Ctrl-D (EOF) for termination. You can... |
Forum: Shell Scripting 28 Days Ago |
| Replies: 9 Views: 1,743 Re: Currency format in Bash Script Your first problem is that you need to define the function above where you call it from - so you should have a functions section at the top of your script, which is where my code should be. I'm... |
Forum: Shell Scripting Aug 13th, 2008 |
| Replies: 3 Views: 962 Re: createing an IF variable in .bat file In my opinion, the easiest way to do this is simply:
net start messenger || echo Messenger service is currently disabled on your computer. Press F1 for instructions to enable this service.
As... |
Forum: Shell Scripting Aug 8th, 2008 |
| Replies: 6 Views: 802 Re: Package post-install script problem Have you tried removing the semi-colon after the first line and tried running it that way?
In my experience, I only put a semi-colon there if the do will be put on the same line. I think that is... |
Forum: Shell Scripting Aug 7th, 2008 |
| Replies: 5 Views: 6,366 Re: Shell Programming I want to go to school where you people all go. My college classes were pretty limited. |
Forum: Shell Scripting Jul 25th, 2008 |
| Replies: 6 Views: 689 Re: Help!!!!!! I have never written pseudocode before - but I was under the assumption that you did not need to define variables - you just basically went through and wrote out (in a human readable format that... |
Forum: Shell Scripting Jul 24th, 2008 |
| Replies: 6 Views: 691 |
Forum: Shell Scripting Jul 24th, 2008 |
| Replies: 6 Views: 1,073 |
Forum: Shell Scripting Jul 23rd, 2008 |
| Replies: 1 Views: 554 |
Forum: Shell Scripting Jul 23rd, 2008 |
| Replies: 6 Views: 1,073 |
Forum: Shell Scripting Jul 23rd, 2008 |
| Replies: 6 Views: 909 Re: .sh to vbs The text is available, it was just a bit hard to read because you hadn't enclosed it in code tags.
It doesn't look like an overly complicated script - though I wonder if you have racadm installed?... |
Forum: Shell Scripting Jul 22nd, 2008 |
| Replies: 4 Views: 598 Re: tar issues... Niether of those solutions worked for me exactly as specified, however the following command worked fine:
$ for file in `tar tvf /u8/sp_archive/2005.tar | grep 1274 | awk '{print $9}'`
> do
> tar... |
Forum: Shell Scripting Jul 22nd, 2008 |
| Replies: 6 Views: 909 Re: .sh to vbs The best thing to do would be to find someone who is fluent in both vbs and shell scripting in order to have them convert the script for you. This may cost some money, especially depending on the... |
Forum: Shell Scripting Jul 17th, 2008 |
| Replies: 4 Views: 598 tar issues... Hey,
I'm trying to unpack certain files from a tar archive - I don't want to unpack all of the 1.2GB file, just a particular bunch of it.
I tried an obvious command:
tar xvf... |
Forum: Shell Scripting Jul 16th, 2008 |
| Replies: 5 Views: 1,629 |
Forum: Shell Scripting Jul 8th, 2008 |
| Replies: 2 Views: 483 Re: what is not found??? The above from Salem's post needs to be done to fix your issue.. but you may also want to fix your if statement.
if [ "$result" = "$next" ]
The data in these variables are strings and need to... |
Forum: IT Professionals' Lounge Jul 5th, 2008 |
| Replies: 2 Views: 594 Re: scripts in a cron tab I can only think of using a log file of sorts. At the beginning of your first script have it output a '0' (false) to the log file. At the end of the script, upon successful execution, have it... |
Forum: Legacy and Other Languages Jul 3rd, 2008 |
| Replies: 5 Views: 1,534 |
Forum: C++ Jul 3rd, 2008 |
| Replies: 13 Views: 793 Re: Programing Printers That is definitely more advanced than I have worked with in the past.
It sounds like Canon has given you the command set available for their proprietary driver for this device. I think what you... |
Forum: C++ Jul 2nd, 2008 |
| Replies: 4 Views: 352 |
Forum: Shell Scripting Jul 2nd, 2008 |
| Replies: 1 Views: 381 Re: Decision Well, you will not make it very far in UNIX System administration without knowing Shell scripting. You will also do well with UNIX admin with C/C++ under your belt - or perhaps some python or maybe... |
Forum: C++ Jul 1st, 2008 |
| Replies: 13 Views: 793 Re: Programing Printers If this is PCL compatible, I can certainly help with that.
If its PostScript help you need, then I probably can't be of much assistance.
Can you identify the model of the printer, and whether or... |
Forum: Shell Scripting Jul 1st, 2008 |
| Replies: 1 Views: 462 Re: please take a look at my question You are only returning (echoing) the last iteration of badcommand. Your while/for/if loop above assigns the current argument that it is processing to the badcommand variable. You let that loop run... |
Forum: MS SQL Jun 29th, 2008 |
| Replies: 3 Views: 1,305 Re: Help MsSQL stored procedure I would also wrap your sql in some code=sql tags. It's hard to see everything - but for instance, it looks like you have some mixed and/or missing quotes |
Forum: Shell Scripting Jun 29th, 2008 |
| Replies: 6 Views: 1,460 Re: unix little quiz Yeah... where are you taking this "quiz"?
You seem to have a lot of questions, and it is certainly hard to tell if its because you are trying to learn or cheat. If its just an online quiz - can you... |
Forum: Shell Scripting Jun 27th, 2008 |
| Replies: 2 Views: 761 Re: 101 scripting questions In order just to type the name of the file to execute, it needs to be in an executable directory - so for e.g. if you have a script that is used frequently, drop it in /usr/local/bin and it will... |
Forum: Shell Scripting Jun 27th, 2008 |
| Replies: 1 Views: 817 |
Forum: Shell Scripting Jun 26th, 2008 |
| Replies: 4 Views: 1,742 |