小编Ani*_*yea的帖子

经过一定时间后运行命令?

如果我正在执行一个很长的过程,有什么办法可以执行一些基于时间的命令吗?

例如,我正在运行一个非常长的进程,大约运行 10 分钟。

5 分钟后,我想运行一个单独的命令。为了说明,单独的命令可以是:echo 5 minutes complete

(注意:我不希望命令的完成进度,而只是在指定的时间间隔后执行的命令。)

是否可以?

shell shell-script delay

37
推荐指数
3
解决办法
7万
查看次数

启动 Windows 会损坏 ext4 分区

去年我一直在使用 Windows 10、Arch Linux 和 Ubuntu 三重启动,没有任何问题。然而,上周开始发生一些奇怪的事情。首先,让我给出输出fdisk -lu

Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xd9fa2484

Device     Boot      Start        End   Sectors   Size Id Type
/dev/sda1             2048     206847    204800   100M  7 HPFS/NTFS/exFAT
/dev/sda2           206848  204802047 204595200  97.6G  7 HPFS/NTFS/exFAT
/dev/sda3        204802048 1023999999 819197952 390.6G  7 HPFS/NTFS/exFAT
/dev/sda4       1024004094 1953523711 …
Run Code Online (Sandbox Code Playgroud)

dual-boot ext4 windows corruption

5
推荐指数
1
解决办法
3232
查看次数

标签 统计

corruption ×1

delay ×1

dual-boot ×1

ext4 ×1

shell ×1

shell-script ×1

windows ×1