Re: How to copy scripts to the Terminal
From: James McIninch (james.mcininch.nospam_at_comcast.net)
Date: 06/30/05
- Previous message: Bit Twister: "Re: tar only files modified since ..."
- In reply to: RICHARD BROMBERG: "How to copy scripts to the Terminal"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: RICHARD BROMBERG <dickbrom@worldnet.att.net> Date: Wed, 29 Jun 2005 22:58:26 -0400
Use 'cat' to dump the contents of the file to the terminal.
Use 'less' or 'more' if you want to view the contents of the file one page
at a time (waiting for you to press the space bar to advance to the next
page).
Use 'sh' to execute the commands in the script (if the USB drive is
formatted with a Linux native filesystem like ext3, use chmod to set the
execute bit and execute teh script directly from the USB device).
<posted & mailed>
RICHARD BROMBERG wrote:
> I am using Knoppix 3.8.2
>
> I have written a few programs that I key enter from a Terminal window.
>
> What I would like to do is compose a Script file containing the commands
> I have been key entering and save it on a removeable device (USB Flash
> drive,
> floppy , etc. ) .
>
> Can I use the cp command to copy the contents of the USB flash drive to
> the terminal window.
>
> The prompt in the terminal window is root@1[knoppix]#
>
> I don't know how to specify root@1[knoppix]# as a destination in the cp
> command.
> Help would be appreciated.
>
> Thanks
-- Remove '.nospam' from e-mail address to reply by e-mail
- Previous message: Bit Twister: "Re: tar only files modified since ..."
- In reply to: RICHARD BROMBERG: "How to copy scripts to the Terminal"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]