Thursday, March 22, 2018

Something about Linux

check kernel parameter
$cat /proc/cmdline

insert module
$insmod

remove module
$rmmod

list module
$lsmod

change kernel parameter
$vi /etc/default/grub
$sudo update-grub
$reboot
delete the first 100M of specific partition
$dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=100 && sync

No comments: