Search Results

Search: Posts Made By: ryandegreat25
817
Posted By ryandegreat25
cut will treat every space delimiter as separate...
cut will treat every space delimiter as separate column. so eliminating the spaces and aligning the output will be good with cut. awk will be able to handle task like this easily.
9,851
Posted By ryandegreat25
Not sure if this is the best way to do this :)...
Not sure if this is the best way to do this :) you might want to create a script inside a script.

if successful, pkill wont be able to kill any which will result to exit code 1 else it will be 0
...
6,353
Posted By ryandegreat25
try replace this ssh -l $scp_username...
try replace this

ssh -l $scp_username $hostname <<EOF 2>/dev/null
Y

cd $remote_release_path
remotesystem_filesize=`cksum $filename`

with this

remotesystem_filesize=`ssh -l $scp_username...
Showing results 1 to 3 of 3

 

Featured Tech Videos

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