Search Results

Search: Posts Made By: su2
4,137
Posted By su2
Hi, If I write echo $0 at the command prompt...
Hi,

If I write echo $0 at the command prompt it gives me "bash". I tried changing the first line in my .sh file to #!/bin/bash but still gives me same error.

and If I write echo $0 in my .sh...
4,137
Posted By su2
Hi scottn, 1) & 3) Follwoing is my unpack.sh...
Hi scottn,

1) & 3) Follwoing is my unpack.sh file
--------------------
#!/bin/sh

fileName='abc.zip'
dataDirectory='/var/local/product'

unzip $dataDirectory/$fileName
...
4,137
Posted By su2
Unzip Help
Hello All,

I am trying to write a shell script(linux) where it just unzips the abc.zip file in the same folder.

If I write unzip abc.zip in my shell script and try to run the shell script I am...
Showing results 1 to 3 of 3

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