April 16, 2024, 08:59:54 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: create commands  (Read 7114 times)

Offline monaej

  • New Member
  • Posts: 1
create commands
« on: January 07, 2010, 04:27:34 PM »
i want to create my own commands in Linux .what should i do fr this ?

Offline bilkay

  • Linux Noob !
  • *
  • Posts: 4
Re: create commands
« Reply #1 on: January 20, 2010, 10:51:18 PM »
You can define your commands as functions in your .bashrc file.

yourcommand ()
{
  stuff to do
}