November 22, 2024, 04:47:23 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: create commands  (Read 11155 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
}