ls...without ls?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers ls...without ls?
# 8  
Old 11-23-2009
Which version of DD-WRT are you running? The one I have (DD-WRT v24) uses BusyBox for pretty much everything:
Code:
root@wlan:~# ls -l `which ls`
lrwxrwxrwx    1 root     root            7 Jan  2  2008 /bin/ls -> busybox
root@wlan:~# ls -l `which cat`
lrwxrwxrwx    1 root     root            7 Jan  2  2008 /bin/cat -> busybox

So if your link of ls to BusyBox is missing, the big question is why it went missing.
# 9  
Old 11-23-2009
...and even if it is, you can probably call busybox's ls directly like:

Code:
/bin/busybox ls -l ./

 
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question