LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to write a script to create a directory (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-write-a-script-to-create-a-directory-109985/)

mgam 10-29-2003 12:04 PM

how to write a script to create a directory
 
Hi All - I'm new to this site and also to linux.I'm currently a student.
Does anyone know of a good site that would show how to write a script that creates a simple directoy?
Also what is a cronjob and do you write it?
Kind Regards
Mark

aaa 10-29-2003 12:08 PM

mkdir will make a directory. Put this in a file:
Code:

#!/bin/sh
mkdir <directory>

Set the file's permissions to execute, then run the file.


All times are GMT -5. The time now is 03:46 PM.