tgi Posted March 3, 2004 Share Posted March 3, 2004 I edited my .bashrc file in my home dir and added list='ls -la' line to the file. This alias works fine after I logout and log back on. Is there any way to activate the alias created in .bashrc without logging out? Thanks Link to comment Share on other sites More sharing options...
kongit Posted March 3, 2004 Share Posted March 3, 2004 help alias Link to comment Share on other sites More sharing options...
the evn show Posted March 3, 2004 Share Posted March 3, 2004 the command you're looking for is "source <whateverfile>" - in simple terms it tells the system to reload <whateverfile>. So once you've edited and saved your .bashrc file just enter the command "source ~/.bashrc" and be amazed that all your new changes work. Link to comment Share on other sites More sharing options...
tgi Posted March 3, 2004 Author Share Posted March 3, 2004 thanks the evn show. That's what i was looking for. Link to comment Share on other sites More sharing options...
kongit Posted March 3, 2004 Share Posted March 3, 2004 sorry thought too quick. Link to comment Share on other sites More sharing options...
tgi Posted March 3, 2004 Author Share Posted March 3, 2004 np at all... Link to comment Share on other sites More sharing options...
Recommended Posts