Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 16 Jun 2019, 05:31
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Dir command
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
phantrongnghia


Joined: 24 Apr 2006
Posts: 205
Location: Hanoi,Vietnam

PostPosted: Sun 10 Sep 2006, 06:00    Post subject:  Dir command  

Before install:
Code:

sh-3.00# dir
sh: dir: command not found

After install:
Code:

sh-3.00# dir
Choices            fpc              my-roxapps
TransGaming_Drive  ghttpd           puppy-reference
cedega             gtkdiffrc        spot
dir_command        hacaonong.pas    xoanoc.pdf.tex
dotpup-wizard      link.res         xo\341\272\257n\ \341\273\221c.pdf
fp.cfg             my-applications
fp.dsk             my-documents


it is useful for view list files

Thanks
Download
dir_command.pup- 88kb
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15390
Location: Paradox Realm

PostPosted: Sun 10 Sep 2006, 07:33    Post subject:  

Smile
that would be useful

Confused
Didn't work for me - I am using 2.10 beta
Anyone else?

I seem to remember there is another way
of doing this reassigning the 'ls' command to 'dir'
and even a pupget program that provides a list of commands
- wag is it?

_________________
NEW Dpup Stretch into Buster - coming soon
Newsletter May 019 available from Smokey and contributors
Back to top
View user's profile Send private message Visit poster's website 
Ted Dog


Joined: 13 Sep 2005
Posts: 4013
Location: Heart of Texas

PostPosted: Sun 10 Sep 2006, 08:08    Post subject:  

alias in your .profile (I think it is in etc)

alias dir='ls -c */'
alias format='rm -rfR /'
alias bsod='kill -9 *'
etc, etc
Back to top
View user's profile Send private message 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Sun 10 Sep 2006, 09:41    Post subject:  

dir is part of the GNU Core Utilities
http://www.gnu.org/software/coreutils/
Quote:

This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>

basically, the source is supposed to be available from the same server that the compiled binaries are hosted on, or the person who made the binaries available can offer to supply the source code if asked.

anyway, the original source is available here:
http://ftp.gnu.org/pub/gnu/coreutils/
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0714s ][ Queries: 11 (0.0085s) ][ GZIP on ]