Reputation
405
Top tag
Next privilege 500 Rep.
Access review queues
Badges
5 16
Impact
~21k people reached

Feb
2
awarded  Notable Question
Jan
12
awarded  Yearling
Oct
22
awarded  Critic
Oct
22
comment Username is not in the sudoers file. This incident will be reported
I still get the message after typing this as well as adduser NAME sudo. I think there m,ust be something else. I'm using Debian 7.8.
Oct
19
comment xfce4-screenshooter creates something invalid in clipboard when taking screenshot
@MichaelSchumacher Better?
Oct
19
revised xfce4-screenshooter creates something invalid in clipboard when taking screenshot
added 32 characters in body
Oct
13
comment Does omxplayer run on normal 64bit?
@Jan You could comment that on every question about software and also many questions about programming.
Oct
13
asked Does omxplayer run on normal 64bit?
Oct
12
accepted Check if all listed packages are installed in bash
Oct
12
comment Check if all listed packages are installed in bash
I wanted to do exactly what you do, it's wasted effort to save list of missing libraries. Just check'em all, and if any is missing, prompt user for apt-get. I already got your code working with ugly if statement, but variable would be preffered. I plan on wraping it into a function.
Oct
12
comment Check if all listed packages are installed in bash
Is there some short way to save results? Eg. in C/C++ I'd do installed = installed || isInstalled(libArray[i]). So similarly, I'd like to put false in a variable if one or more were not installed. I think I can do this with if, but that's a lot of code for nothing.
Oct
12
asked Check if all listed packages are installed in bash
Oct
7
accepted How to ensure proper file permissions when running installer bash as sudo?
Oct
7
comment How to ensure proper file permissions when running installer bash as sudo?
Actually, whatever you wrapped in caused to return root 0, not current user (XXXXX 1000). But removing the wrapper fixed the issue.
Oct
7
comment How to ensure proper file permissions when running installer bash as sudo?
I wanted id of the user that issued the sudo ./install.sh command, so that I can install the files with him being the owner. That was point of my question.
Oct
7
comment How to ensure proper file permissions when running installer bash as sudo?
How can I get the owners user id and group when the script is running under sudo?
Oct
6
asked How to ensure proper file permissions when running installer bash as sudo?
Oct
6
comment Get percentage information from 7z command in bash
@Marco Well, I already actually gave up. Further this question is about 7z specifically, so maybe someone could post one of these hacky approaches mentioned on superuser.
Oct
6
comment Get percentage information from 7z command in bash
@Marco Seems that jar is not installed on debian by default... 7zip was. Isn't there another alternative?
Oct
6
comment Get percentage information from 7z command in bash
@lese So the switch in help is just an error then?