42,536 reputation
651117
bio website
location Living in Marseille, France
age 34
visits member for 2 years, 3 months
seen 8 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


10h
revised Ubuntu runuser command?
added 27 characters in body; edited tags
11h
comment Ubuntu runuser command?
Welcome to Unix & Linux! Please edit your question to add extra information, it is hard to read and easy to miss in the comments.
11h
comment Ubuntu runuser command?
Can't you just use sudo -u instead? Also, please add the output of echo $PATH as the user who runs runuser and the output of ls -l /sbin/runuser.
11h
revised “cannot find -lnetsnmpmibs” while compiling net-snmp-5.7.2
rolled back to a previous revision
11h
comment Grep output not working
We have no idea what you're doing wrong unless you show us your input text. You almost certainly don't want \w+ but everything depends on the input. When asking this type of question, you need to show us your input and your desired output. If you're trying to match uniquetext, use grep -oP '\.com/\K\w+'.
11h
revised Grep output not working
Fixed grammar and formatting
12h
comment Percent signs and environment variable in a shell script
Is the script expected to work on both Windows and *nix? Could the developer have taken the monumentally inelegant route of providing commands for both systems and just allowing the wrong ones to error out? What happens if you run the script? How is the script being run? Is there a shebang line?
14h
comment Oneliner which prints groups and their numbers which start with a '1'?
Is this an assignment? What have you tried so far? What is giving your trouble?
14h
revised Oneliner which prints groups and their numbers which start with a '1'?
edited tags
15h
comment How to troubleshoot fan speed in Linux Mint 17 Cinnamon?
Please edit your question and include the output of cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor, your graphics card and the driver you are using to control it.
15h
revised What are the shell's control and redirection operators?
added 5 characters in body
15h
comment Merging spreadsheets?
I reopened this but I still think you would get better answers on Super User. At least, edit and explain what "consolidate" means. Show us an example of what you have and of what you want to have.
16h
comment Merging spreadsheets?
@MJA I have no idea, Excel is a Windows program. Why don't you ask on Super User instead?
16h
comment Merging spreadsheets?
OK, that's better. However, there is no way to get sheets in csv files. The best you can get is three different files. Otherwise, use a spreadsheet program and its format (.odf, .xls or similar).
16h
revised Is there a way to protect a file from being deleted, but not from being altered?
deleted 12 characters in body; edited tags
16h
comment Restore original configuration for every package in system
The safe way to do this is to move the dotfiles, create a new user, and then copy them back in batches. That way you can find the one that was causing the problem and you can still keep the 10 years of changes that you've made to your personal files. Deleting my .emacs for example would be a disaster for me.
16h
revised Restore original configuration for every package in system
Improved grammar
16h
comment Merging spreadsheets?
Umm, not really :). You're showing us screenshots of the title bar or whatever of windows software. We can't do anything from that. What we need to see is an example of your data. Don't post an image of it, CSV is pure text, just run cat file.csv | head and paste the output into your question. Then, explain what you mean by "merging". Do you want to remove duplicates? Combine different lines into one? The easiest way to explain is to show us your desired output.
16h
comment Merging spreadsheets?
Your files are not CSV files if they have multiple sheets, CSV is a pure text format. I am closing this as unclear since pure text files can't have multiple "sheets". If these are somehow actual CSV files, please edit your question and add an example and also show what you want them to become. Screenshots of windows programs are not very helpful.
16h
comment Restore original configuration for every package in system
Sorry, but this is spectacularly bad advice. This will delete everything! You could instead suggest that the OP remove specific dotfiles. No reason to lose their shell's history for example.