インストール直後のUbuntu Tips

on MacBook Pro in Ubuntu-Server 20.04

画面に表示する行数を指定する。 インストール直後は表示行数が多く最終行が読めない。
stty rows 48  /* Replace 24 with the desired number of lines

インストールされているフォントの一覧を表示する
sudo apt install fontconfig
fc-list  /* fonts listing

フォントのサイズを指定する
sudo nano /etc/default/console-setup
FONTFACE="VGA"   /*コンソールフォント設定で「VGA」とすると、VGA解像度に最適化されたフォント
FONTSIZE="16x32"   /* 16: フォントの幅(16ピクセル)32: フォントの高さ(32ピクセル)
sudo setupcon

IPアドレスを表示する
ip addr /*  Shows detailed information about all network interfaces

ログインユーザーを表示する
w  /* command provides information on logged-in users and their activities.

プロセスを表示する
top  /* command is a powerful tool to display system processes in real-time. 
           h  /* help
           q  /* quit
           P  /* Sorts the process list by CPU usage (default).
           M  /* Sorts the process list by memory usage.
           N  /* Sorts the process list by process ID.
           i  /* Toggles the display of idle processes.

サービスの状態を表示する
sudo systemctl status  /*  shows the status of systemd services

MobaXtermをインストールする
https://mobaxterm.mobatek.net/
https://mobaxterm.mobatek.net/download-home-edition.html
412 View Count