1,293 reputation
1725
bio website
location Seattle, WA
age
visits member for 2 years, 9 months
seen 2 hours ago

Weapons of choice: C, Python


Feb
20
comment Creating symlinks in the etc directory without root access
@hymie I didn't say I want to have a security system.
Feb
20
comment Creating symlinks in the etc directory without root access
I've already solved this issue in my program, this question comes from my curiosity.
Jan
27
comment Can I run a command loaded from .bashrc with sudo?
You're right, that should be enough.
Jan
27
comment Can I run a command loaded from .bashrc with sudo?
Yes, I can obviously source my .bashrc file but I am looking for more quicker solution. I'll edit my question.
Jan
25
comment Can I use which command on aliases?
@jimmij Preferably just google-chrome, but the full path would be OK.
Jan
25
comment Can I use which command on aliases?
I am using Ubuntu 14.04.
Jan
25
comment Can I use which command on aliases?
Well, in my case it prints: chrome is an alias for google-chrome which is exactly the point of my question (I want only google-chrome).
Jan
25
comment Can I use which command on aliases?
Bash, though I am using zsh as well.
Jan
25
comment Can I use which command on aliases?
@Ketan The -a switch does not work that way.
Jan
25
comment SSH banner not showing
I can confirm it's not 1, 2 or 4. How can I check 3rd possibility?
Jan
25
comment SSH banner not showing
@mdpc and what are the proper permissions?
Jan
25
comment SSH banner not showing
@SailorCire /var/log/syslog (Ubuntu 14.04) doesn't show anything related to SSH.
Jan
21
comment Make cd automatically ls
What exactly does [ -z "$PS1" ] && return do?
Jan
19
comment How do I get command name of the last executed command?
Second comment under my question mentions: !:0, what is the difference between !:0 and !!:0?
Jan
15
comment Installing Ubuntu/Debian packages on Arch
@JohnWHSmith I thought it's the the other way round, that Arch would have less packages than Ubuntu available in any of the repos.
Jan
15
comment Installing Ubuntu/Debian packages on Arch
@jofel How do I do that?
Jan
7
comment Can I check how much energy a USB device is consuming?
I saw this question but quoting it: You'll be able to find that the device "requested" 500mA just to comply with the standard but not the actual current drain..
Dec
30
comment How can I configure Linux to not require sudo for specific commands for specific users?
@Dayvo I mean to run it without sudo.
Dec
28
comment Save windows state in DWM
@jasonwryan Is not being able to save windows state part of DWM's design?
Dec
28
comment Searching through C++ STL man pages without having to add “std::” every time
Of course that's one way to do it but I really need it to execute man pair (though it can be overridden man command).