Doesn't sort by filetype like the OP is looking for
I have no idea how to sort by file type in bash, however there is a version of tree for linux. Some quick googling even indicates that there are packages for at least a few distros
Posts: 1458 | Registered: Feb 2001
| IP: Logged |
Blayne Bradley
unregistered
posted
OP???
Umm this is for an assignment and I don't quite know how to FTP something from my home PC to the Linux serv at school I can fool around with Linux here but I'm not quite sure how to FTP it, I think they're may be a chapter or two on it I'ld have to check it.
IP: Logged |
posted
Doesn't the -k option of sort allow you to select which characters on a line to sort by? If filetype is in the same position in each line of ls output, it should be trivial.
Posts: 26071 | Registered: Oct 2003
| IP: Logged |
Blayne Bradley
unregistered
posted
But what do you mean by position? Sure .* ... wait, would being a directory even show as a filetype?
IP: Logged |