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 having trouble answering these two questions. Can anyone help me out?
1. To refer to the file afile.txt in the directory one level above the current one, you would type __?_ afile.txt
2. What can you do locally that you can’t do from a remote login via SSH, provided both computers are configured to permit the actions?
a. Run administrative commands via sudo
b. Edit files with a text-mode text editor
c. Edit files with a GUI text editor
d. Log out from the session by typing exit
e. None of the above
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,672
Rep:
Quote:
Ahh I did not know I couldn't ask for hw help. Sorry everyone!
No-one here has a problem with you asking for homework help. They do have issues with you asking to do your homework for you though.
You've surely covered these topics in whatever course you're doing, have you asked your tutor for clarification?
As in the rules, tell us what you've done so far, what information sources, text books, etc you're using and what exactly about the question you don't understand and you're more likely to get pointers.
So I just started taking a linux course. Everything is brand new to me as I never dealt with type of interface before. I am not in the computer field yet either..., but hope to obtain a degree that might get me there!
This course just started. It's an online course since I work full-time. The learning materials are pretty much just readings from the book- Linux Essentials. I think the book is a little hard to follow which makes trying to find the answers to the questions a little difficult. I do best with learning from youtube videos. The problem with that is, there isn't one tailored to the course. The answers within the chapter we are on have eluded me so I have been scouring google for material.
For the fist question, the text mentions using "U" to browse one level up but that's within the info info command so I don't think that's right. The internet has said it to go back you do .. / but I don't think that's right either because I need to access a specific file within the previous folder. At least that is what I think Q1 is asking.
So I just started taking a linux course. Everything is brand new to me as I never dealt with type of interface before. I am not in the computer field yet either..., but hope to obtain a degree that might get me there!
This course just started. It's an online course since I work full-time. The learning materials are pretty much just readings from the book- Linux Essentials. I think the book is a little hard to follow which makes trying to find the answers to the questions a little difficult.
You really need to have a working installation to play with because you won't learn without actually trying things out - what do you have available?
Quote:
Originally Posted by asw225
I do best with learning from youtube videos. The problem with that is, there isn't one tailored to the course. The answers within the chapter we are on have eluded me so I have been scouring google for material.
Keep doing this, and concentrate on the online documentation for your distribution.
Quote:
Originally Posted by asw225
For the fist question, the text mentions... The internet has said... At least that is what I think Q1 is asking.
Quote:
Originally Posted by asw225
1. To refer to the file afile.txt in the directory one level above the current one, you would type __?_ afile.txt
How do you refer to a specific file in the current directory?
you will see that the first 2 things listed are:
.
..
The first one is the current folder. The second one (..) is the parent folder.
To view a file in the current folder
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
Quote:
Originally Posted by jamison20000e
Can run live or Virtualbox.
To expand upon this. If you're running Linux in a virtual machine then I would suggest running two instances and setting up an SSH server on one (there are plenty of tutorials on the internet) or if you're running Linux as a native OS then I would recommend running a virtual machine with the SSH server process installed and, possibly, things like Apache if that's part of your course -- that way you get to "do remote administration" without having to have two computers.
If your hardware is fairly modern then virtual machines (VMs) are a great way to learn an OS -- OK, you do need to learn the basics of what a VM is and how to set one up but once that is done it's great fun.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.