http://wiki.cabal.mx/index.php?title=Comandos_de_la_terminal/less&feed=atom&action=history
Comandos de la terminal/less - Historial de revisiones
2024-03-28T14:26:26Z
Historial de revisiones para esta página en el wiki
MediaWiki 1.32.1
http://wiki.cabal.mx/index.php?title=Comandos_de_la_terminal/less&diff=5043&oldid=prev
Rrc en 03:02 5 dic 2013
2013-12-05T03:02:24Z
<p></p>
<p><b>Página nueva</b></p><div>__NOTOC__<br />
* [[:#less | less]]<br />
<br />
== less ==<br />
<br />
<syntaxhighlight lang="bash"><br />
<br />
less -?<br />
less --help<br />
less -V<br />
less --version<br />
less [-[+]aABcCdeEfFgGiIJKLmMnNqQrRsSuUVwWX~]<br />
[-b space] [-h lines] [-j line] [-k keyfile]<br />
[-{oO} logfile] [-p pattern] [-P prompt] [-t tag]<br />
[-T tagsfile] [-x tab,...] [-y lines] [-[z] lines]<br />
[-# shift] [+[+]cmd] [--] [filename]...<br />
<br />
[rrc@Llawyr ~]$ less /usr/share/doc/iputils/bonding.txt<br />
<br />
[rrc@Llawyr ~]$ less --help<br />
<br />
-? ........ --help<br />
Display help (from command line).<br />
-a ........ --search-skip-screen<br />
Search skips current screen.<br />
-A ........ --SEARCH-SKIP-SCREEN<br />
Search starts just after target line.<br />
-b [N] .... --buffers=[N]<br />
Number of buffers.<br />
-B ........ --auto-buffers<br />
Don't automatically allocate buffers for pipes.<br />
-c ........ --clear-screen<br />
Repaint by clearing rather than scrolling.<br />
-d ........ --dumb<br />
Dumb terminal.<br />
-D [xn.n] . --color=xn.n<br />
Set screen colors. (MS-DOS only)<br />
-e -E .... --quit-at-eof --QUIT-AT-EOF<br />
Quit at end of file.<br />
-f ........ --force<br />
Force open non-regular files.<br />
-F ........ --quit-if-one-screen<br />
Quit if entire file fits on first screen.<br />
-g ........ --hilite-search<br />
Highlight only last match for searches.<br />
-G ........ --HILITE-SEARCH<br />
Don't highlight any matches for searches.<br />
-h [N] .... --max-back-scroll=[N]<br />
Backward scroll limit.<br />
-i ........ --ignore-case<br />
Ignore case in searches that do not contain uppercase.<br />
-I ........ --IGNORE-CASE<br />
Ignore case in all searches.<br />
-j [N] .... --jump-target=[N]<br />
Screen position of target lines.<br />
-J ........ --status-column<br />
Display a status column at left edge of screen.<br />
-k [file] . --lesskey-file=[file]<br />
Use a lesskey file.<br />
-K --quit-on-intr<br />
Exit less in response to ctrl-C.<br />
-L ........ --no-lessopen<br />
Ignore the LESSOPEN environment variable.<br />
-m -M .... --long-prompt --LONG-PROMPT<br />
Set prompt style.<br />
-n -N .... --line-numbers --LINE-NUMBERS<br />
-o [file] . --log-file=[file]<br />
Copy to log file (standard input only).<br />
-O [file] . --LOG-FILE=[file]<br />
Copy to log file (unconditionally overwrite).<br />
-p [pattern] --pattern=[pattern]<br />
Start at pattern (from command line).<br />
-P [prompt] --prompt=[prompt]<br />
Define new prompt.<br />
-q -Q .... --quiet --QUIET --silent --SILENT<br />
Quiet the terminal bell.<br />
-r -R .... --raw-control-chars --RAW-CONTROL-CHARS<br />
Output "raw" control characters.<br />
-s ........ --squeeze-blank-lines<br />
Squeeze multiple blank lines.<br />
-S ........ --chop-long-lines<br />
Chop (truncate) long lines rather than wrapping.<br />
-t [tag] .. --tag=[tag]<br />
Find a tag.<br />
-T [tagsfile] --tag-file=[tagsfile]<br />
Use an alternate tags file.<br />
-u -U .... --underline-special --UNDERLINE-SPECIAL<br />
Change handling of backspaces.<br />
-V ........ --version<br />
Display the version number of "less".<br />
-w ........ --hilite-unread<br />
Highlight first new line after forward-screen.<br />
-W ........ --HILITE-UNREAD<br />
Highlight first new line after any forward movement.<br />
-x [N[,...]] --tabs=[N[,...]]<br />
Set tab stops.<br />
-X ........ --no-init<br />
Don't use termcap init/deinit strings.<br />
-y [N] .... --max-forw-scroll=[N]<br />
Forward scroll limit.<br />
-z [N] .... --window=[N]<br />
Set size of window.<br />
-" [c[c]] . --quotes=[c[c]]<br />
Set shell quote characters.<br />
-~ ........ --tilde<br />
Don't display tildes after end of file.<br />
-# [N] .... --shift=[N]<br />
Horizontal scroll amount (0 = one half screen width)<br />
........ --no-keypad<br />
Don't send termcap keypad init/deinit strings.<br />
........ --follow-name<br />
The F command changes files if the input file is renamed.<br />
<br />
</syntaxhighlight><br />
<br />
[[Category:Comandos de la terminal]]</div>
Rrc