Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

bash he;lp

Name: Anonymous 2009-04-12 14:42

I want to make a command that will cd then ls if the dir contents will fit in one terminal line and if not will display number of items in dir how do I do that.

Name: Anonymous 2009-04-12 17:49

This thread has been closed and replaced with the following thread:

Subject:
BASH custom prompt
Name:
Email:


I've been hacking around with the BASH custom prompt and I made myself a prompt that shows the current command number, but there's a problem: I want the number to always be four-digit, so that
[0004][haxus:~] and
[1209][haxus:~] align nicely.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List