LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-17-2016, 07:26 PM   #1
julianvb
Member
 
Registered: Apr 2009
Posts: 390

Rep: Reputation: 3
Creating a Portable Disk to Run Linux Shell Scripts


2016-01-17

I've been toying with the idea of creating a self-sufficient portable disk for running some Linux show-and-tell shell scripts I've created and debugged. If my idea is feasible, then I'll be able to distribute my scripts to others on a disk. I'll place the scripts as well as the jpg, mp3 and mov files used by the scripts and assume that the Linux host machine has vlc and shotwell installed.

My question is how to tell Linux the specific locations of these files, assuming that I'll place them in some appropriate directories on the disk to simplify file maintenance.

Any advice will be greatly appreciated.

Julianvb

Last edited by julianvb; 01-17-2016 at 07:32 PM. Reason: to complete coposition of this post.
 
Old 01-17-2016, 08:42 PM   #2
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 3,491

Rep: Reputation: 1542Reputation: 1542Reputation: 1542Reputation: 1542Reputation: 1542Reputation: 1542Reputation: 1542Reputation: 1542Reputation: 1542Reputation: 1542Reputation: 1542
One idea, perhaps not the best, but it will work.

Respin a live-cd image using Fedora, TinyCore, or DSL containing your scripts and the resources they need to run properly. Burn that to your CD or USB drive. You should then be able to boot almost any PC and demo your scripts.
 
Old 01-17-2016, 08:52 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,070

Rep: Reputation: 1944Reputation: 1944Reputation: 1944Reputation: 1944Reputation: 1944Reputation: 1944Reputation: 1944Reputation: 1944Reputation: 1944Reputation: 1944Reputation: 1944
If you are referring to a flash drive you can use on different machines, you can probably do an install on the flash drive with persistence. You could actually do a full install to a flash drive and put your scripts on the filesystem. Not really sure what your final goal is?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Which shebang to use for portable shell scripts dugan Programming 10 11-25-2014 09:46 PM
How do you run shell scripts? shadowdrums Slackware 5 05-15-2006 12:02 PM
Can't run shell scripts even as root nitrousoxide82 Linux - Newbie 2 04-24-2005 05:47 PM
Can't run shell scripts I write? JustinCoyan Slackware 2 08-06-2004 01:50 PM
How to? Run Shell scripts jmr0311 Mandriva 2 07-14-2004 10:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration