What does a “< <(…)" redirection mean?
I’ve seen that rvm (ruby version manager) is installed using the following command:
I’ve seen that rvm (ruby version manager) is installed using the following command:
I often want to do some variant of this idiom:
I put together a script to do some file operations for me. I am using the wild card operator * to apply functions to all files of a type, but there is one thing I don’t get. I can unzip all files in a folder like this
For example, while this works:
What is the file with the ~ at the end of the filename for? $ ls # aliased to add flags -rwxrwxr-x 1 durrantm 2741 May 16 09:28 strip_out_rspec_prep_cmds.sh~* drwxrwxr-x 13 durrantm 4096 May 16 14:21 ../ -rwxrwxr-x 1 durrantm 2221 May 16 14:58 strip_out_rspec_prep_cmds.sh* This is not the same as .swp files which are … Read more
Description: console calculator concalc is a calculator for the Linux
console. It is just the parser-algorithm of extcalc packed into a
simple console program. You can use it if you need a calculator in
your shell. concalc is also able to run scripts written in a C-like
programming language.
I have tried using pipes and redirections to have (C program or scripts) output end up on the input buffer, the way printf "33[6n" does, but no positive results.
ls returns output in several columns, whereas ls|cat returns byte-identical output with ls -1 for directories I’ve tried. Still I see ls -1 piped in answers, like ls -1|wc -l. Is there ever a reason to prefer ls -1? Why does ...|cat change the output of ls?
What is the difference between the command
In bash you can use exec -a and in zsh you can alternatively also set ARGV0 to execute a program with a certain zeroth argument but is there also a POSIX way of doing so?