Search Results

Search: Posts Made By: Qazi
1,357
Posted By Qazi
Ok thanks scott and alister, I've change my...
Ok thanks scott and alister, I've change my shebang to sha-bang .. it was just mistyped ...
1,850
Posted By Qazi
Command Separator
It shows error at 'else', how can I fix it?
if [ -x "$filename" ]; then # Note the space after the semicolon.
#+ ^^
echo "File $filename exists."; cp $filename $filename.bak
else # ^^
echo "File...
1,357
Posted By Qazi
Sha-bang of non-existent interpreter not giving error
I read that whenever you provide wrong path at sha-bang it will generate an error with message "command not found", but when I run script with wrong path, it runs perfectly without generating any...
2,511
Posted By Qazi
I couldn't get that.. can you explain it here ?
I couldn't get that.. can you explain it here ?
2,511
Posted By Qazi
Bash Integers/String
Hy friends, I am newbie to bash scripting, can anyone explain how b=${a/23/BB} # Substitute "BB" for "23". this line converts "b" into string and and "d" into Integer. Thanks in advance
Showing results 1 to 5 of 5

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