5,670 reputation
2722
bio website
location
age
visits member for 1 years, 8 months
seen Feb 24 at 18:23

Nov
29
comment Linking /proc/mnt to /proc/mounts
Oh, also, my ln command was backwards, sorry. Fixed!
Nov
29
comment Linking /proc/mnt to /proc/mounts
You could use another path too if /tmp isn't working, like /etc. You also don't need a symlink at all - just copy the contents of /proc/mounts into your new file.
Nov
29
comment Script to insert line into files in sub-dirs
If you're using GCC, you could go one step further and use -include headerfile.h on the command line. No source code changes at all!
Nov
29
comment Cannot execute binary file on Linux server
Goez is right. The bash error indicates that you ran . knime instead of ./knime.
Nov
28
comment dig @nameserver doesn't work
You said: "Root servers will not answer queries". The root server will answer. It will say, "I don't know, here are the nameservers to ask next." Anyway, regardless of how nitpicky you want to get, your answer was not useful, which is exactly what a downvote is for. The asker was having problems with a firewall blocking replies, and you discussed unrelated details about how root nameservers don't include A responses in their answers.
Nov
28
comment Script to insert line into files in sub-dirs
Can't you just add the root to your compiler's include path and use #include <headerfile.h> everywhere?
Nov
26
comment cinnamon doesn't start, bumblebee problem
ppa-purge, despite its name, does not actually remove packages. It only removes the named PPA from your apt configuration, then reinstalls any packages that have a version present in your remaining repositories. If there's a package that was provided by the PPA and not part of your standard repository, like bumblebee and bumblebee-nvidia, ppa-purge won't remove them. See Bug 945967 for confirmation. Run dpkg -l | grep bumblebee to see what bits of Bumblebee are still installed. If it shows no output, it's fully gone.
Nov
26
comment cinnamon doesn't start, bumblebee problem
But did you use --purge when removing it? Removing the package without purging the configuration is likely the reason it was still broken.
Nov
26
comment dig @nameserver doesn't work
I downvoted because it is wrong. The root servers will answer queries, with a NS record pointing to the next server in the hierarchy that may be able to answer. They will not simply drop queries and send no response, which is what the asker was seeing.
Nov
22
comment Bash script to detect when my server is down or offline
Instead of pinging the server, you should test whatever it is that you care about the server doing. For example, if it's a mail server, it's much more important that it successfully sends and receives mail.
Nov
18
comment Which Unix is considered the vanilla Unix and which Unix's are just Unix rather than Unix-like?
opengroup.org/openbrand/register
Nov
17
comment How to access a KVM virtual-machine?
For your first question, you need an X display (e.g. ssh -X to your server) to run virt-manager. For the second question, yes, SSH uses the network and so you need an IP address.
Nov
16
comment Uncompress txt.gz files
Add the output of hd file.txt.gz | head - 8 to your question and we will be able to answer.
Nov
15
comment dig @nameserver doesn't work
But you should get NS records in an AUTHORITY section, not "connection timed out".
Nov
14
comment Remove /var partition and replace it with /var into / (root) partition
@dubiousjim: sounds right to me, I added a step.
Nov
14
comment Run ssh login command without modifying remote .bashrc
Weird, it should definitely work -- I made a setup like yours here and tested it. What version of bash are you running? What's the output of set -o in your shell after logging in?
Nov
14
comment Run ssh login command without modifying remote .bashrc
If you have set -o vi in your profile files too (or they source .bashrc), you might need: ssh -t user@host bash --norc --noprofile -o emacs -i
Nov
13
comment Run ssh login command without modifying remote .bashrc
Because there's a command in .bashrc that overrides it? Add --norc, or --rcfile yourfile.rc instead.
Nov
11
comment How to stop a infinite running process (ztail) started by a ssh session after that session is closed
"If the ssh session terminates, the kernel kills all child processes as well." Not exactly. The kernel sends a SIGHUP to the process group when the controlling terminal disappears, or the session leader dies creating an orphaned process group. It is likely ztail is either affecting sessions/process groups with setpgid or setsid, or ignoring SIGHUP. See chapter 9 in APUE for all the gory details.
Nov
10
comment Configure kbd and immediately profit of the changes without rebooting
sudo killall vcstime will probably fix it.