How to open .sh?



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
 
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

  • face_swap.png
    face_swap.png
    456.6 KB · Views: 285
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
 

Members online


Latest posts

Top