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?
This may sound trivial but, on more than one occasion, I have found myself having forgotten which file in vim I have open (e.g. when I am looking through different log files and such) and the only way I knew how to find out was to close the file and look in the command history for the most recent command.
Standard Unix utilities like grep and diff use some heuristic to classify files as “text” or “binary”. (E.g. grep‘s output may include lines like Binary file frobozz matches.)
I was trying to re-attach to a long-running tmux session to check up on a python web-application. However tmux attach claims that there is no running session, and ps shows a tmux process (first line), but with a question mark instead of the pts number.
I’ve got a question that I’ve not been able to find an answer for. I have two computers, both of which run Ubuntu Linux 12.04. I have set up my first computer (“home”) to be able to SSH into my second computer (“remote”) using public/private RSA key authentication.
I have a bunch of directories and subdirectories that contain files with special characters, like this file:
So I need to compress a directory with max compression.
We have an Ubuntu 12.04 server with httpd on port 80 and we want to limit:
I am studying the history of computers to better understand why Linux terminals work the way they do. I have read that in the mid 1970’s to the mid 1980’s, most people used real terminals (as opposed to terminal emulators) to communicate with large computers, this is an example of a real terminal:
After mount there are listed some filesystems. I need to know what’s in the /dev, /proc and /sys. Some examples would be great!