[-] quarrel4you@piefed.social 5 points 3 weeks ago

One option is to use less -R to see the pretty colors.
The boring option is to use ls --color=never and be sad.

[-] quarrel4you@piefed.social 1 points 4 weeks ago

Or there is ETIAS or, ESTA, ETA, K-ETA, etc.

[-] quarrel4you@piefed.social 3 points 1 month ago

You can actually do chmod +777,u+rwx,go-w foo to make the logic easier if you want to force a starting assumption.

[-] quarrel4you@piefed.social 2 points 1 month ago

Careful: chmod -X also looks for any existing exec bits:

$ umask 0
$ >foo >bar
$ ls -al foo bar
-rw-rw-rw- 1 user group 0 Sep 10 00:00 bar
-rw-rw-rw- 1 user group 0 Sep 10 00:00 foo
$ chmod o+x foo
$ ls -al foo bar
-rw-rw-rw- 1 user group 0 Sep 10 00:00 bar
-rw-rw-rwx 1 user group 0 Sep 10 00:00 foo
$ chmod u=rwX,g=rX,o=rX foo bar
$ ls -al foo bar
-rw-r--r-- 1 user group 0 Sep 10 00:00 bar
-rwxr-xr-x 1 user group 0 Sep 10 00:00 foo
[-] quarrel4you@piefed.social 4 points 1 month ago

I like the way you think! Too bad a I replied to a seaming empty post some 26 min after you. I always disliked this about Reddit. Seeing someone rewording the top reply for karma.

[-] quarrel4you@piefed.social 27 points 1 month ago

You may want to learn about the shell's "history expantion" functions. as an example:

~$ ls ~/Documents/taxes/tax_year_2012/2012-12-01.txt  
/home/tom/Documents/taxes/tax_year_2012/2012-12-01.txt  

~$ cd !!$:h  
cd ~/Documents/taxes/tax_year_2012  

~/Documents/tax_2012$ pwd  
/home/tom/Documents/taxes/tax_year_2012  

Here the string "!!$:h" is basically the last command's [ !! ] last argument [$], stripped of its last path component [:h].

[-] quarrel4you@piefed.social 5 points 1 month ago

If you want to ruin someone's enjoyment of anime point out the horses!

quarrel4you

0 post score
0 comment score
joined 7 months ago