Summary Linux command list
This is a Linux command to check the contents of the file.
/home/hoge
$ less 'File name you want to check'
#Example of checking hoge file
$ less hoge
option | Description |
---|---|
-F | Exit less for files with less than one screen line |
--help | Displaying help screen |
-i | Do not distinguish between uppercase and lowercase letters when searching |
-N | Display line numbers |
-r | Output the escape sequence as it is |
-R | Output escape sequences other than colors as they are |
-S | Display without wrapping and allow horizontal scrolling |
--version | Show version |
-X | Exit less without clearing the screen and keeping the last state |
/home/hoge
#Keep the screen at the end
$ less -X hoge.txt
hogehoge #The content remains
#Check the version of the less command
$ less --version
pwd, mkdir, cd , cat, cp, ls, touch, less, mv, rm, ssh, man, ** Adding at any time **
We undertake various development and construction contracts and mentor work for beginners. If you are interested, please go to ** here **
Recommended Posts