Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 06-04-2012
Registered User
 
Join Date: Jun 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Preseed command to copy a file to /root directory

I was hoping to edit the command below to copy a file "start.bin" from the install cd to /root on the installation machine.


Code:
d-i     preseed/late_command string \
   wget -O /target/root/start.bin 'http://abc.start.bin' \
   && in-target chmod 755 /root/start.bin \

My best guess is it would be something like...


Code:
d-i     preseed/late_command string \
   cp start.bin \ && in-target chmod 755 /root/start.bin \

This is probably very simple, but as a newb to Linux it seems daunting. Thank you in advance for any help.

Last edited by Scrutinizer; 06-04-2012 at 04:59 PM.. Reason: code tags
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to copy file to a directory l flipboi l Programming 1 01-23-2011 10:29 PM
How to copy a file to a directory? kvnqiu UNIX for Dummies Questions & Answers 9 10-18-2010 08:37 PM
Copy the latest file from one directory to another chandancsc Shell Programming and Scripting 3 08-07-2009 04:35 AM
copy file to a directory by sequence fooky UNIX for Dummies Questions & Answers 4 11-24-2007 09:40 PM
Help Using Grep command to Find the string in the files in the root directory Subbu_Angeline AIX 3 01-17-2007 12:45 PM



All times are GMT -4. The time now is 03:54 PM.