43,854 reputation
654118
bio website
location Living in Marseille, France
age 34
visits member for 2 years, 4 months
seen 2 hours ago

Elected moderator on Unix & Linux. Feel free to @ping me in chat if there's anything I can help you with.

I've been using Linux since the late '90s and have gone through a variety of distributions. At one time or another, I've been a user of Mandrake, SuSe, openSuSe, Fedora, RedHat, Ubuntu, Mint, Arch and for the past few years Linux Mint Debian Edition (which is basically Debian testing but more green).

My Linux expertise, if I can grace it with such a lofty title, is mostly on manipulating text and regular expressions since that represents a large chunk of my daily work.

profile for terdon on Stack Exchange, a network of free, community-driven Q&A sites


2h
comment looping a command without waiting for the first run
Please edit your question and explain what you're trying to do. Your two commands are not equivalent (they will react differently if the mysql command return an error for example).
3h
comment How to list all running daemons?
I suggest you post a different question asking what a daemon is.
3h
comment How to list all running daemons?
Yes they are, but you don't seem to like that definition :). If you accept that daemon==service, then service --status-all gives you everything you want. You seem to want more which is why I ask how you define "daemon".
3h
comment How to list all running daemons?
Well, if you define daemons as services, service --status-all is what you need. Ubuntu seems to treat NetworkManager differently. I get both networking and network-manager in the output of services --status-all on Debian but only networking on Ubuntu. I think you need to define what exactly you mean by "daemon".
4h
comment How to list all running daemons?
Anacron not being a daemon is more a question of semantics because it is not run constantly. It is still run as a service which is what you normally refer to as daemons. Please edit your question and i) tell us which Ubuntu you are running and ii) what exactly you mean by "daemon". What is your final objective here?
4h
comment How to list all running daemons?
Are you sure it's not listed? How are you checking? I can see it on my Debian. Note that the name is network-manager, not NetworkManager.
4h
revised How to list all running daemons?
edited tags
4h
comment Use two different ip addresses per host in SSH
Nice, thanks! I'd upvote but I'm afraid I already had before the edit :)
4h
comment Try to disable console output, console=null doesn't work
Hi and welcome to the site. Please edit your answer and explain what file you are suggesting should be edited, and show both the original line and what you want to change it to.
4h
revised Use two different ip addresses per host in SSH
added 148 characters in body
4h
answered Use two different ip addresses per host in SSH
5h
comment Jar file size mysteriously reduces to 0kb
Sorry but this is really way too broad to answer. For all we know, someone else is overwriting the file and emptying its contents. We have no idea what this jar file is doing, what process it is a part of, or what is happening on your machine so there are several hundred possible explanations.
5h
reviewed Approve Daemons of accounts
1d
revised Cannot go in sleep mode in Linux Mint
edited tags
1d
comment change location of $HOME/.Xauthority
I have os many because I have many more programs installed presumably. For example .xscreensaver, .viminfo, .emacs, .zshrc, .kshrc. As I said, there are many programs that place their config files in ~/ and not in ~/.config. I strongly suggest you don't try to make ~/ immutable. It is the default location for all sorts of files. You will have the same problem as you have with .Xauthority if you try to install another shell or any of hundreds of other programs.
1d
comment change location of $HOME/.Xauthority
Could you explain why in the world you would want to set $HOME to immutable? There are many, many files that are automatically created there (I have 109 dotfiles in my ~/ for example). Not all programs use the ~/.config directory and you will face all sorts of issues. This is really not a very good idea.
1d
comment Invalid back reference using grep
One more thing, do you also want to match aaaaaa or do you need at least two different characters? Please consider giving us example input and desired output.
1d
revised Invalid back reference using grep
added 122 characters in body; edited tags
1d
comment Invalid back reference using grep
@HighlightsFactory OK, in that case use the grep -w example I gave in my answer.
1d
answered Invalid back reference using grep