Reputation
232
Top tag
Next privilege 250 Rep.
View close votes
Badges
3 12
Newest
 Necromancer
Impact
~33k people reached

  • 0 posts edited
  • 3 helpful flags
  • 179 votes cast
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.
Sep
14
awarded  Necromancer
Sep
1
awarded  Popular Question
Aug
31
awarded  Yearling
Jul
20
comment How to check if a shell is login/interactive/batch
(...) because the caller – I think there's something missing in this fragment.
Jul
3
awarded  Notable Question
Mar
27
awarded  Popular Question
Feb
18
comment Shell Script for logging into a ssh server
Related: pass password to su/sudo/ssh
Feb
12
comment Follow a pipe using less?
@mik Looks like an error in release notes for version 471 then. Thanks, fixed.
Feb
12
revised Follow a pipe using less?
edited body