10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am searching file between dates and try to apply the comments from Chubler_XL in my thread : Linux find command : how to use multiple conditions
But i get a null result as i am expecting to find 32 files.
Setting my computer date to the date of the thread ( 30/05/2019 ) and... (4 Replies)
Discussion started by: jcdole
2. Shell Programming and Scripting
I need a simple logic idea what can be done in the below shell script.
I written a script to do a automated maintenance work on every month of 15th and I have scheduled it through the crontab. I need to send an alert email to the user before 24 hrs of that maintenance script run.... (5 Replies)
Discussion started by: ramkumar15
3. Shell Programming and Scripting
unfortunately I am not a shell script guru - the following might touch
the depths of awk, substr, split, regexps, where I am still fighting with - but as always the boss needs a fast solution :-(
So: I have the following USER/PASSWORD-installation-config-file, from where I want to... (10 Replies)
Discussion started by: Sofie
I'm trying to find an interesting project to work on
for my master thesis. I like GNU/Linux C development
and BASH scripting. Please give me any idea that
flashes in your mind.
I thank you in advance... (3 Replies)
Discussion started by: jonx
timevar=`date +%F_”%H_%M”` #-- > Storing Date and Time in a Variable
get_contents=`cat urls.txt` #-- > Getting content of website from file. Note the file should not contain any http:// as its already been taken care of
######### Next Section Does all the processing #########
for i... (0 Replies)
Discussion started by: anishkumarv
6. Shell Programming and Scripting
I'm trying to print all files which have the file permission 775 and that is 1MB or greater in long format.
This is what I have:
find -L -perm 775 -size +1000k -print
when I run this script nothing appears in terminal. What am I doing wrong? (2 Replies)
Discussion started by: turdferguson
7. Shell Programming and Scripting
I need a bash shell script to find out a day from the date.For example we give the date(20100227/YYYYMMDD) then we get the day 'Saturday'.
Thanks in advance,
Satheesh (5 Replies)
Discussion started by: satheesh4093
8. Shell Programming and Scripting
I'm trying to make a simple search script but cannot get it right. The script should search for keywords inside files. Then return the file paths in a variable. (Each file path separated with \n).
SEARCHQUERY="searchword1 searchword2 searchword3";
for WORD in $SEARCHQUERY
... (6 Replies)
Discussion started by: limmer
9. Shell Programming and Scripting
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (4 Replies)
Discussion started by: mmiller99
I'm at a total loss how to attack this problem.
I have a file that contains
What I need to do is if
1)if the string "ab" doesn't contain a newline, I need to insert one back into the buffer.
2)If the file contains two consecutive blank lines, skip over it.
Here is what I started
... (5 Replies)
Discussion started by: frequency8