
端末を読みやすくするためにコマンドを実行した後、Enterキーを2回押したいと思います。
[root@localhost ~]# fdisk -l /dev/sda1
Disk /dev/sda1: 1 GiB, 1073741824 bytes, 2097152 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
[root@localhost ~]# RETURN
[root@localhost ~]# RETURN
[root@localhost ~]# fdisk -l /dev/sda1
Disk /dev/sda1: 1 GiB, 1073741824 bytes, 2097152 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
[root@localhost ~]# RETURN
[root@localhost ~]# RETURN
[root@localhost ~]# NEW COMMAND
可能ですか?
答え1
Enterキーを2回押すとこれを行うことができますが、実際には望んでいません。
以下を試してください。
$ export PS1="\n\n$PS1"
これを直接行うには、.profile
ホームディレクトリで編集してください。システム全体でこれを行うには/etc/profile
。