Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Bodhi This forum is for the discussion of Bodhi Linux.


  Search this Thread
Old 03-10-2019, 11:25 AM   #1
Registered: Dec 2008
Posts: 78

Rep: Reputation: 28
Question Copying OS files without exiting the presently-running OS? Possible?

I am looking into creating a symlink from a directory in Bodhi on an SD card, to one residing in a partition on the SSD and have come across this:
While logged in as a different user, in a root shell (e.g. sudo -i), copy over the contents of /home/username to /extra-home/username and make sure the new location is owned by username:
About the part of the instruction in boldface, what is the reason for logging in as a 'different user' before the copy operation?

Is this a shortcut to what I would do normally, and that is, exiting the operating system and booting into a Linux Live CD/DVD, and performing the copy operation from there?
Old 03-10-2019, 01:16 PM   #2
Senior Member
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 2,728
Blog Entries: 6

Rep: Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387Reputation: 1387
Your home directory contains configuration files that may be in use by running programs. Programs write to these files as well as read from them. If you are logged on as a different user, you won't be using any of these files so they can be copied safely.
2 members found this post helpful.


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
Copying home folder from command line without copying hidden directories and files rm_-rf_windows Linux - General 2 04-12-2016 08:24 AM
my introduction, have presently no questions wstrickler Linux - Newbie 1 04-15-2014 06:55 PM
[SOLVED] Copying the files inside a folder, without copying the folder (hopefully easy) tibberous Linux - Software 3 12-23-2010 01:50 AM
Exiting BASH function without exiting sourced environment SwingingSimian Programming 10 08-12-2009 12:59 AM
kde - sync kio_slaves without exiting? fibbi Linux - Software 0 01-14-2005 06:09 PM > Forums > Linux Forums > Linux - Distributions > Bodhi

All times are GMT -5. The time now is 03:47 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration