Reputation
573
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
3 3
Newest
 Good Answer
Impact
~187k people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Oct
6
awarded  Good Answer
Oct
6
awarded  Yearling
Sep
24
awarded  Autobiographer
Jan
7
awarded  Nice Answer
Nov
12
awarded  Yearling
Dec
14
comment How to check if a shell is login/interactive/batch
@derobert - thanks for showing me something new
Dec
13
comment Will process ids be recycled? What if you reach the maximal id?
@DavidSchwartz - Agree - I was reading your answer as they 'mostly do not' but actually that is not what you wrote. Funny - just checked my OS and pid_t is 4 bytes - but nothing > 65K - seems a little small in todays world - will search the POSIX specs
Dec
13
comment Will process ids be recycled? What if you reach the maximal id?
@DavidSchwartz - That was my point - you said "are not strictly increasing on any UNIX-like operating system I know of" - you remember that super security flaw in Debian because they were using the PID as the salt for hashing ;-) - with only 65K of PID's not the best salt
Dec
13
answered Difference between 'man ls' and 'ls --help'?
Dec
13
comment How can I track who SSH'es into my linux machine?
/var/log/secure.log is another common logfile
Dec
13
comment Will process ids be recycled? What if you reach the maximal id?
@DavidSchwartz - not sure how readable this will be in a comment but - linux is pretty sequential. [adrian@iceweasel ~]$ a.out 24506 [adrian@iceweasel ~]$ a.out 24507 [adrian@iceweasel ~]$ a.out 24508 [adrian@iceweasel ~]$ a.out 24509 [adrian@iceweasel ~]$ cat pid.cc #include <stdio.h> #include <sys/types.h> #include <unistd.h> int main(int argc, char *argv[]) { printf("%d\n", getpid()); return 0; }
Dec
13
answered How to check if a shell is login/interactive/batch
Dec
13
comment How to move window in GNU Screen
What are you talking about - do you mean move a x-window to a different virtual desktop? What X windows manager are you using?
Nov
12
awarded  Teacher
Nov
11
answered Get file created/creation time?