Announcement

Collapse
No announcement yet.

Where's ll?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Where's ll?

    Well, I'm not exactly new to Linux, but I am new to kubuntu. I just switched from SUSE this evening. As a long(ish)-time SUSE user, I have become used to using "ll" to list the contents of a directory. This command is not available in kubuntu and it takes far too many keystrokes to type "ls -l" to perform the same function... HELP! How to I bring back my old friend ll? I know this is a simple fix, but I haven't been able to find out how to do it.

    #2
    Re: Where's ll?

    alias ll='ls -l'

    i knew i'd remember as soon as i posted this!

    Comment


      #3
      Re: Where's ll?

      well I thought I had it working... It works until I close the shell, then it dies. For whatever reason, it isn't saving the command... help again!

      Comment


        #4
        Re: Where's ll?

        Normally I have put those aliases in my .bashrc file (in my home directory). If you only do it in the shell, it only lasts for that session....

        I have the following files:

        (1) a ".bash_profile" in /home/<user>/
        ===== SNIP ====================
        # .bash_profile
        # Get the aliases and functions
        if [ -f ~/.bashrc ]; then
        . ~/.bashrc
        fi

        (2) a ".bashrc" file
        ===== SNIP =======================
        # .bashrc
        # User specific aliases and functions
        # Source global definitions
        if [ -f /etc/bashrc ]; then
        . /etc/bashrc
        fi

        alias emasc=emacs
        alias ll='ls -l'
        alias rm='rm -i'
        alias cp='cp -vi'
        alias mv='mv -vi'
        alias wipe='wipe -i'

        Hope that helps....

        Cheers,

        t.

        GPG Key ID# 0x3AE05130

        Comment

        Working...
        X