".." is one directory level down
So I thought I HAVE TO type ./ before an executable. I have a test program I compiled from C. It runs if I do ./hello but will report "no such command" error if I do hello
Quote".." is one directory level downI would call it "up" not down.
man 5 crontab
But if it's a directory "tree" then why is the root directory at the top?
Write a daemon program.
Run in the background:Code: [Select]./foo &
That would die the moment the user logged out. You need to use setsid() to divorce yourself from the shell process.
If I put ./foo & in the init.d does it run when someone logs on or when system boot?
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16