LoginSignup
0
0

More than 5 years have passed since last update.

linux > less -SX [ファイル名] > wrappingをしない表示 | q押下時に画面をクリアしない

Last updated at Posted at 2017-07-09
動作環境
GeForce GTX 1070 (8GB)
ASRock Z170M Pro4S [Intel Z170chipset]
Ubuntu 16.04 LTS desktop amd64
TensorFlow v1.1.0
cuDNN v5.1 for Linux
CUDA v8.0
Python 3.5.2
IPython 6.0.0 -- An enhanced Interactive Python.
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu)
$ less -SX run257_sphere_g26_m1.5/IntField-Y 

Sオプション

   -S or --chop-long-lines
          Causes lines longer than the screen width to be chopped (truncated) rather than wrapped.  That is, the portion
          of a long line that does not fit in the screen width is not shown.  The default is to wrap  long  lines;  that
          is, display the remainder on the next line.

Xオプション

 -X or --no-init
          Disables  sending  the termcap initialization and deinitialization strings to the terminal.  This is sometimes
          desirable if the deinitialization string does something unnecessary, like clearing the screen.

結果

Screenshot from 2017-07-01 07-47-40.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0