Hi All, need some help with writing a shell script. I tried to search this forum but couldn't find exactly what i want. If you all know any reference link i can read and refer to solve my issue, let me know.
I got 1 file i.e: example.txt. It is content list of data, as below example.
What... (2 Replies)
Hi,
Hope you are all well. New to scripting, and all those characters are all a new language for me. Though hoping to get my little head round it all sooner or later.
I was wondering whether anyone could help with a script template example.
What I would like to happen is to run the script... (8 Replies)
hello everyone,
i really need your help to write a script which would just print following kind of result into a text file (result.txt)
XYZ test Results
ID: <unique-id> Date: <date>
-------------------------------------------------
| Task | Result | Time |... (3 Replies)
print from an ip_list file containing 300 ip's
the directory of the results is /var/tmp/1.1.1.1
the 1.1.1.1 will change according to the /tmp/ip_list file i.e
1.1.1.1
2.2.2.2
3.3.3.3
I need the results from /var/tmp/1.1.1.1 once done the script goes to the next ip address in... (11 Replies)
I need to print a specific string from an html file that's always occurring between two other known strings. Example: from the text below, I would like to print the bolded part:
<this is a lot of text before the string I want
to print> fullpath: abc/def/ghi/example.xlf -cfver. <sample text... (15 Replies)
find $SRC -type f -name *.emlx |
while read FILE
do
if :
then sed -n '/From/p' $FILE
fi
done > $DEST-output.txt
The loop above spits out a .txt file with several lines that look like this:
From: John Smith <jsmith@company.com>
How can I narrow that sed result to spit out the email... (5 Replies)
from the CLI on a Mac, if you type networksetup -listallnetworkservices then you get results in a multi-line paragraph that look something like this:
networksetup -listallnetworkservices
An asterisk (*) denotes that a network service is disabled.
Wi-Fi
Display Ethernet
Bluetooth DUN... (7 Replies)
Hi All ,
New to the Bash / Shell programming world and looking for some help
I have two files
1: Contains a list of names :
eg
STEVE
BOB
CRAIG
2: Contains information with those included names but also others that are not in the list (1 Reply)