Search Results

Search: Posts Made By: Kochappa
3,060
Posted By Corona688
Running head 9 times, awk 9 times, and tail 9...
Running head 9 times, awk 9 times, and tail 9 times is silly when the shell can do it all at once with one shell builtin -- read.

while read -r s_server s_path d_server d_path
do
echo...
3,060
Posted By palsevlohit_123
Only the scp script is not going to help. If...
Only the scp script is not going to help.

If you do the automate (ssh-keygen) login, then scp will be automated/more useful.

How it going to help u?
how frequently this will be used?
what OS...
3,060
Posted By Revansidhu
try this one! lineNumber=1 lstMaxLine=`wc...
try this one!

lineNumber=1
lstMaxLine=`wc -l serverdetailsfile.txt | awk '{print $1}'`
while [ $lineNumber -le $lstMaxLine ]
do
S_server=`head -$lineNumber serverdetailsfile.txt | tail...
328,687
Posted By porter
move to the directory you want the symbolic link,...
move to the directory you want the symbolic link, then:

ln -s path-to-actual-folder name-of-link

to confirm, do:

ls -ld name-of-link
Showing results 1 to 4 of 4

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