Own utilities Linux & Windows & Android ~

Hello everyone, today i decide to write this tutorial with name 'HOW IT WORKS'
Im going to create many of tutorials in long time, but at first lets start with bash scripts ;)



First point you need to know :

Every single script need to have

#!/bin/bash

WHOLE SCRIPT NEED TO BE IN ONE LINE,
because if you use "Enter" BASH will read it as NEW COMMAND :)




You need to give permissions for script
My recommendation is : chmod 777 NAMEOFSCRIPT



How to run script?

./NAMEOFSCRIPT


How to see your directory by script:



WRONG EXAMPLE

 

#!/bin/bash
vdir
/home/GUGI


CORRECT EXAMPLE

 

#!/bin/bash
vdir /home/GUGI

 

 

 




#!/bin/bash
zmienna="HERE IS YOUR TEXT :)"
echo $zmienna

 



Dodaj komentarz






Dodaj

Komentarze

WheeslArivy, Dodany: 12.10.2023, 02:39
audio only porn love potion porn candy red porn porn game free porn video blogger which porn porn girl masturbating johnny castle porn black and black porn porn mythology vr porn torrents korean milf porn free porn kamasutra latina cousin porn male b

GM™
© 2013-2024 PRV.pl
Strona została stworzona kreatorem stron w serwisie PRV.pl