How can I find a file whose name includes a given string, such as “abcde”?
Within a set of directories, how do I find a file whose name includes a given string, such as “abcde”?
Within a set of directories, how do I find a file whose name includes a given string, such as “abcde”?
There are common pairings of escape sequences to ASCII control characters, such as Ctrl-C and Ctrl-Z to ETX and SUB, respectively.
I am trying to run a bash script I have via cron, and I am getting the following error at the beginning of the execution:
This question already has answers here: How to ensure that string interpolated into `sed` substitution escapes all metachars (1 answer) Insert text from file inline after matching pattern in another file (3 answers) Closed 7 years ago. I want to write a sed (or awk) command to replace a string from one file with the … Read more
I have to edit some files placed on some server I could reach via ssh.
I do a ton of file compression. Most of the stuff I am compressing is just code, so I need to use lossless compression.
This might be really basic question but I want to understand it thoroughly.
Tools like sed, awk or perl -n process their input one record at a time, records being lines by default.
I want to migrate the configuration of an Ubuntu desktop to a new box with different hardware. What is the easiest way to do this? /etc/ contains machine and hardware specific settings so I can’t just copy it blindly. A similar problem exists for installed packages.