You want to redirect the output of the ls command to the ls-output file which already exists. The output should be appended to the file; it should not overwrite the existing content. Which command accomplishes this task?
You have a /tmp/data directory containing the files .file, file1, and file2. You want to delete the directory and its content. In a terminal window, which command accomplishes this?
You want to delete a certain print job from the laser print queue. Using the lpq command, you determined the job number of this job as 1234. Which command lets you delete that job?
To preserve the command history even when the shell is closed, the history is written to a file in the user's home directory. Which file holds the history information of the bash shell?