This tag is EXCLUSIVELY for PROGRAMMING questions that are directly related to Unix; general software issues should be directed to the Unix & Linux Stack Exchange site or to Super User.
I'd like to reverse the order of lines in a text file (or stdin), preserving the contents of each line. …
shell unix command-lineHow can I get grep to display the filename before the matching lines in its output?
unix grepI'm using the screen multiplexer tool on the command shell and open a lot of screens. I then forget which …
linux unix shell gnu-screenWhat is the command to make less display line numbers in the left column?
unix gnuI have a file called diff.txt. I Want to check whether it is empty. I wrote a bash script …
linux bash unix file-handling is-emptyI have the script below to subtract the counts of files between two directories but the COUNT= expression does not …
bash shell unixSuppose that I have this script export.bash: #! /usr/bin/env bash export VAR="HELLO, VARIABLE" When I execute the …
bash shell unix environment-variables