Re: how to add commands



sorry..
for your command:
alias mycc= 'purify cc -g hello_world.c'

try read man pages for alias command: man alias or info alias

On 12/2/06, Waleed Harbi <waleed.harbi@xxxxxxxxx> wrote:

alias your_alias_command='command line'

i.e:
alias myls='ls'
then try run myls in your shell.


On 12/2/06, Rizwan Khan < rizwaan@xxxxxxxxx> wrote:
>
> > you can alias a command for your custom name.
> What does this means??? can you plz elaborate this further, thanks
>
> On 12/2/06, Anmol Bedi <anmolbedi@xxxxxxxxx> wrote:
> > you can alias a command for your custom name.
> >
> > Regards
> > Anmol Bedi
> >
> >
> > On 12/2/06, Rizwan Khan <rizwaan@xxxxxxxxx> wrote:
> > >
> > > Hi
> > > I wanted to know how i can add custom command on FC4 box so that i
> > > should be able to execute them from command line. I just installed
> IBM
> > > PurifyPlus and they suggested me run your command thorough the
> > > following command:
> > > % purify cc -g hello_world.c
> > >
> > > but its gving me messge that purify command not found,
> > >
> > > Thanks
> > > --
> > > Muhammad R!zwän Khän
> > >
> > > --
> > > redhat-list mailing list
> > > unsubscribe mailto:redhat-list-request@xxxxxxxxxx
> ?subject=unsubscribe
> > > https://www.redhat.com/mailman/listinfo/redhat-list
> > >
> >
> >
> >
> > --
> > With warm regards,
> >
> > Anmol Bedi
> >
> > Life is a journey...not a destination. Enjoy the trip!
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjectunsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
>
>
> --
> Muhammad R!zwän Khän
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



--
:. Best Wishes
:. Waleed Harbi
---------------------------------------------
Open Source Open Education
Saudi Arabia




--
:. Best Wishes
:. Waleed Harbi
---------------------------------------------
Open Source Open Education
Saudi Arabia
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: OT: the rm bug hit me again
    ... And the -f in the rm command it to stop the "Confirm delete?" ... My rm is set to confirm all deletes using alias. ... the reason is to help prevent those type human errors when you are root ... I personally like the prompt because it reminds me that I am running as ...
    (Fedora)
  • Re: Def alias error in RACF
    ... to define an Alias in a RACF environment with z/OS V1.7 release? ... At the moment to send the request in command line (through the RACF ... Actually, that's a TSO command, not a RACF command. ...
    (bit.listserv.ibm-main)
  • Re: OT: the rm bug hit me again
    ... And the -f in the rm command it to stop the "Confirm delete?" ... That's not a good idea as it teaches you to expect to be prompted, and you'll be bitten badly some time when the alias isn't present. ... the reason is to help prevent those type human errors when you are root ... A user who expects rm to prompt will only delete their own files if it doesn't, a root user who expects rm to prompt can delete the entire system if it doesn't. ...
    (Fedora)
  • TCPIP glitch wih aliases
    ... I needed to move the cluster alias IP from an alpha to a vax. ... Turns out the above command disabled all IPs on the WE0 interface, AND zapped the permanent routes from the active database. ... doing IFCONFIG WE0 10.0.0.11 up seemed to work, but it did not restor the routes so that node had no way to reach IPs outside its subnet. ...
    (comp.os.vms)
  • Re: how to add commands
    ... |>you can alias a command for your custom name. ... When you installed Purify, where did it put the purify executable? ... above average control. ... It says more about magistrates than wheelies. ...
    (RedHat)