Always a Newbie
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Always a Newbie
I will always be a newbie because I can never get this system running long enough to learn it.
I just tried downloading a .sh file that is supposed to install a program I want to use. BUT if I search for the downloaded file it tells me it is at home/ jim/downloads but when I go to home/jim/downloads it isnt there!!
Where is it putting downloaded files and why doesnt it ask where I want them to be put?
I just tried downloading a .sh file that is supposed to install a program I want to use. BUT if I search for the downloaded file it tells me it is at home/ jim/downloads but when I go to home/jim/downloads it isnt there!!
Where is it putting downloaded files and why doesnt it ask where I want them to be put?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Democracy is two wolves and a sheep discussing what's for dinner. Freedom is a well armed sheep contesting the decision.
Re: Always a Newbie
Where downloaded files go to is determined by Firefox which puts them into a folder called "Downloads" by default (please note the capital D in the file name, Linux commands are case sensitive). If you want to change that, open Firefox, go to Edit, Preferences, General and change the "Save files to" field.
The correct syntax for you to go to the Downloads folder would be "/home/jim/Downloads" - that is assuming that you spell your name as "jim" rather than "Jim".
To run a .sh file, the command is "sh filename.sh
The correct syntax for you to go to the Downloads folder would be "/home/jim/Downloads" - that is assuming that you spell your name as "jim" rather than "Jim".
To run a .sh file, the command is "sh filename.sh
Linux Mint 21.3 Cinnamon
-
- Level 5
- Posts: 798
- Joined: Thu Oct 04, 2012 7:24 pm
- Location: California
- Contact:
Re: Always a Newbie
Also sh.files are hidden press ctrl h to view them or using the file manager view> show hidden files
- catweazel
- Level 19
- Posts: 9763
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: Always a Newbie
Rubbish.TheDynamicHamza21 wrote:Also sh.files are hidden press ctrl h to view them or using the file manager view> show hidden files
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
-
- Level 5
- Posts: 798
- Joined: Thu Oct 04, 2012 7:24 pm
- Location: California
- Contact:
Re: Always a Newbie
TehGhodTrole wrote:Rubbish.TheDynamicHamza21 wrote:Also sh.files are hidden press ctrl h to view them or using the file manager view> show hidden files
I only have one .sh file in my home folder it's hidden.
EDIT: I didn't notice until now it my file starts with "." My mistake.
Re: Always a Newbie
Seriously? Firefox, the browser, actually determines the operating parameters of the operating system???? Really????kyphi wrote:Where downloaded files go to is determined by Firefox which puts them into a folder called "Downloads" by default
Democracy is two wolves and a sheep discussing what's for dinner. Freedom is a well armed sheep contesting the decision.
Re: Always a Newbie
yes it is jim in the computer, no capkyphi wrote:Where downloaded files go to is determined by Firefox which puts them into a folder called "Downloads" by default (please note the capital D in the file name, Linux commands are case sensitive). If you want to change that, open Firefox, go to Edit, Preferences, General and change the "Save files to" field.
The correct syntax for you to go to the Downloads folder would be "/home/jim/Downloads" - that is assuming that you spell your name as "jim" rather than "Jim".
To run a .sh file, the command is "sh filename.sh
I changed it in Firefox to ask me where it goes.
But now, How do you run a file using sh <filename>.sh unless you are in terminal? If I go into terminal and try the command sh /jim/Downloads/thinkorswim_other_installer.sh I just get the message that it could not open /jim/Downloads/thinkorswim_other_installer.sh Maybe I mispelled something or was that not what you were suggesting?
I just checked the spelling, its fine. Here is the message I get:
jim@jim-N105 ~ $ sh /jim/Downloads/thinkorswim_other_installer.sh
sh: Can't open /jim/Downloads/thinkorswim_other_installer.sh
jim@jim-N105 ~ $
Democracy is two wolves and a sheep discussing what's for dinner. Freedom is a well armed sheep contesting the decision.
-
- Level 5
- Posts: 798
- Joined: Thu Oct 04, 2012 7:24 pm
- Location: California
- Contact:
Re: Always a Newbie
Maybe you need change permissions right click the file,choose properties>Permissions ensure you are the owner and can read and write and make sure the box allow file as executing program is checked. Then all you have do click the file it will run.
Read step 4:
http://tradingwithlinux.blogspot.com/p/ ... buntu.html
Read step 4:
http://tradingwithlinux.blogspot.com/p/ ... buntu.html
- catweazel
- Level 19
- Posts: 9763
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: Always a Newbie
<facepalm>TheDynamicHamza21 wrote:Maybe you need change permissions right click the file,choose properties>Permissions ensure you are the owner
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Re: Always a Newbie
Open a terminal and copy and paste the following line:
That will change directory to the location of your downloaded file. The "~" is a shortened form of "/home/jim". Then, still in the terminal copy and paste:
If that does not produce the desired result, repeat the command with "sudo".
Code: Select all
cd ~/Downloads
Code: Select all
sh thinkorswim_other_installer.sh
Linux Mint 21.3 Cinnamon
Re: Always a Newbie
A hiccup for Newbies ... you can NOT change the permissions on files in DOS formatted partitions (FAT 16 or 32). It isn't supported. If you want to mark a file as executable you have to store it on an ext formatted partition (generally ext2 or ext3). It took me a LONG time to figure that one out.
Blessings in abundance, all the best, & ENJOY!
Art in Carlisle, PA USA
Blessings in abundance, all the best, & ENJOY!
Art in Carlisle, PA USA
BOAT - a hole in the water that you pour money into
LINUX - a hole in your life that you pour TIME into
HP dx2400 Core 2 Duo 8 GB. Mint 13/15/17.x/18.x Mate <on LOCKED SD cards, and Kanguru USB drives> No Hard Drive / No SSD
LINUX - a hole in your life that you pour TIME into
HP dx2400 Core 2 Duo 8 GB. Mint 13/15/17.x/18.x Mate <on LOCKED SD cards, and Kanguru USB drives> No Hard Drive / No SSD