1,185 reputation
414
bio website janosgyerik.com
location Paris, France
age 35
visits member for 2 years, 8 months
seen Apr 21 at 7:46

I like to code and I do it a lot. I want to build software to save the planet.

If you use Bazaar, you might be interested in my book Bazaar Version Control. If you work a lot in the shell, you might be interested in my Time-Saving Tricks on the Command Line.

I make free Android apps like Programming Quiz, websites like bashoneliners.com, and other open source stuff.

You can find me on Twitter as @janosgyerik or on my blog.


Mar
29
comment Automatically mount NTFS drive when I login
Btw, at least in Xubuntu, it's a bit different: udisksctl mount -b /dev/disk/by-uuid/THE_UUID. udisksctl is in the udisks2 package and I don't have a udisks package.
Mar
8
comment Rename files incrementally in a specific directory?
@souravc oh shoot, you're right, thanks!
Mar
8
comment Eclipse Doesnt start
And if you run /opt/adt-bundle-linux-x86_64-20131030/eclipse/eclipse directly instead of its symlink? Also, what is the output of ls -l /opt/adt-bundle-linux-x86_64-20131030/eclipse/eclipse ?
Mar
8
comment Gksu Naulitus is not working
@user222588 others might make the same mistake, search for "naulitus" and find your post, so it's not all that bad ;-)
Mar
3
comment Create a Screen session with a bash script using contab
Do you get an error message or something? First get the bukkit.sh script working on the command line. Next, check that screen -S bukkit path/to/bukkit.sh works. Next, check that screen -d -m -S bukkit path/to/bukkit.sh works. Finally, setup cron. Try the most simple thing first, and take little steps so you understand which step breaks. Tell me that, and the error message you get if you need help.
Mar
2
comment Live version works fine, but installation crashes
What is the error message when the installer crashes?
Mar
2
comment nvcc not found, but only when using sudo
@dsp_099 yup, see my updated answer
Mar
1
comment How can I run this sh script without typing the full path?
Thanks @Jacob, notice it says "When scripts are installed into a directory in the system PATH". The idea.sh script is not such script, in fact moving it outside its installation dir is completely unsupported. The Debian packaging rules don't apply here.
Mar
1
comment How can I run this sh script without typing the full path?
@Jacob can you please include a link to this "bad practice"? I think that's plain wrong.
Feb
25
comment How to remove an unsuccessful installation of Java 6
You want to give up completely, or you want to fix this installation? Repeating the apt-get install step might fix it. Or you could try to remove the broken package with apt-get remove --purge oracle-java6-installer
Feb
25
comment How can I quit a frozen application?
Can you switch to a virtual terminal with Control-Alt-F1 when it happens?
Feb
25
comment Shell Scripting
It looks like the line 1 of cadetkpgm2.sh is cadetkpgm2.sh. Check what's inside the file using cat cadetkpgm2.sh, because I think it's not what you think it is. After you fix the content of the file, bash cadetkpgm2.sh will run it. You can make it executable with chmod u+x cadetkpgm2.sh.
Feb
25
comment Shell Scripting
What's the error message? It probably tells you exactly what the problem is ;-)
Feb
19
comment How does security differ between any two standard users?
Down to file permissions, group memberships, and application specific custom settings. Why do you ask?
Feb
18
comment Problem opening .sh files
Can root access that file? Maybe the file is in your encrypted home directory?
Feb
15
comment How to store the array length in a variable in bash scripting language
@Akari ah.... I just noticed your typo...
Feb
7
comment How to concate strings in a bash script to use in SQL-Statement?
I'm out of ideas... Sorry I couldn't help.
Feb
7
comment How to concate strings in a bash script to use in SQL-Statement?
Did you really run that command? Just because you're root, that doesn't necessarily mean you can access. For example the home directory could be encrypted. Run that command. If that works, then the only thing I can think of is that there must be some tiny detail we're missing
Feb
7
comment How to concate strings in a bash script to use in SQL-Statement?
And when you are root, can you read the content of that file? For example with sudo head /path/to/file ?
Feb
7
comment How to concate strings in a bash script to use in SQL-Statement?
Do you run the script with a different user? If the script runs as a different user, it's possible that the user doesn't have permission to the containing directory, causing the test to fail.