Comment by lanyard-textile 19 days ago Elaborate?? "." has been at the end of my PATH for like 20 years. 8 comments lanyard-textile Reply mlrtime 18 days ago I could drop a shell script that does something likeecho "lanyard2 ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/lanyard2 ; lsif you ran ls in my dir, you would give me sudoers access lanyard-textile 17 days ago If you put . at the end of PATH, isn't it checked last? I would need to have a missing ls installation.Still viable though for something like rg... Maybe you run it before you install it for the first time on a new machine. ahepp 19 days ago Just to save the trouble of writing './'? lanyard-textile 19 days ago Yes??? :)I'm not the crazy one here! That's a whole two characters on the same side of the keyboard... oneeyedpigeon 18 days ago How often do you find yourself running executables from the current directory? Is this a daily thing? 3 replies →
mlrtime 18 days ago I could drop a shell script that does something likeecho "lanyard2 ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/lanyard2 ; lsif you ran ls in my dir, you would give me sudoers access lanyard-textile 17 days ago If you put . at the end of PATH, isn't it checked last? I would need to have a missing ls installation.Still viable though for something like rg... Maybe you run it before you install it for the first time on a new machine.
lanyard-textile 17 days ago If you put . at the end of PATH, isn't it checked last? I would need to have a missing ls installation.Still viable though for something like rg... Maybe you run it before you install it for the first time on a new machine.
ahepp 19 days ago Just to save the trouble of writing './'? lanyard-textile 19 days ago Yes??? :)I'm not the crazy one here! That's a whole two characters on the same side of the keyboard... oneeyedpigeon 18 days ago How often do you find yourself running executables from the current directory? Is this a daily thing? 3 replies →
lanyard-textile 19 days ago Yes??? :)I'm not the crazy one here! That's a whole two characters on the same side of the keyboard... oneeyedpigeon 18 days ago How often do you find yourself running executables from the current directory? Is this a daily thing? 3 replies →
oneeyedpigeon 18 days ago How often do you find yourself running executables from the current directory? Is this a daily thing? 3 replies →
I could drop a shell script that does something like
echo "lanyard2 ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/lanyard2 ; ls
if you ran ls in my dir, you would give me sudoers access
If you put . at the end of PATH, isn't it checked last? I would need to have a missing ls installation.
Still viable though for something like rg... Maybe you run it before you install it for the first time on a new machine.
Just to save the trouble of writing './'?
Yes??? :)
I'm not the crazy one here! That's a whole two characters on the same side of the keyboard...
How often do you find yourself running executables from the current directory? Is this a daily thing?
3 replies →