How to open a file at fedora from terminal to write some codes in it?

Yes sir ı really have no experience

The guide you posted above is about compiling a kernel with ashmem.