Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

listing commands hang

Status
Not open for further replies.

vodkadrinker

Technical User
May 16, 2002
163
GB
Listing commands hang but work fine when piped through more.

This hangs:-
ls -ltr

This works:-
ls -ltr|more

This issue rings a bell but I cannot remember the solution.
 
put a backslash in front of ls -ltr to temporarily not use a possible alias for ls

\ls -ltr

also try
show if an alias is in your environment
alias ls
turn off alias until next login
unalias ls


A great teacher, does not provide answers, but methods to teach others "How and where to find the answers"

bsh

40 years Bell, AT&T, Lucent, Avaya
Tier 3 for 30 years and counting
[URL unfurl="true"]http://bshtele.com[/url]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top