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 Nov 03 2008

    About 4 people showed up for this meeting. Topics: 1. Mac user interface gripes. Oh, how I wish Patrick, our resident mac nerd, was here. Dave and Bob complained as how the mouse acceleration does not work right. Dave said that Macs work great in the single screen user mode. But for the multi-screen-users, the…

  • March 2010 meeting

    about 6 people came to this meeting. Jessica Tanenhaus gave a presentation on Inkscape. In summary, Inkscape is an advanced image creation program that is similar to Illustrator and CorelDraw. In contrast to most image creation programs, Inkscape creates scalable vector graphics (SVG) files rather than ‘raster’ files. The difference is that raster images distort…

  • Sept 12 Monday meeting 7pm

    Matt Ward from Red Hat gave a presentation on containers The slides for the presentation can be found here: https://redhat.slides.com/mward-1/deck-4/live#/64 For additional reading he referred user to these sites: Systemd vs Docker https://lwn.net/Articles/676831 May the Fork Be with You. A short History of open source Forks. https://thenewstack.io/may-fork-short-history-open-source-forks/ Container Format Dispute on the Twitter Shows Disparities…

  • Meeting Notes Nov 1 2005

    Topics: Debboot strap Debian allows you to run other distros inside the primary distro. For example, if you have an application that only works with Redhat. You can install RedHat inside Debian using Debboot Strap. This will allow you to ‘chroot’ to the distro and run the software. USB Net |This was the first Tuesday…