User Tools

Site Tools


bash_-_scripts:ll

This is an old revision of the document!


Bash - Scripts - ll

Long listing of files

Usage

ll [-m] [ls options] file [file...]

Code

#!/bin/bash
#
# @(#) ll v1.0   Long listing of files.
 
if [ "$1" = "-m" ]
then MORE="| /usr/bin/more"
     shift
else MORE=""
fi
 
eval /bin/ls -al $@ MORE

Example

Issuing a list of files with source code on C language in the long format.

ll *.c
bash_-_scripts/ll.1478707892.txt.gz ยท Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki