How to open .sh?



wizardfromoz

Super Moderator
Staff member
Gold Supporter
Credits
10,218
Welcome to linux.org @asd345 :)

Stupid questions are seldom as stupid as you think (except where they are about Kali).

1. Where is the script stored/downloaded to, eg Downloads or other?

2. Are you "there" when you issue the command? If not sure, type in and enter

Code:
pwd
and tell us the output

3. What are the file permissions? Type in and enter

Code:
ls -l /full/path/to/faceswap_setup_x64.sh
Moving this to Command Line, where scripting questions are also answered, so hang on to your hat and take a magic carpet ride with the Wizard.

Chris Turner
wizardfromoz
 

captain-sensible

Well-Known Member
Credits
8,090
it runs no problem but first bash needs to be in same place as script .

bash-5.0$ cd ~
bash-5.0$ cd Desktop
bash-5.0$ pwd
/home/andrew/Desktop
bash-5.0$ ls --color
AArchive_photographs face_swap.png southend.jpg
CI4-userguide-4.0.4 faceswap_setup_x64.sh testImages
ZAP_2.9.0 slackware.html~
codeigniter4foundations.pdf slackware64-current-install-dvd.iso
bash-5.0$ chmod 777 faceswap_setup_x64.sh
bash-5.0$ ls -l faceswap_setup_x64.sh
-rwxrwxrwx 1 andrew users 14204 Dec 5 09:27 faceswap_setup_x64.sh
bash-5.0$

last step then ./faceswap_setup_x64.sh
 

Attachments

asd345

New Member
Credits
19
Welcome to linux.org @asd345 :)

Stupid questions are seldom as stupid as you think (except where they are about Kali).

1. Where is the script stored/downloaded to, eg Downloads or other?

2. Are you "there" when you issue the command? If not sure, type in and enter

Code:
pwd
and tell us the output

3. What are the file permissions? Type in and enter

Code:
ls -l /full/path/to/faceswap_setup_x64.sh
Moving this to Command Line, where scripting questions are also answered, so hang on to your hat and take a magic carpet ride with the Wizard.

Chris Turner
wizardfromoz
Thanks, I found all here!

pwd and cd where the ones I needed.

https://forum.faceswap.dev/viewtopic.php?t=68
 


Latest posts

Top