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

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
-
Re: script

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...
-
Similar Threads
-
By bob58 in forum General Support
Replies: 24
Last Post: 10-13-2004, 10:08 PM
-
Replies: 1
Last Post: 05-17-2004, 07:54 AM
-
By elbasquero in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 03-17-2004, 09:24 PM
-
By orcslayer in forum General Support
Replies: 1
Last Post: 01-03-2004, 02:04 AM
-
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
-
Forum Rules

Dell Poweredge R720 8SFF 2.5" x Xeon E5-2680 v2 2.8GHz 20-Cores 128gb 4x Trays
$349.99

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

Dell PowerEdge R420 Rack Server Intel Xeon 1.90GHz Six-Core 8GB DDR3 RAM
$95.00

Dell PowerEdge R730XD Server 2x E5-2695 V4 = 36 Cores H730p 32GB RAM 4x trays
$649.99

Dell Poweredge R720 8SFF 2.5" 2x Xeon E5-2680 v2 2.8GHz 20-Cores 64gb 4x Trays
$259.99

Dell PowerEdge R620 2x Xeon E5-2630 v2 3.1GHz 2.5" 4-BAY 32GB RAM No OS 2x 495w
$168.95

Dell PowerEdge R640 Server 2.10Ghz 32-Core 64GB RAM Energy-Efficient
$649.95

Dell PowerEdge R440 Server 8 Bay SFF 1x Xeon Gold 6209U 48GB 3x Caddies DVD
$499.00

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD
$99.99

Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD
$119.99