2,499 reputation
41129
bio website none
location Copenhagen, Denmark
age 41
visits member for 3 years, 1 month
seen 5 hours ago

Long-time Linux user (since 1994).


Oct
20
comment Shell script written in a different shell than what my current shell
The only thing I would add is if you execute the script using . script.sh or source script.sh, it will use your current shell, not spawn a new one. Which means that then it will make a difference what shell you are using.
Oct
8
reviewed Edit suggested edit on Why the S_ISUID and S_ISGID mode bits got cleared when the owner or group of an executable file are changed by an unprivileged user
Oct
8
revised Why the S_ISUID and S_ISGID mode bits got cleared when the owner or group of an executable file are changed by an unprivileged user
removed unnecessry text
Sep
30
awarded  Explainer
Sep
16
awarded  Yearling
Sep
10
awarded  Notable Question
Aug
26
comment Login by ssh , exec one command and i don't want to quit the bash
I achieved the same by changing the PS1 setting in the .bashrc of all remote machines I was working on (30+ servers). This means some setup work, but then you can just ssh into the machines..
Aug
26
revised Pattern replacement
deleted 4 characters in body
Aug
26
answered Pattern replacement
Aug
22
answered MySQL different database location
Aug
19
reviewed Looks OK Get text between a word and the last line?
Aug
18
comment Why doesn't the sudo command need the root password?
The answer should really start with the setuid part, because that's the reason that it is actually possible. /etc/sudoers is just the reason for the flexibility of the sudo command.
Aug
6
revised How do you get fgrep to find the literal “--help”?
added 216 characters in body
Aug
5
answered How do you get fgrep to find the literal “--help”?
Aug
4
comment Why am I getting “Job for httpd.service failed…,” and how do I go about fixing it?
What happens when you start apache directly with /usr/bin/apachectl start?
Aug
1
reviewed Approve suggested edit on Create an absolute symbolic link to the current directory
Jul
31
revised Expand ~, . and `..`
fixed title, and minor grammar fix
Jul
31
comment two if conditions in for loop bash scripting
Your netstat line does not use the $i value at all. So either you'll get the "NOT - OK" line three times, or not at all.
Jul
31
reviewed Approve suggested edit on What do brackets mean in the output of pstree?
Jul
31
reviewed Approve suggested edit on How to clean up dual ESP partition mess