14,430 reputation
22956
bio website
location Marseille, France
age 34
visits member for 2 years
seen 45 mins 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


Sep
9
awarded  Enlightened
Sep
9
awarded  Nice Answer
Sep
9
comment making a bash script executable programatically
Thanks for the edit, -1 removed. However, using a C program to launch a shell script on Linux is completely unnecessary and adds needless overhead. Why not just add the script itself to the startup applications? Or, if you really want to use C why not implement it directly? Creating a wrapper in C that calls a shell script under Linux makes no sense at all unless you need the script to be run with the SUID bit set. Even in that case, there are usually simpler solutions.
Sep
9
revised making a bash script executable programatically
Fixed formatting.
Sep
9
comment making a bash script executable programatically
-1: This is not really an answer. Why would python be any better than a shell script? Let alone C! In any case, you're not actually showing what this program would look like and you're not explaining how to add a program to the startup program list.
Sep
9
comment making a bash script executable programatically
Please edit your question and show us the script. Also show us the output of ls -l scriptname. You should also clarify how exactly the script is created and why you don't just create it once and leave it alone. Finally, your normal user shouldn't have write access to /var and should therefore not be able to create directories there.
Sep
9
comment Mouse and video freezes. Fixed by CTRL-ALT-F6 and then CTRL-ALT-F7
Please edit your question and provide more information. What version of Ubuntu are you using? What desktop environment (which Ubuntu flavor)? What is your graphics card? Which driver is it using?
Sep
9
answered Sourcing a file
Sep
9
revised Sourcing a file
edited tags
Sep
9
revised Two Volumes? Want to Merge!
deleted 53 characters in body
Sep
9
comment Two Volumes? Want to Merge!
Please add the contents of your /etc/fstab file so I can make sure that your partition is always mounted automatically and at the same place. If it isn't, my answer won't work and instead will result in an (very easy to fix) unbootable system.
Sep
9
answered Two Volumes? Want to Merge!
Sep
9
revised Two Volumes? Want to Merge!
edited tags
Sep
9
comment Two Volumes? Want to Merge!
Done and done indeed! Thanks, that's much clearer.
Sep
8
comment Two Volumes? Want to Merge!
Please edit your question and include the output of df -h. I would also suggest you remove the history, just explain what you need to do now rather than what you've done in the past. Also, please explain why you need to "merge". I suspect all you want is to be able to save your files on the 750 HD. There's no reason to "merge" the two, you can use both of them.
Sep
8
revised Bind media keys to Pithos actions
added 29 characters in body; edited tags
Sep
8
comment Cron, xconf-query and Xubuntu 14.04
Please edit your question and include the exact cron line. See here for help on formatting your question (though you seem to have figured it out already). Your issue is probably that you also need to add XAUTHORITY=~user/.Xauthority to the line but we need the exact line to be sure.
Sep
8
answered Make xterm copy and paste work on my keyboard
Sep
8
revised Make xterm copy and paste work on my keyboard
deleted 21 characters in body; edited title
Sep
8
comment Prevent machine from sleeping when SSH connections are on
May I suggest using grep -cv :0 instead of passing through wc?