Creating a Portable Disk to Run Linux Shell Scripts
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.