Showing posts with label Operating Systems. Show all posts
Showing posts with label Operating Systems. Show all posts

Saturday, May 29, 2021

XV6 - Very Simple Unix implementation for educational purposes from MIT

In linux terminal 1

$ sudo apt-get install qemu-kvm qemu virt-manager virt-viewer
$ git clone git@github.com:mit-pdos/xv6-public.git
$ cd xv6-public
$ make
$ make qemu
$ make qemu-nox-gdb

In linux terminal 2

$ gdb kernel
> target remote localhost:26000
> b exec
> c
> file _cat
> b main
> c

In linux terminal 1

$ cat README

look gdb stoped in breakpoint in terminal 2

Thursday, May 27, 2021

Copy and paste Shortcuts

Linux

COPY

To copy you may have different scenarios

  • Mode 1
    • In graphical applications you may use Ctrl + C
    • In terminal you may use Ctr + Shift + C
    • Right click menu Copy
  • Mode 2
    • In any application you can just select a text

Blog Archive