Results 1 to 4 of 4

Thread: script

  1. #1
    Member registered user
    Join Date
    Feb 2003
    Posts
    52

    script

    what extention do i have to use in order to have a text file run as a bourne shell sript???

  2. #2
    Member registered user
    Join Date
    Feb 2003
    Location
    Milwaukee, WI
    Posts
    49

    Re: script

    Quote Originally Posted by punk000
    what extention do i have to use in order to have a text file run as a bourne shell sript???
    You can start a bourne shell by clicking the K-Menu and choosing the "Run" option. Then type in sh and hit enter.

    I BELIEVE you can automatically have a specific script run within a bourne shell by calling it in a similar manner. K-Menu then "Run" then sh NameOfScript

  3. #3
    Member registered user
    Join Date
    Feb 2003
    Posts
    43

    Re: script

    Quote Originally Posted by punk000
    what extention do i have to use in order to have a text file run as a bourne shell sript???
    In UNIX, extensions are useless - in fact, there is no such thing as an extension the way there is in DOS: there is only "accepted endings." Periods are just periods...

    A Bourne Shell script normally doesn't have any special ending at all. To make a text file executable:

    1. Change permissions to executable:

    chmod +x myfile

    2. Even better: also add this line to the top:

    #!/bin/sh

    ...having done those two things, then this file can be executed by the shell (/bin/sh) as a script.

    If you want to be able to execute the script no matter where you are, then put the script in a directory located in your PATH environment veriable...

  4. #4
    Member registered user
    Join Date
    Feb 2003
    Posts
    52
    thank you

Similar Threads

  1. help with writing script
    By bob58 in forum General Support
    Replies: 24
    Last Post: 10-13-2004, 10:08 PM
  2. klik script
    By j.drake in forum Klik
    Replies: 1
    Last Post: 05-17-2004, 07:54 AM
  3. Script for floppy?
    By elbasquero in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 03-17-2004, 09:24 PM
  4. Startup Script doesn't run
    By orcslayer in forum General Support
    Replies: 1
    Last Post: 01-03-2004, 02:04 AM
  5. Help with a script
    By lindros in forum General Support
    Replies: 10
    Last Post: 07-24-2003, 08:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows XP, Vista, 8.1, Linux Knoppix, Office XP,  (6 CDS) picture

Windows XP, Vista, 8.1, Linux Knoppix, Office XP, (6 CDS)

$10.00



KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit picture

KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit

$19.99



Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive picture

Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive

$5.99



KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED picture

KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED

$11.99



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick

$20.85



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick

$21.42



VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION) picture

VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION)

$7.57



Knoppix NSM 1.2 picture

Knoppix NSM 1.2

$8.00



Hamshack Live DVD-ROM picture

Hamshack Live DVD-ROM

$7.00



Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006 picture

Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006

$33.62