Shell Script mktemp, what’s the best method to create temporary named pipe?
I’m aware its best to create temporary files with mktemp, but what about named pipes?
I’m aware its best to create temporary files with mktemp, but what about named pipes?
I have a bunch of directories and subdirectories that contain files with special characters, like this file:
How to create a menu in a shell script that will display 3 options that a user will use the arrows keys to move the highlight cursor and press enter to select one?
eval and exec are both built in commands of bash(1) that execute commands.
Is there a one-liner that will list all executables from $PATH in Bash?
I assigned a var like this: MYCUSTOMTAB=' ' But using it in echo both: echo $MYCUSTOMTAB"blah blah" or echo -e $MYCUSTOMTAB"blah blah" just returns a single space and the rest of the string: blah blah How can I print the full string untouched? I want to use it for have a custom indent because t … Read more
In order to understand another answer (by glenn jackman):
Given a directory of font files (TTF and OTF) I’d like to inspect each font and determine what style (regular, italic, bold, bold-italic) it is. Is there a command line tool for unix flavored operating systems that can do this? Or does anyone know how to extract the metadata from a TTF or OTF font file?
I was recently trying to learn more about how the shell works and was looking at how the clear command works. The executable is located in /usr/bin/clear and it seems to print out a bunch of blank lines (equal to the height of the terminal) and puts the cursor at the top-left of the terminal.