I try to redirect output from a command in a terminal window in Max OSX (10.9.4) and get an error message. When I try this easy command:
ls > file_list.txt
I get this error:
-bash: file_list.txt: Operation not supported
Anybody an idea?
Thanks
This is the error you get if you try to create a file somewhere like /dev
, which is the mount point for a special filesystem that doesn't (ordinarily) allow you to create files:
$ cd /dev
$ ls > file_list.txt
bash: file_list.txt: Permission denied
# Oops, we get permission denied before we even try to create the file.
$ sudo -s
Password:
# ls > file_list.txt
bash: file_list.txt: Operation not supported
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.