LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to get access (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-get-access-4175425086/)

redwarriors25 09-01-2012 02:18 AM

how to get access
 
im new in debian also in other linux software
how can i get to this always permission denied im also i root how to access for this


root@debian:/home/chervene# /etc/network/interfaces
bash: /etc/network/interfaces: Permission denied
root@debian:/home/chervene#

hyperhead 09-01-2012 02:49 AM

What permissions does this have?

Try ls -l /etc/network/interfaces

pixellany 09-01-2012 03:27 AM

red;
Your command is attempting to execute a file named "interfaces" in the directory "/etc/network". Was that your intent?

Quote:

Try ls -l /etc/network/interfaces
I think you want: "ls -l /etc/network". For example, if "interfaces" is a directory, then you'll get info only on the **contents**.

There is of course "ls -lR" to get the complete picture.

hyperhead 09-02-2012 04:19 AM

The command ls -l was just to view the rights shown on that particular file.

Are you using Network Manager?

Or are you setting up for a static IP Address?


All times are GMT -5. The time now is 08:41 AM.