Skip to main content

8.2) Create A File


Say you are missing a file called ‘sound.dat’ and you have no idea what directory it is in or even if the file still exists in your directories. Now, to make this work, let us first make the file so that it can then be found. Use emacs to make a file and you can put a few lines of data in it such as:

0.1
0.32
0.45

Now save the file (remember hold ‘ctrl’ whilst pressing ‘x’ and then ‘c’ and then choose ‘y’ to save the new file, or use the cursor through the ‘file’ tab). Now type ls and you should see the new ‘sound.dat’ file in your directory.