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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am moding a icon theme (will post it once finished) to my liking. I have a Q for the command line gurus. I have edited the icon theme for the 128 size. the 128 folder has 6 directories with pngs in them. i want to use image magic to resize the whole directory to 64x64 size while keeping the folder structure, is it possible?
Now that you have created the shell script (the text file containing the code), you must make it executable before you can use it.
In a console, cd (the command to change directory) to the directory containing the script. Issue the command ls -l <scriptname>, where <scriptname> is the name of your script. ls -l shows a long lising which includes the permissions for owner/group/others (rw-rw-r--, or something similar. The dash is the place for the x letter, which indicates executable (for a file) and permission to enter (for a folder).
To make your script executable, issue the command chmod +x <scriptname> (to give executable to the owner, members of the group,and all others. Issue the command chmod u+x <scriptname> to give execute permission to the owner only.
Then, to execute the script, ./<scriptname>. The leading ./ means "in this directory".
Or, from anywhere in the directory tree, just give the full path to the executable to run it: /media/thd/DL-Web downloads/scale/128x128/<scriptname>.
Note that you may use the script in your own home folder without restriction. To use it in a folder normally restricted for users, you wil have to run the script as root.