確 率 人
松浦將國個人の備忘録兼掲示板です.
県民手帳のランダム・ウォーク
鹿児島県('15.1--'15.12)==>熊本県('16.1--'16.12, '17.1--'17.12)==>長崎県('18.1--'18.12)==>広島県('19.1--'19.12)==>沖縄県※('20.1--'21.3)==>埼玉県('21.4--'21.12)==>福岡県('22.1--'22.12)==>千葉県('23.1--'23.12)==>京都府※※('24.1--'24.12)==>??
※沖縄県民手帳は県統計協会ではなく統計課監修のもと民間企業が出版している(参考).
※※京都府民手帳はないので,代替として「京都手帖」を購入した(参考).
How to display the updated files within the specific period of date by "ls" command on Linux terminal
Note that your environment may differ from my environment(lubuntu). For example, if you want to find the updated files from Aug 15 to Aug 20 in 2024, then
1. move to that directory (e.g. "abcde" directory) by "cd" command.
$ cd abcde2. Execute the next "ls" command.
$ ls -ltr | awk '$6 == "8月" && ($7 >=15 && $7 <= 20) && $8 = 2024 {print $6"-"$7"-"$8,$9}'If you want to find the updated files before Aug 5 or after Aug 25 in 2024, then 3. execute the next "ls" command.
$ ls -ltr | awk '$6 == "8月" && ($7 <=5 || $7 >= 25) && $8 = 2024 {print $6"-"$7"-"$8,$9}'See also, How to get only files created after a date with ls? - Stack Exchange Confusing use of && and || operators - Stack Exchange.
How to change brightness of display on Linux terminal
To change brightness of display on Linux terminal,
1. find the display name as follows. That is "DP-2" in my case.
$ xrandr --verbose2. Execute the following command.
xrandr --output (the display name) --brightness (the number between 0 and 1)For example,
xrandr --output DP-2 --brightness 0.5If the last number is close to 0 [1], then the display will be dark [bright].
How to enable scrolling in xterm (Lubuntu 24)
Please see here.
1. Make a file XTerm in your home directory.
$ cd ~ $ touch XTerm2. For example, edit the file XTerm and let it be as follows:
XTerm*Background: DarkViolet XTerm*Foreground: white XTerm*SaveLines: 2000 XTerm*faceName: courier XTerm*faceSize: 18 XTerm*rightScrollBar: true XTerm*ScrollBar: true XTerm*scrollTtyOutput: false XTerm*VT100.Translations: #override \ Shift CtrlV: insert-selection(CLIPBOARD) \n\ Shift Ctrl V: insert-selection(PRIMARY) \n\ Shift : select-start() \n\ Shift : select-extend() \n\ Shift : select-end(CLIPBOARD) \n\
Subscribe to:
Posts (Atom)