Colored FIND output?
Is it possible to get colored output from the find command? That is, in the path of each found item, directories are blue, executable scripts are green, et cetera? I’m using version 4.4.2 of GNU findutils.
Is it possible to get colored output from the find command? That is, in the path of each found item, directories are blue, executable scripts are green, et cetera? I’m using version 4.4.2 of GNU findutils.
I’m new to bash and would like my prompt to show something that in tcsh was trivial, yet after a good google search I still cannot do.
I have files that end in one or more newlines and should end in only one newline. How can I do that with Bash/Unix/GNU tools?
Whenever I type any “nonsense” command, this python error message is generated. Normal commands work fine. Any idea how to debug this?
Is there a way to print an entire array ([key]=value) without looping over all elements?
I’m looking for the (1) most secure and (2) simplest way to have a user type a password on a bash shell prompt and to have that password become part of stdin to a program.
I have a bash script as below in a file nepleaks_upd.sh, that I want to run as ./nepleaks_upd.sh bootstrap --branch off. Couldn’t make it to take --branch , but what it works with is ./nepleaks_upd.sh bootstrap -b off.
I have been working on several projects, and they require different environment variables (e.g., PATH for different versions of clang executables, PYTHONPATH for several external modules). Whenever I work on one project, I have to modify these environment variables myself (e.g., change .zshrc/.bashrc and source it); and I sometimes forget and make mistakes.
add the following line to file + save
I’m relatively new to Bash and am trying to do something that on the surface seemed pretty straightforward – run find over a directory hierarchy to get all of the *.wma files, pipe that output to a command where I convert them to mp3 and save the converted file as .mp3. My thinking was that the command should look like the following (I’ve left off the audio conversion command and am instead using echo for illustration):