alias for ll (list files in long format)

Bug #545262 reported by Dustin Kirkland  on 2010-03-23
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Server papercuts
Medium
Dustin Kirkland 
base-files (Ubuntu)
Undecided
Unassigned
bash (Ubuntu)
Wishlist
Dustin Kirkland 

Bug Description

Binary package hint: bash

I spent a couple of days last week working with some long time RedHat/SuSE sysadmins. They must have typed the 'll' bash alias/command a hundred times in two days.

Actually, this is heavily discussed in several of posts on Ubuntu forums and blogs as an annoying omission from Ubuntu. e.g.:
 * https://help.ubuntu.com/community/SwitchingToUbuntu/FromLinux
 * http://devtime.blogspot.com/2007/04/ll-alias-ls-l-is-not-in-ubuntu.html

It's such a *minor* thing, but a really noticeable difference between RH/SUSE servers, and the Ubuntu command line interface.

We should be able to add:
  alias ll='ls -alF'
in either /etc/bash.bashrc or /etc/skel/.bashrc and really make a minor, but noticeable difference to many traditional Unix/Linux sysadmins considering a switch to Ubuntu.

I suggest that this should be part of the Lucid Server Papercuts effort, in that we're talking about 1 line of code that will make interaction with Ubuntu *so* much better for first time Ubuntu command line users. (Ubuntu has made similar changes recently, such as the colored grep alias.)

Changed in bash (Ubuntu):
status: New → Triaged
importance: Undecided → Wishlist
Dustin Kirkland  (kirkland) wrote :

Easy, clean little patch attached here.

I'll gladly upload this, if I can get someone to verify that this functionality is okay by the Foundations cabal. Ideally, it would get some support from the server-papercuts project too ;-)

Matthias Klose (doko) wrote :

if it's that easy to "convert" sysadmin, please go ahead. The changes should be in the skeleton files as well.

Please consider merging 4.1-2 to include two upstream patches.

Thierry Carrez (ttx) on 2010-03-23
Changed in server-papercuts:
assignee: nobody → Dustin Kirkland (kirkland)
importance: Undecided → Medium
status: New → Confirmed
milestone: none → lucid-beta-2
tags: added: patch
Dustin Kirkland  (kirkland) wrote :

Thanks Matthias! Doing the merge now ...

Changed in bash (Ubuntu):
assignee: nobody → Dustin Kirkland (kirkland)
status: Triaged → In Progress
Changed in server-papercuts:
status: Confirmed → In Progress
Dustin Kirkland  (kirkland) wrote :

Hi Matthias-

Please see:
 * http://people.canonical.com/~kirkland/bash

I also uploaded this to my PPA.

I did the merge, adding my changes, and documented everything else that's left.

I think it looks good at this point, bug give that we're in Lucid Beta, and the nature of the bash package, I would very much appreciate a second set of eyes!

I'm working in the US West Coast timezone this week, so if you can, please spot check and upload this, or go ahead with your changes and upload at your earliest convenience tonight or tomorrow. Cheers!

Matthias Klose (doko) wrote :

please don't add the aliases directly in /etc/bash.bashrc, which enables them for every user; the change for the skeleton file looks ok; this needs a change in base-files for the root user.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package base-files - 5.0.0ubuntu11

---------------
base-files (5.0.0ubuntu11) lucid; urgency=low

  * share/dot.bashrc: Sync with bash's skeleton bashrc, just don't
    enable command completion by default.
    - Uncomment useful aliases for ll, la, and l, to better match sysadmin's
      expectations coming from other enterprise distros (Dustin Kirkland).
      LP: #545262.
 -- Matthias Klose <email address hidden> Thu, 25 Mar 2010 14:19:44 +0100

Changed in base-files (Ubuntu):
status: New → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bash - 4.1-2ubuntu1

---------------
bash (4.1-2ubuntu1) lucid; urgency=low

  [ Dustin Kirkland ]
  * Merge from debian testing. Remaining changes:
    - Build from the upstream sources, build the documentation in info format.
    - /etc/bash.bashrc:
      + add sudo hint
      + allow special characters
      + add ll, la, l aliases
    - /etc/skel/.bashrc:
      + don't set HISTCONTROL twice
      + set HISTSIZE to a reasonable 2000
      + eval lesspipe
      + enable colored grep
      + add ll, la, l aliases
  * New bug fix, LP: #545262
    - /etc/skel/.bashrc: Uncomment useful aliases for ll, la, and l,
      to better match sysadmin's expectations coming from other
      enterprise distros

  [ Matthias Klose ]
  * Set HISTFILESIZE to 2000 in the skeleton bashrc. LP: #544542.
 -- Dustin Kirkland <email address hidden> Tue, 23 Mar 2010 11:56:51 -0700

Changed in bash (Ubuntu):
status: In Progress → Fix Released
Thierry Carrez (ttx) on 2010-03-26
Changed in server-papercuts:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers