[thelist] OT Unix Commands
Åhman Jens
jeahm at wmdata.com
Thu Feb 8 03:42:31 CST 2001
Hi Salvatore.
You must also specify which "shell" to use. C- shell (csh) or bourne shell
or whatever you use.
Try to insert this into "update"
#!/bin/sh
cd directory/directory2
Kind regards,
Jens Åhman
-----Original Message-----
From: Salvatore Palmisano [mailto:spalmisano at usaiss.com]
Sent: den 7 februari 2001 23:59
To: thelist at lists.evolt.org
Subject: [thelist] OT Unix Commands
Am I correct in believing I can use a UNIX script in similar fashion to a
DOS file?
In DOS, if I type the following in a *.bat file, it will process the
commands if I type the file.bat name at a prompt:
cd directory1/directory2
For a class Im taking thats using UNIX, Ive attempted to do this, but its
not working:
file named update. Update contains:
cd directory/directory2
when typing update at the UNIX prompt, nothing happens. No error message,
just the root directory as if I hadnt typed anything.
Did I miss a step. Thanks and sorry for the OT.
--Salvatore Palmisano
Chief Information Officer
International Security Solutions, Inc.
spalmisano at usaiss.com
---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt !
More information about the thelist
mailing list