Is there a tool that combines zcat and cat transparently?
When handling log files, some end up as gzipped files thanks to logrotate and others not. So when you try something like this:
When handling log files, some end up as gzipped files thanks to logrotate and others not. So when you try something like this:
I am trying to sum certain numbers in a column using awk. I would like to sum just column 3 of the “smiths” to get a total of 212. I can sum the whole column using awk but not just the “smiths”. I have:
I’d like to have a German (Austria) locale (A4 paper size, 24 hour time, yyyy-mm-dd), but an English-language user interface (I don’t like poor translations). I figured that the correct way to achieve this is to set the LC_ variables as follows in my .bashrc (please correct me if I’m wrong):
I have multiple files with the same header and different vectors below that. I need to concatenate all of them but I want only the header of first file to be concatenated and I don’t want other headers to be concatenated since they are all same.
I know very well what the command does, but man dd, info dd tell me: ‘Convert and copy a file’, as does GNU Coreutils.
I have the following in a file Output.dat. I need to extract the value between dn: uid= and ,ou=
I posted a question and noticed people weren’t distinguishing correctly between many of these things: Windows Managers vs Login Managers Vs Display Managers Vs Desktop Environment. Can someone please clear this up, i.e. tell us the difference between them and how they are related perhaps?
I have openvpn config that users 2 factor authentication.
Suppose I have a file (call it sample.txt) that looks like this:
I’ve seen the questions and answers about needing to double-escape the arguments to remote ssh commands. My question is: Exactly where and when does the second parsing get done?