Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am new to Linux.
Recently I was trying to install network driver in Debian Linux and Ubuntu but I was not able to change the directory.
But I am able to veiw the directories like desktop.
As without entering the directory I cannot install the driver from commnad line,please help on this
Regards,
LK
Click here to see the post LQ members have rated as the most helpful post in this thread.
Be sure the directory has execute permissions: x permissions for directories mean they are accessible. You can still view the content of the directories using ls or the desktop file manager, but you cannot cd into them.
Be sure the directory has execute permissions: x permissions for directories mean they are accessible. You can still view the content of the directories using ls or the desktop file manager, but you cannot cd into them.
Hi,
How to change the permissions of folders?
Also when I do ls I can find only Desktop and TMP directory how to access other folders like bin,etc,sbin and others.
Regards,
Lakshmikanth
How to change the permissions of folders?
Also when I do ls I can find only Desktop and TMP directory how to access other folders like bin,etc,sbin and others.
Regards,
Lakshmikanth
To see what are the current permissions of the folder, do
Code:
ls -ld /path/to/folder
to change them use the chmod command, e.g
Code:
chmod +x /path/to/folder
Quote:
Originally Posted by KKANTH24
Also when I do ls I can find only Desktop and TMP directory how to access other folders like bin,etc,sbin and others.
What you see when you login (or open a new terminal or switch to root using su) is the content of your HOME directory (usually /home/username for normal users, /root for root). To list all the directories you mentioned, you need to go up to the origin of the directory tree:
I will recommend you to go through some beginner guide of linux. First thing Usually Debian/Ubuntu has Desktop Note that its capital D ..Linux is case sensitive ..
do
Quote:
ls -a
to list all files/directories
or do
Quote:
pwd
to see exactly where are you..
To change permission of folder say direc use this command..
Also when I do ls I can find only Desktop and TMP directory how to access other folders like bin,etc,sbin and others.
If you cd to any directory ls only lists the files for that directory.
But like stated in colucix post if you cd / you'll get a list of all the directories After finding the directory you're looking for you can cd to it & ls to see what's in that particular directory.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.