Search Results

Search: Posts Made By: azbest
8,082
Posted By azbest
script1.sh #!/usr/lcoal/bin/bash ...
script1.sh

#!/usr/lcoal/bin/bash
VAR="something"
echo "script1 ${VAR}"
script2.sh ${VAR}


script2.sh

#!/usr/lcoal/bin/bash
echo "script2 ${VAR}"
6,402
Posted By azbest
try this in your shell ...
try this in your shell


PATH=$PATH:/usr/uscr:/usr/rscr; export PATH; echo $PATH
6,402
Posted By azbest
$ echo $PATH You must see your path in...
$ echo $PATH

You must see your path in screen.

also check this

cat ~/.profile |grep PATH

PATH=/sbin:/bin:/usr/sbin; export PATH


PS: You must execute "export PATH"
13,205
Posted By azbest
#!/usr/local/bin/bash HOURS=`date +%H` ...
#!/usr/local/bin/bash

HOURS=`date +%H`
MINUTS=`date +%M`

if [[ $HOURS -lt 5 ]]
then
let "HOURS +=24"
fi

echo "${HOURS}:${MINUTS}"

but Perderabo said that hourt must be...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 04:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy