CIS 201: Linux Shell Scripting

lewing@isc.tamu.edu

Gabelli School of Business, CIS Department

| CISWEB Doug White | RWU Main | White Hat Research | Email Doug | Access Data |

CIS 201: Lab 1-3

This is the same lab as the c++ lab but using the bash script.

same instructions

>sudo vim lab1-3.sh

//switch to insert mode by pressing i

#! /bin/bash

# your info here

echo "ooooooooooohhhhhhh, aaaaahhhhhhhhhh, a simple shell script"

//now press esc, then :wq to save and exit

//change the permissions

>chmod 700 lab1-3.sh

//now run it

>./lab1-3.sh

 

| Contact | © 2005 Secure Technology, LLC. |