Quick linux permissions question

Soldato
Joined
14 Mar 2004
Posts
8,040
Location
Brit in the USA
I'm doing a intro to Linux type class. A couple of the exercises use the date command just for something to output - simple I/O redirection stuff. Problem is, whenever I try and use date/time I keep getting permission denied, even if I use sudo. Am I doing something daft? :) thanks!
 
Post an example of the command. I would assume you're redirecting the output to a file/directory that you cannot access.

What happens when you run this:

Code:
date > /tmp/date.txt
 
Back
Top Bottom