798 reputation
923
bio website beatgammit.com
location Provo, UT
age 26
visits member for 3 years, 2 months
seen 2 days ago

I am studying Computer Science at Brigham Young University. I been interested in computers and computer programming since I was a teenager.


Aug
19
awarded  Popular Question
Aug
19
awarded  Notable Question
Jul
2
awarded  Curious
Jun
19
awarded  Yearling
May
13
awarded  Nice Question
Feb
25
awarded  Notable Question
Feb
11
awarded  Notable Question
Feb
3
awarded  Critic
Feb
2
awarded  Nice Question
Nov
24
comment Bash- detect init system
@naxa - Short answer, no. Long answer, you can get pretty far with ps -p 1 -o command (prints the path to the current init). On Arch Linux and Fedora (IIRC), it's a symlink to the systemd binary (probably same on all systemd systems). On upstart, init --help will print usage information, and on my box, upstart is mentioned where it says who to email. On FreeBSD (sysV), this will return an error. There may be similar clues on other systems, but since asking this question, I've decided to just create them for all platforms and make separate packages for each one.
Aug
6
awarded  Nice Question
Jul
19
awarded  Popular Question
Jul
5
awarded  Popular Question
Jun
19
awarded  Yearling
May
5
awarded  Notable Question
May
3
awarded  Notable Question
May
2
awarded  Popular Question
Apr
15
awarded  Notable Question
Apr
8
awarded  Popular Question
Mar
25
asked How to switch xsessions?