Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Dec 2009
# mkinitrd -v /boot/initrd-$(uname -r).img $(uname -r)
what does it [$(uname -r).img $(uname -r) mean?
This question was asked me in an interview...
Thanks and Regards
Execute uname -r command in Terminal. You will have the answer.
In mkinitrd command, $[uname -r] is being replaced with its output.
uname -r returns the kernel version (i.e. 126.96.36.199). By appending it to the mkinitrd command, you can easily differentiate between initrd files on a machine holding multiple kernels.