LinuxQuestions.org
Visit Jeremy's Blog.
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, 04: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, 04:33 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
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, 08: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, 08:46 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,258

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
You'll find this very helpful http://rute.2038bug.com/index.html.gz
 
1 members found this post helpful.
Old 06-13-2013, 10: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, 08:20 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,258

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
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


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


All times are GMT -5. The time now is 11:20 AM.

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