Search Results

Search: Posts Made By: DoxieLvr
3,709
Posted By DoxieLvr
I am confused. if the tarball contained the file...
I am confused. if the tarball contained the file "remote_file.txt" then
tar -C /local/server/destination/path/un-tar -zxvf /local/server/source/path/remote_file.txt.tar.gz stage_file.txtshould not...
17,257
Posted By DoxieLvr
"-eq" is for comparing integers. Use "="...
"-eq" is for comparing integers. Use "=" instead:
if [ "${3}" = "-t" ] then

BTW, please use "CODE" tags when posting something like a script. It makes it much easier to read.
11,780
Posted By DoxieLvr
First, you need to read the man page on...
First, you need to read the man page on system(3). The return value is of the format returned by wait(2). Thus, you need to feed that into the WEXITSTATUS macro to get the actual return value.
...
Showing results 1 to 3 of 3

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