[SOLVED] managing directories of multiple linux OSs simultaneously from command line
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.
managing directories of multiple linux OSs simultaneously from command line
Hi folks,
Can one globally manage contents of one's entire hard drive from command line?
It seems that I can access and manage things from file manager up to a point;
I was wondering if the Command line offered greater depth of control over wider range of file management commands.
Put concretely: can i, say, open and edit a file using vim while in mint OS on sda1, when the file in question is in a directory in my slackware OS on sda2?
Hi folks,
Can one globally manage contents of one's entire hard drive from command line?
Yes.
Quote:
It seems that I can access and manage things from file manager up to a point;
I was wondering if the Command line offered greater depth of control over wider range of file management commands.
Sorry, I can't really comment on specifics since I don't use file managers, but I'd be amazed if there were any file managers that offered the full set of features available on the command line.
Quote:
Put concretely: can i, say, open and edit a file using vim while in mint OS on sda1, when the file in question is in a directory in my slackware OS on sda2?
Yes. What exactly is the problem? Have you mounted /dev/sda2 while running your mint install?
eg
Code:
mount -t ext3 /dev/sda2 /mnt
vi /mnt/path/to/slackfile.txt
Sorry, I can't really comment on specifics since I don't use file managers, but I'd be amazed if there were any file managers that offered the full set of features available on the command line.
Yes. What exactly is the problem? Have you mounted /dev/sda2 while running your mint install?
eg
Code:
mount -t ext3 /dev/sda2 /mnt
vi /mnt/path/to/slackfile.txt
Cheers,
Evo2.
No problem: was simply seeking precisely the kind of commands you offer here but didn't know how to execute them, as I am a beginner at command line.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.