Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 05-06-2003, 03:00 PM   #1
LQ Newbie
Registered: May 2003
Location: santa rosa, ca
Distribution: slackware 9
Posts: 19

Rep: Reputation: 0

when i use the alias command to set "ls -l" to "ll" it only works for that session. where can i put it so it is permanent?
Old 05-06-2003, 03:05 PM   #2
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Make the alias in your .bashrc file.

alias ll='ls -l'

Old 05-06-2003, 03:05 PM   #3
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Just put it in a script:
1) create a file "/bin/ll"
2) Edit it and add:
ls -l
3) chmod 755 /bin/ll

Last edited by david_ross; 05-06-2003 at 03:19 PM.
Old 05-06-2003, 03:17 PM   #4
LQ Newbie
Registered: May 2003
Location: santa rosa, ca
Distribution: slackware 9
Posts: 19

Original Poster
Rep: Reputation: 0


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Alias question (2 commands for one alias) gflores Linux - Newbie 3 01-21-2006 12:40 AM
Alias ChimpFace9000 Linux - General 9 01-14-2004 04:01 AM
ip alias mindcry Linux - Networking 0 10-16-2003 07:41 PM
using alias intruptz Linux - General 5 09-17-2003 04:32 AM
alias nobu Slackware 5 01-11-2003 01:09 PM

All times are GMT -5. The time now is 12:51 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration