What is the portable (POSIX) way to achieve process substitution?
Some shells, like bash, support Process Substitution which is a way to present process output as a file, like this:
Some shells, like bash, support Process Substitution which is a way to present process output as a file, like this:
I’ve noticed that throughout the Internet, within forums and blog posts, Unix always has a * in the word, whether it is *nix or Un*x, as I noticed at the welcoming banner at the Unix StackExchange site.
Within the output of top, there are two fields, marked “buff/cache” and “avail Mem” in the memory and swap usage lines:
I have the following if block in my bash script:
I see these pretty colors in manpages viewed with less when setting a bunch of these variables. What do they mean, where is the documentation? Is this interpreted by less or termcap?
The two implementations are very similar but have some minor differences (and there might be more that was not yet noticed ofcourse), e.g.
I have been studying the Linux kernel behaviour for quite some time now, and it’s always been clear to me that:
As far as I know, ping needs to create a raw socket (which needs either root access or cap_net_raw capabilities).
When creating directories, mkdir -m <mode> <dir> provides for creating one or more directories with the given mode/permissions set (atomically).
My question is about Linux in general but lets suppose my ubuntu isn’t working property, booting in tty or whatever. I have no internet connection but I have ubuntu live cd. Is it possible to reinstall the desktop environment from live cd?