LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 11-18-2018, 07:48 AM   #1
J0097
LQ Newbie
 
Registered: Nov 2018
Posts: 7

Rep: Reputation: Disabled
I need help with these linux questions please


i need help with these questions please guys

Last edited by J0097; 11-18-2018 at 02:16 PM.
 
Old 11-18-2018, 07:53 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903
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?
 
1 members found this post helpful.
Old 11-18-2018, 07:57 AM   #3
J0097
LQ Newbie
 
Registered: Nov 2018
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
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)"
 
Old 11-18-2018, 08:06 AM   #4
J0097
LQ Newbie
 
Registered: Nov 2018
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
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
 
Old 11-18-2018, 08:14 AM   #5
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 14,624

Rep: Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756Reputation: 4756
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?
 
Old 11-18-2018, 08:16 AM   #6
J0097
LQ Newbie
 
Registered: Nov 2018
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
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
 
Old 11-18-2018, 08:41 AM   #7
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903
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.
 
Old 11-18-2018, 10:20 AM   #8
J0097
LQ Newbie
 
Registered: Nov 2018
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
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 ?
 
Old 11-18-2018, 10:32 AM   #9
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,112

Rep: Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543Reputation: 543
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)
 
Old 11-18-2018, 11:35 AM   #10
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903Reputation: 2903
Quote:
Originally Posted by J0097 View Post
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).
 
Old 11-19-2018, 05:15 AM   #11
l0f4r0
Member
 
Registered: Jul 2018
Location: Paris
Distribution: Debian
Posts: 900

Rep: Reputation: 288Reputation: 288Reputation: 288
Quote:
Originally Posted by J0097 View Post
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 View Post
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I need help setting up my vms, hypervisor is KVM. I'm new to netowrking please help. Please Help. I need all the smart guys here!!! fromwin2lin Linux - Server 1 09-07-2016 04:31 AM
PLEASE help me do these simple programs. Please tell me how to do them pksucks Programming 9 11-04-2008 08:03 AM
need some help,i need answers for these questions please.. chidipudi Linux - Newbie 5 07-16-2008 12:08 PM
please help me with these LPI questions marsguy Linux - Certification 4 01-10-2005 12:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration