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
  •  


Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS picture

Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS

$712.98



DELL PowerEdge R730XD 24x 2.5

DELL PowerEdge R730XD 24x 2.5" Server Dual 750W Dual Heatsink - BareBones TESTED

$269.99



Dell PowerEdge R7525 Server 24X2.5(8XNVME)+H745 2xEPYC 7302 CPU 128G RAM 2x2400W picture

Dell PowerEdge R7525 Server 24X2.5(8XNVME)+H745 2xEPYC 7302 CPU 128G RAM 2x2400W

$3350.00



Dell PowerEdge R730 8 SFF 2x E5-2660 v4 28 Cores 128/256GB 0/3x 900GB 6Gbps H730 picture

Dell PowerEdge R730 8 SFF 2x E5-2660 v4 28 Cores 128/256GB 0/3x 900GB 6Gbps H730

$349.99



Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD picture

Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD

$89.99



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox

$340.00



HYVE ZEUS V1 1U BAREBONE SERVER 2X10CORE E5-2680V2 2.8GHz 16GB RAM RISER NO RAIL picture

HYVE ZEUS V1 1U BAREBONE SERVER 2X10CORE E5-2680V2 2.8GHz 16GB RAM RISER NO RAIL

$180.00



PowerEdge R710 Rackmount Server 80GB RAM 2x XEON E5520 CPU 4.75TB picture

PowerEdge R710 Rackmount Server 80GB RAM 2x XEON E5520 CPU 4.75TB

$200.00



1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE picture

1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE

$297.00