Is "less" command available in Solaris 10 ? - Unix and OS Discussions
This is a discussion on Is "less" command available in Solaris 10 ? - Unix and OS Discussions ; Is "less" command available in Solaris 10 ? I want to use "less" to browse huge log file. or any other way to do it during telnet session. Thanks....
![]() |
| | LinkBack | Thread Tools | Display Modes |
|
#1
| |||
| |||
| huge log file. or any other way to do it during telnet session. Thanks. |
|
#2
| |||
| |||
|
newbie wrote: > Is "less" command available in Solaris 10 ? I want to use "less" to browse > huge log file. > which less /bin/less -- Ian Collins. |
|
#3
| |||
| |||
|
In >Is "less" command available in Solaris 10 ? I want to use "less" to browse >huge log file. >or any other way to do it during telnet session. You have lots of choices... $ whence more /usr/bin/more $ whence pg /usr/bin/pg $ whence less /usr/bin/less All of these have man pages. -- -Gary Mills- -Unix Support- -U of M Academic Computing and Networking- |
|
#4
| |||
| |||
|
"newbie" > Is "less" command available in Solaris 10 ? I want to use "less" to browse > huge log file. Given that it's normally installed /usr/bin on Solaris 10, and that you had to ask, is it possible that you don't have the SUNWless package installed on your system? What metacluster did you install on your system? Less is part of the "Entire Distribution" metacluster, which is the one I'd recommend as a starting place. -- James Carlson, Solaris Networking Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 |
|
#5
| |||
| |||
|
On May 14, 3:35 am, "newbie" > Is "less" command available in Solaris 10 ? I want to use "less" to browse > huge log file. > > or any other way to do it during telnet session. Oh no, Solaris is soooo behind that they don't have new smart stuff like less available. Hey, they don't even have colored ls outputs... /Thommy M. PS. Sorry gang, couldn't resist... ;-) |
|
#6
| |||
| |||
|
On Mon, 14 May 2007 03:38:50 +0000 (UTC), Gary Mills >In > >>Is "less" command available in Solaris 10 ? I want to use "less" to browse >>huge log file. > >>or any other way to do it during telnet session. > >You have lots of choices... > > $ whence more > /usr/bin/more > $ whence pg > /usr/bin/pg > $ whence less > /usr/bin/less > >All of these have man pages. Gary, I am a relative rookie on Solaris and SPARC only having a machine for a few months now. I learn more watching replies from experienced admins like you than anywhere else on the WWW. The 'whence' command you used in the reply above is a gem. I've spent hours looking for a specific file, and never seen 'whence' used before. Thanks for that little gem. a/k/a Brian |
|
#7
| |||
| |||
| lost@the.net wrote: > On Mon, 14 May 2007 03:38:50 +0000 (UTC), Gary Mills > > >> In >> >>> Is "less" command available in Solaris 10 ? I want to use "less" to browse >>> huge log file. >>> or any other way to do it during telnet session. >> You have lots of choices... >> >> $ whence more >> /usr/bin/more >> $ whence pg >> /usr/bin/pg >> $ whence less >> /usr/bin/less >> >> All of these have man pages. > > Gary, I am a relative rookie on Solaris and SPARC only having a > machine for a few months now. I learn more watching replies from > experienced admins like you than anywhere else on the WWW. The > 'whence' command you used in the reply above is a gem. I've spent > hours looking for a specific file, and never seen 'whence' used > before. Thanks for that little gem. I tend to use 'which' which is not shell dependent |
|
#8
| |||
| |||
|
On 14 Mai, 03:35, "newbie" > Is "less" command available in Solaris 10 ? I want to use "less" to browse > huge log file. I use the "more" command on Solaris to tackle even the largest of log files. Solaris "more" is more capable than other versions, and though its feels quite different from "less", it's up to the task. Othmar |
|
#9
| |||
| |||
|
On Tue, 15 May 2007 06:45:26 GMT, Thommy M. Malmström wrote: > > I tend to use 'which' which is not shell dependent Well, sort of. If which isn't a builtin in your shell, you get /usr/bin/which: a csh script that calls the which csh builtin. That won't report on functions or aliases defined in your shell, but if you happen to have a ~/.cshrc, it _will_ report on aliases defined there. For even more fun, imagine a ~/.cshrc that sets a different $PATH than what you're running... |
|
#10
| |||
| |||
|
Mike Delaney wrote: > On Tue, 15 May 2007 06:45:26 GMT, Thommy M. Malmström wrote: >> I tend to use 'which' which is not shell dependent > > Well, sort of. If which isn't a builtin in your shell, you get > /usr/bin/which: a csh script that calls the which csh builtin. > That won't report on functions or aliases defined in your shell, > but if you happen to have a ~/.cshrc, it _will_ report on aliases defined > there. For even more fun, imagine a ~/.cshrc that sets a different $PATH > than what you're running... > Whenever I use 'which' I get the result I want. It works in sh, bash, tcsh and ksh .. Mostly I look for executables in my PATH. 'whence' _only_works in ksh. So the choice is easy for me... YMMW |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
All times are GMT -4. The time now is 11:47 AM.




Linear Mode