LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 06-13-2013, 03:01 AM   #1
textillis
Member
 
Registered: May 2013
Location: Northern Rivers, NSW, Australia
Distribution: Slackware64-current, Mint Nadya
Posts: 299

Rep: Reputation: 2
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?

Thanks for help
 
Old 06-13-2013, 03:33 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,
Quote:
Originally Posted by textillis View Post
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
Cheers,

Evo2.
 
1 members found this post helpful.
Old 06-13-2013, 07:35 AM   #3
textillis
Member
 
Registered: May 2013
Location: Northern Rivers, NSW, Australia
Distribution: Slackware64-current, Mint Nadya
Posts: 299

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by evo2 View Post
Hi,

Yes.


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.

Thanks kindly.
 
Old 06-13-2013, 07:46 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,360

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
You'll find this very helpful http://rute.2038bug.com/index.html.gz
 
1 members found this post helpful.
Old 06-13-2013, 09:38 AM   #5
textillis
Member
 
Registered: May 2013
Location: Northern Rivers, NSW, Australia
Distribution: Slackware64-current, Mint Nadya
Posts: 299

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by chrism01 View Post
You'll find this very helpful http://rute.2038bug.com/index.html.gz
This is sooooo timely!
Just the ticket, Chris: thanks heaps
(I'm wading in ankles deep already!)
: 0 )
 
Old 06-13-2013, 07:20 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,360

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Its a great tutorial.
You may want these for ref later
http://tldp.org/LDP/Bash-Beginners-G...tml/index.html
http://www.tldp.org/LDP/abs/html/
http://mywiki.wooledge.org/
http://www.grymoire.com/Unix/ - particularly for the awk & sed tutorials.

Don't try to swallow the lot in one go or your head will explode!
 
1 members found this post helpful.
  


Reply

Tags
command line, control, file manager, global, hdd



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
[SOLVED] How to write a script/command line that runs through multiple sub-directories? rvsmith Linux - Newbie 4 06-12-2012 07:21 AM
LXer: Drush: Managing Drupal from the Command Line LXer Syndicated Linux News 0 01-31-2012 07:40 PM
LXer: Managing LDAP from the Command Line on Linux LXer Syndicated Linux News 0 11-02-2010 05:50 AM

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

All times are GMT -5. The time now is 10:05 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
Open Source Consulting | Domain Registration