permission denied
Title
Question
I have change directory by <span style="background-color: rgb(0, 0, 0);"><font color="#ffffff">cd /usr/lib</font></span>. Then I have display all the files in this directory by <span style="background-color: rgb(0, 0, 0);"><font color="#ffffff">ls -all</font></span>. Now I want to save the result in a file. So I enter the command: <font color="#ffffff" style="background-color: rgb(0, 0, 0);">ls -all > filleinfo</font>. But it shows me that bash: fileinfo: Permission denied. If I do the same in home directory, then it work fine, but when I change the directory it not work
Linux File-System 05-06 min 0-10 sec
Answers:
Hello Sanniddhachakrabarti,
ls -all > filleinfo
instead of fileinfo
Hi,
try this command " ls -all /usr/lib > fileinfo " . it will resolve you issue of Permission denied.
Login to add comment