Hi. Really new to Linux and a wee bit familiar with C. I want to write a small code that will ask user his/her name when run and then write it to a text file called name.txt . that's it.
i know the C code part but I dont know how I would write to a text file on the disk. I mean I know the printf, scanf parts, etc