208 Welcome to Linux
[billy@localhost billy]$ su
Password: yourrootpassword
[root@localhost billy]#
This will allow you to change from your regular user account to the root account.
Please Note: when you’re in the root account, you are commander in chief of everything on your
system, so be careful.
Tip: The command su means substitute users, which lets you log into temporarily log
in as another user.
Briefly, we’ll find the Linux kernel version; then, we’ll use the mkbootdisk command to make a
bootable floppy from the kernel.
Put a standard diskette in the floppy drive.
Tip: In Linux, the floppy drive is referred to as /dev/fd0.
If you’ve previously used the diskette, remember: You will lose anything that had been on that
diskette!
Now, at the prompt, type:
cd /lib/modules
(Shown in figure 15.17.)
Now, type:
ls
The command ls will list the contents of a directory. (You can learn more about the cd and ls
commands in Chapter 16 on page 217). For now, just type the commands as you see them.)
Here, you can find the kernel version of your Red Hat Linux system. The kernel is the heart of any
Linux system. Your kernel version will be something similar to:
2.2.x-yy
Comments to this Manuals