How to make my command work at all times

hi all,

This is a very basic question. I want to make the command work at all times.
i'm working on Suse-Linux and "clear" command is used to clear the contents of screen. I want to use only "cls" instead of "clear" command.

i tried alias cls=clear , but its working only for a temporary session.

plz give some advice of how to implement this..

Thanks,
wxWidgets

Add the alias line to your
$HOME/.bashrc
file, or the appropriate initialisation file for your shell.

Cheers
ZB

Put the alias in your .profile or .bashrc files. If you want all processes on the system to see the alias, put it in /etc/bashrc or /etc/profile.

thanks folks
Ideas give by you works...

i put alias line in bashrc file and is working :slight_smile:

thanks a ton