Reputation
273
Top tag
Next privilege 300 Rep.
Create new tags
Badges
3 13
Newest
 Excavator
Impact
~40k people reached

Apr
10
awarded  Excavator
Apr
10
revised How to automaticaly enter sudo's grace period upon login
Corrections omitted in last revision.
Apr
10
comment How to automaticaly enter sudo's grace period upon login
Wouldn't running sudo -v -u $PAM_USER instead of the script have been a better solution?
Apr
10
suggested approved edit on How to automaticaly enter sudo's grace period upon login
Mar
22
answered Creating a self-contained installation file for pymssql for CentOS
Mar
2
comment How can I measure and prevent clock drift?
(...) my initial hypothesis was invalid Could you tell us what was the real cause, then?
Feb
29
comment Preserve bash history in multiple terminal windows
Actually history -a (...) does not trigger erasing duplicates according to this answer to the question Bash history: “ignoredups” and “erasedups” setting conflict with common history across sessions. This answer also gives the sequence of history -<option> commands that works with HISTCONTROL=ignoredups:erasedups setting.
Feb
29
comment Bash history: “ignoredups” and “erasedups” setting conflict with common history across sessions
history -c is also needed because it prevents trashing the history buffer after each command Why does this trashing occurs?
Feb
26
comment OSX 'env python' returns different interpreter than 'python'
Related: How to add home directory path to be discovered by Unix which command?
Dec
20
comment .profile is written in shell script — can I instead make my system understand that I want it to execute a Python script instead?
Related: Can I use Python as a bash replacement?
Nov
27
comment Finding the PID of the process using a specific port?
Answered on SU – Finding the process that is using a certain port in Linux
Nov
3
comment Why did this program install into ~/.local/bin … thats the first time I have seen that happen?
Never ever (almost) use sudo pip (...) – see What are the risks of running 'sudo pip'?, Is it acceptable & safe to run pip install under sudo? and Default to --user pip's issue.
Nov
3
comment Why did this program install into ~/.local/bin … thats the first time I have seen that happen?
If you want to know when Python uses ~/.local/bin directory read PEP 0370 -- Per user site-packages directory.
Nov
3
comment Where should a local executable be placed?
@janneb The XDG Base Directory Specification you refer to mentions only $HOME/.local/share (Version 0.7, 24th November 2010).
Nov
3
comment Why did this program install into ~/.local/bin … thats the first time I have seen that happen?
How did you install it?
Oct
23
comment Object-oriented shell for *nix
See Can I use Python as a bash replacement?
Oct
23
comment Is it possible to pass arguments into a Python script?
Have you tried to search before you asked? Searching google for passing arguments to python script brings all information you need. As the 4th link I got the question Command Line Arguments In Python from Stackoverflow.
Oct
23
comment Execute shell commands in Python
Related: Can I use Python as a bash replacement?
Oct
8
comment tar with relative paths
So what? Both instances of ~ are expanded and the whole invocation is not working as expected only because the last argument in case of using -C should have been given as relative path but instead is given as absolute path. Using ~ here does not matter at all.
Oct
8
comment tar with relative paths
Explanation is wrong. It doesn't matter here that ~ is expanded by shell. What matters is that -C changes current working directory as explained in anwer by Lekensteyn.