Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
Some one will tell you to read the manual. There is lots of documentation within your distribution and even more available online.
However, just for my own re-education I will answer your questions.
A. The term is MOUNT. Until a drive is mounted its contents are unavailable.
B. Remove all files in directory /tmp. The command is - rm * /tmp
Be careful with 'rm' with a wildcard and a recursive flag it is possible to take out your whole system including all mounted drives if executed in '/' as the root user. Tread carefully my friend.
C. i. Change into the parent directory with the 'cd' command. Then use "mkdir hello"
ii. "rmdir hello"
iii. Someone correct me if I'm wrong but I don't think there is a shell command to create files. Simply use an editor to save a file with some or no text. In a GUI it will be File->Save As ...navigate to your directory endter "MyFiles" and press enter. I'm not a Vim or Emacs person so someone else can give your their commands.
iv. "ls -la" will give you a full list. The directorys will have a d as the first entry in the permissions string.
Additionally note that Linux uses "/" to separte directories not the windows "\". Also directory and file names are case sensitive. "mkdir Hello" and mkdir hello" will make two differnet directories.
In future, please use a better title. People searching for answers to your questions will likely not come up with this thread. Interestingly, "newbie", "please" and "help" are among the least useful words in the context of a search.
If you don't understand your lessons (and by your questions I think that is a given), you should speak to your teachers instead of panicking and asking strangers on the internet to do it for you.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.