LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I need help with these linux questions please (https://www.linuxquestions.org/questions/linux-newbie-8/i-need-help-with-these-linux-questions-please-4175642592/)

J0097 11-18-2018 07:48 AM

I need help with these linux questions please
 
i need help with these questions please guys

hydrurga 11-18-2018 07:53 AM

Hi J0097, and welcome to LQ.

This looks very much like homework to me. Members on LQ normally don't like spoon-feeding answers. What research have you done to find the answers yourself? What do you think the answers are?

J0097 11-18-2018 07:57 AM

Quote:

Originally Posted by hydrurga (Post 5927286)
Hi J0097, and welcome to LQ.

This looks very much like homework to me. Members on LQ normally don't like spoon-feeding answers. What research have you done to find the answers yourself? What do you think the answers are?

hi its not homework its a online self taught course im doing but i just cant seem to understand where im going wrong



i used this command to find the world writabable commands : find / -path /proc -prune -o -perm -2 ! -type l -ls


then i used this command for the symbolic link


find . -type l -exec realpath {} \; | grep -v "^$(pwd)"

J0097 11-18-2018 08:06 AM

Quote:

Originally Posted by hydrurga (Post 5927286)
Hi J0097, and welcome to LQ.

This looks very much like homework to me. Members on LQ normally don't like spoon-feeding answers. What research have you done to find the answers yourself? What do you think the answers are?

Ive tired the command: find . -type l -exec realpath {} \; | grep -v "^$(pwd)"

its not working im struggling

pan64 11-18-2018 08:14 AM

I'm afraid that is not an answer. What did you want to achieve by that command? What's happened? Why do you think that did not work?


What research have you done to find the answers yourself? What do you think the answers are?

J0097 11-18-2018 08:16 AM

Quote:

Originally Posted by pan64 (Post 5927300)
I'm afraid that is not an answer. What did you want to achieve by that command? What's happened? Why do you think that did not work?


What research have you done to find the answers yourself? What do you think the answers are?

would it be the "ls -a" command

hydrurga 11-18-2018 08:41 AM

What is the *complete* question that you were given to answer? I'm not sure that the output you provided in your opening post is entirely relevant to the questions you have been asked. For example, you will need to list the home directory in order to answer the first question, as far as I can see.

J0097 11-18-2018 10:20 AM

Quote:

Originally Posted by hydrurga (Post 5927312)
What is the *complete* question that you were given to answer? I'm not sure that the output you provided in your opening post is entirely relevant to the questions you have been asked. For example, you will need to list the home directory in order to answer the first question, as far as I can see.



How do i list the home directory ?

RadicalDreamer 11-18-2018 10:32 AM

DuckDuckGo is your friend: https://linux.die.net/Linux-CLI/x9543.htm
Arch Documentation is your friend too: https://wiki.archlinux.org/index.php...BA%D0%B8%D0%B9)

hydrurga 11-18-2018 11:35 AM

Quote:

Originally Posted by J0097 (Post 5927347)
How do i list the home directory ?

I would highly recommend that you go to the tutor or teacher who instructs your class and tell them that you are not understanding the material. They will hopefully have some resources to help you.

Also, do search the internet. A search on Google for linux list home directory returns the command you need in one of the first few results (or at least it does for me).

l0f4r0 11-19-2018 05:15 AM

Quote:

Originally Posted by J0097 (Post 5927347)
How do i list the home directory ?

This really looks like homework...
Plus it's very easy to find the answer on the internet as suggested previously (and we at LQ don't have any added value to that)

Quote:

Originally Posted by J0097 (Post 5927280)
i need help with these questions please guys

Why did you edit your first post and deleted all the questions? Now nobody can see what they were...


All times are GMT -5. The time now is 09:16 PM.