Jerry's blog

Linux File

Almost everything in Posix is handled through a file descriptor File descriptors: These are small integers that you can use to access open files or devices. Programs can use disk files, serial ports, printers and other devices in exactly the same way as they would use a file: open, close, read, write and ioctl. Each Unix process (exc...
Click to read more ...

How To Rescue Password

This is a simple process of how to reset password in rhcsa test. Step one press 3 before grub Step two Then, go to the kernel line (the line starting with linux16) and add the following statements at the end: rd.break enforcing=0 Step three remount the sysroot as writable mount -o remount,rw /sysroot Step four change r...
Click to read more ...

Linux Reboot and Shutdown

Simple system reboot and shutdown commands in linux. Reboot the system reboot systemctl reboot shutdown -r now init 6 telinit 6 Shutdown halt sytemctl halt shudown -h now init 0 telinit 0 Poweroff poweroff systemctl poweroff Suspend systemctl suspend Hibernation and suspend systemctl supend Boot system manually The default run l...
Click to read more ...

Useful Vim Skills

Useful Vim Skill notes Vim Model Command Model Insert Model Last line Model Command Line To Insert model i: insert before cursor a: insert after cursor I: insert at the head of the line A: insert at the end of the line o: open a new line below the cursor O: ope...
Click to read more ...

8086 Registers

A processor register (CPU register) is one of a small set of data holding places that are part of the computer processor. A register may hold an instruction, a storage address, or any kind of data (such as a bit sequence or individual characters). Some instructions specify registers as part of the instruction.1 8086 16bit Registers inside c...
Click to read more ...