I have directories I want to rename,
for example: 10-00017_S9_L001_plasmidspades_careful
I want to rename them to just the 10-00017_S9_L001 part
I've tried to use the cut command echo "$filename" | ...
I have several projects where I have to use the same command.
The projects always are in
I'd like to run this command from every directory of my projects, ...
I have this file called viagens.txt:
I want to create a script that, in each line, checks the second column (in this case, in both cases it ...
Given I have log file app.log with contents:
2018-08-29 07:43:17.123-0500 CDT [osb_02] [[ACTIVE] ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'] INFO -
[OSB Tracing] Outbound ...
I have the following code in a Bash script:
# gives summary of my buyings in the report.txt file
echo Here is the summary of your purchases:
So there's an access log entry file named access_log and I'm supposed to find all of the unique files that were accessed on the web server. access_log is formatted like this, this is just an excerpt:
I'm trying to sort my logs and found that single digit dates were cut incorrectly.
Now I want to either add a 0, or remove the extra space.
Prior to that, I wanted to see how to get the correct lines ...
I've been using zsh with oh-my-zsh for nearly three years, mostly on debian systems.
I'm using ctrlw and ctrly a lot. For three weeks now my workstation is a MacBook and I've been using zsh and oh-my-...