public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
From: "John McCann" <lists@jamsite.us>
To: "Speakup is a screen review system for Linux." <speakup@braille.uwo.ca>
Subject: Re: batch file?
Date: Mon, 11 Oct 2004 16:06:22 -0400	[thread overview]
Message-ID: <000d01c4afcd$c8fff2b0$6401a8c0@DJTWWQ41> (raw)
In-Reply-To: <Pine.BSF.4.61.0410111205540.73610@server2.shellworld.net>

Hi Butch:

Well, I can't believe I'm going to do this as I am an *extremely embrionic 
linux user (three weeks or so), but here goes.

What you have to do is put an alias into your .bashrc file. Your .bashrc 
(note the period) file is in your home directory:

/home/butch (if you used Butch as your user name)

You put this line in the file, where "x" represents the character string you 
want to use to execute the command:

alias x='/home/irlp/scripts/backup_for_reinstall'

The apostrophes were indicated in the linux "on line" tutorial I consulted, 
so I'm sure what appears after the = must be in either single or double 
quotes.

Hope this helps!

Best 73's!

John
KW4U


----- Original Message ----- 
From: "Butch Bussen" <butchb@shellworld.net>
To: "Speakup is a screen review system for Linux." <speakup@braille.uwo.ca>
Sent: Monday, October 11, 2004 3:09 PM
Subject: batch file?


>I know they;'re not called batch files in Linux, but how can I write a 
>simple file to do a command I usually type in at the command prompt.  I 
>tried putting the line in a file and  I think I set permissions right, but 
>it doesn't do anything.  For example I have the command
> /home/irlp/scripts/backup_for_reinstall
>
> I'm wanting to put this in a simple file that does this command as a bat 
> file would in dos.
> Thanks.
> 73s
> Butch Bussen
> wa0vjr
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 





  parent reply	other threads:[~ UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
 Butch Bussen
 ` Janina Sajka
 ` John McCann [this message]
 ` Ann Parsons
   ` Gregory Nowak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000d01c4afcd$c8fff2b0$6401a8c0@DJTWWQ41' \
    --to=lists@jamsite.us \
    --cc=speakup@braille.uwo.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).