Im trying to learn UNIX so Im starting off with a small exercise.
1. Create a directory for each week of the a month called week1, week2, week3 and week4
2. Change the working directory to week1 and create a file called budget that contains food, cable, mortgage, car each on a separate line
3. Sort this file and append the results to the same file
4. Append the results of the pwd command to the file
Im OK with doing steps 1 and 2 but Im confused on steps 3 and 4.
Any help would be great!