I am not very experienced with bash scripting. But I am trying to validate individual xml files with corresponding xsd files in a directory. The beginning name does not change but the dates changes.
I have a human written text file that contains time stamps in form of dd-mm-yyyy,HH:MM or HH:MM:SS. I have managed to extract time stamps from text file using regex but I would like to also get a line ...
In this case discussed:
find (GNU findutils) 4.5.11
grep (GNU grep) 2.20
Let's say I have a directory that contains a bunch of files. I want to find the files named jtobdops02.key and jtobdops.02.cer....
I am using CentOS6.5 that include rsyslogd v5.8.10
There are 20 process program in my server.I want to receive logs use rsyslogd and hope to store in different log file according identity of process ...
Just for practise i want to find out how many options does ls command have. I have written following piece of code
man ls | grep -o -i '\-[a-z0-9]$'
Why does this piece of code only printed -C and -...
I am working with a file where I need to swap "string A" and "String B's" locations simultaneously with a regex inside the vim. Here is an example line of code:
succ_1st=`grep 'resulted in successful ...
I have initiated 50 processes and in one file "say start_time", I have stored when process was started and in another file "say end_time", I have stored when process finished.
files are like below -
I want to replace the namespace in an xml file using sed (I've given up trying to do it from ant, where it is required).
The main issue is that that there is a repeating list of elements - not all of ...
I want to find and replace a value inside awk block.
Here is a sample input file to my script
I have bitbucket URL in a shell script which looks some thing like below
When ever i run the shell script it prompt for password but instead of ...