LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-18-2006, 08:48 PM   #1
Kjell Persson
LQ Newbie
 
Registered: Feb 2006
Posts: 7

Rep: Reputation: 0
significance of $$ in a logcheck script?


I am trying to figure out what the significance of $$ is in a logcheck script? I am not sure what the purpose of using this $$ is...what does it do...what does it represent? Please help....

Desperate in KY
 
Old 03-18-2006, 09:18 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
I'm assuming that's a bash script. If so, $$ is the process ID of the current shell.
 
Old 03-18-2006, 09:50 PM   #3
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
If you're going to be doing some shell scripting, I'd recommend a look at the Advanced Bash-Scripting Guide, there's some useful stuff there. If you're going to be doing a lot of bash shell scripting there's also "Learning the Bash Shell". It's one of the O'Reilly publisher's books and is up to the 3rd edition now (at least, that's what my copy is) - very handy.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
logcheck does not read logfiles! cyberpunx Linux - Software 16 04-06-2015 02:18 AM
logcheck.ignore JSLayton Linux - Software 1 02-02-2006 03:30 PM
[logcheck] ignore.d and logcheck.ignore cyberpunx Linux - Software 0 09-18-2005 05:07 PM
Logcheck regex to filter out bogus errors Donboy Linux - Security 1 03-13-2005 11:09 PM
INFO: configuring logcheck markus1982 Linux - Software 1 05-26-2003 11:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration