Uruchomienie, wykonanie: less [options] [filename]
Jak działa LESS, co robi LESS: less is a program for paging through files or other output. It was written in reaction to the perceived primitiveness of more (hence its name). Some commands may be preceded by a number
Dostępne opcje, wywołanie LESS: Set number of lines to scroll to num. Default is one screenful. A negative num sets the number to num lines less than the current number. Run command on startup. If command is a number, jump to that line. The option ++ applies this command to each file in the command-line list. Print help screen. Ignore all other options; do not page through file. When searching, begin after last line displayed. (Default is to search from second line displayed.) Use this many buffers for each file (default is 10). Buffers are 1 KB in size. Redraw screen from top, not bottom. Suppress dumb-terminal error messages. Automatically exit after reaching EOF twice. Force opening of directories and devices; do not print warning when opening binaries. Highlight only string found by past search command, not all matching strings. Never scroll backward more than num lines at once. Make searches case-insensitive, unless the search string contains uppercase letters. Position target line on line num of screen. Target line can be the result of a search or a jump. Count lines beginning from 1 (top line). A negative num is counted back from bottom of screen. Read file to define special key bindings. Display more-like prompt, including percent of file read. Do not calculate line numbers. Affects -m and -M options and = and v commands (disables passing of line number to editor). When input is from a pipe, copy output to file as well as to screen. (Prompt for overwrite authority if file exists.) At startup, search for first occurrence of pattern. Disable ringing of bell on attempts to scroll past EOF or before beginning of file. Attempt to use visual bell instead. Display "raw" control characters instead of using ^x notation. This sometimes leads to display problems, which might be fixed by using -R instead. Print successive blank lines as one line. Edit file containing tag. Consult ./tags (constructed by ctags). Treat backspaces and carriage returns as printable input. Show the line to which a movement command has skipped, phrases displayed by a search command, or the first unread line during a normal scroll by highlighting text in reverse video. Set tab stops to every n characters. Default is 8. Never scroll forward more than n lines at once. Do not automatically allocate buffers for data read from a pipe. If -b specifies a number of buffers, allocate that many. If necessary, allow information from previous screens to be lost. Redraw screen by clearing it and then redrawing from top. Automatically exit after reaching EOF once. Exit without displaying anything if first file can fit on a single screen. Never highlight matching search strings. Make searches case-insensitive, even when the search string contains uppercase letters. Used with -w or -W, highlight a single column on the left edge of the screen instead of the whole text of an unread line. Use the specified charset. Prompt more verbosely than with -m, including percentage, line number, and total lines. Print line number before each line. Similar to -o, but do not prompt when overwriting file. Set the prompt displayed by less at the bottom of each screen to prompt. The m sets the prompt invoked by the -m option, the M sets the prompt invoked by the -M option, and the = sets the prompt invoked by the = command. Special characters (described in the manpage for less), can be used to print statistics and other information in these prompts. Never ring terminal bell. Like r, but adjust screen to account for presence of control characters. Cut, do not fold, long lines. With the -t option or :t command, read file instead of ./tags. Treat backspaces and carriage returns as control characters. Display version and exit. Show phrases displayed by a search command, or the first unread line of any forward movement that is more than one line, by highlighting text in reverse video. Do not send initialization and deinitialization strings from termcap to terminal.
- Co znaczy :
- Definicja current locale settings. Locales determine the country-specific settings for a system, including character encodings, the formatting of dates, honorifics, diagnostic messages, currency, printer-paper co to jest.
- Co znaczy :
- Definicja Consult /var/run/utmp for user's login name. If found, print it; otherwise, exit with an error message definicja.
- Co znaczy :
- Definicja links) for files , allowing them to be accessed by different names. Links may be hard or soft. A hard link creates two names for the same file, and a soft, or symbolic, link creates a second file co znaczy.
- Co znaczy :
- Definicja the print queue or queues. With options that take a list argument, omitting the list produces all information for that option. list can be separated by commas or, if enclosed in double quotes, by słownik.
- Co znaczy :
- Definicja Uses the lftp program to fetch the specified URL, which may be HTTP, FTP, or any of the protocols supported by lftp znaczenie.
Użycie LESS zastosowanie komendy na linii poleceńw Słownik L .