Oct 3 2016 – Bash Talk past

Speaker: Dr. Carl Albing
Subject: Bash

$x=’ls’
$x=$(ls)

echo $x
printf “….%s..%05d\n”

loops
while read aline
do
.
.
.
done

echo $? to see if things were successful

$? — get results

cd /tmp/mytmp || exit -2

rm $filename

cp /tmp/mytmp || {echo “error: can not cd”; exit }
rm $filename

cd /tmp/mytmp && rm $filname
exit

#spaces mean variables don’t get assigned.
VAR=”/usr/local/bin/a.out”
D1=$(dirname $VAR)
D1=${VAR %.out}
D1=${VAR %/*}
B1=${VAR ##*}
L1=${VAR/local\/}
export L1

Location: IJET 3rd Floor, 185 Admiral Cochrane Dr, Annapolis MD
Time/Date: 7PM 1st Monday of Month 10/3/2016

Similar Posts

  • Meeting Notes Aug 2009

    We talked about Mavenspire’s meeting place. Mavenspire offered to host our meetings for us in their very plush facility. The location is only .5miles from our current location in Suite H, 53 Old Solomon’s Island Rd, Annapolis MD. We got to sample Barnes and Nobles free internet, which was painfully slow. There was a talk…

  • Meeting Notes Nov 7 2006

    About 7 people showed up. We had one new person. Summary: Talked about modifiying Linksys G routers. OpenSource software for handheld treos. Fiber to the home. Troubleshooting a box with everything installed. Script lance and indepedant contracting software services. Troubleshooting when the bugs don’t follow any numerical patterns. G Lynksys routers are common household routers…

  • April 2010

    We had an open meeting this day. Michael Tanenhaus gave a quick overview on how to setup Asterisks. In summary, there are two parts to configure for asterisks to function. There is the ‘/etc/dahdi’ stuff which configures the card, previously known as ‘zapper’. The ‘/etc/asterisks’ stuff holds the extensions and the software configuration for the…

  • Feb 2015 meeting notes

    We met at Barnes and nobles. We had about 10 people show up for this meeting. There were two talks going on at the same time at this meeting. On one corner of the table Tim Cash brought some hardware that was being troubleshot. We also had a talk about software. On software there was…