Ubuntu :: Junk In Home Directory?

Feb 1, 2010

I recently found an awful lot of junk files in my home directory, mostly in directories that start with a dot e.g. /home/my home/.mozilla So I did cd du -chs .??* and found 3.5 GB. After pruning, I find < 250 MB of files that I have knowingly created.What is happening is that I installed some programs, say xyz , tried them out and decided they were unsatisfactory, deleted them. The un-installer for xyz deletes the actual program but meanwhile xyz has installed lots of config files or status files in /home/my home/.xyz and the un-installer does not delete these. So if you are running short of space or if backups take forever, it might be worthwhile to do the above command or maybe

View 5 Replies


ADVERTISEMENT

General :: Testing Home Directory Scripts By Setting $HOME To The Location Of The Test Directory

Apr 20, 2010

I have an interdependent collection of scripts in my ~/bin directory as well as a developed ~/.vim directory and some other libraries and such in other subdirectories. I've been versioning all of this using git, and have realized that it would be potentially very easy and useful to do development and testing of new and existing scripts, vim plugins, etc. using a cloned repo, and then pull the working code into my actual home directory with a merge.

The easiest way to do this would seem to be to just change & export $HOME, eg

cd ~/testing; git clone ~ home
export HOME=~/testing/home
cd ~
screen -S testing-home
# start vim, write/revise plugins, edit scripts, etc.
# test revisions

However since I've never tried this before I'm concerned that some programs, environment variables, etc., may end up using my actual home directory instead of the exported one. Is this a viable strategy? Are there just a few outliers that I should be careful about?

View 1 Replies View Related

General :: Script That Displays A Bunch Of Junk (pwd, Date, Yadda Yadda) And Then Prompts The User To Enter A Directory?

Mar 28, 2010

I'm still pretty new to linux, and burning through a unix/linux course offered at the local JC. I'm working on an assignment for shell scripting and I need to make a script that displays a bunch of junk (pwd, date, yadda yadda) and then prompts the user to enter a directory so they can view the contents. If it's valid, then it displays the contents. If it isn't then it throws an error message and the script stops. This is done using if, then and else. The problem is, my script always shoots straight to the else, even if the subdir entered IS a valid subdirectory.Here's what I have:

Code:
clear
pwd

[code]....

View 3 Replies View Related

Ubuntu :: Home Folder Icons Don't Update When Change The Home Directory

Sep 22, 2010

I have a dual-boot macbook with an OS X partition and an ubuntu partition. When I first installed ubuntu, I changed my home folder to my OS X home directory to synchronize all my files from both. My home directory is now /media/sda2/Users/username/. In a regular home folder, the icons for Documents, Music, Pictures, Movies, etc. are different (not just with emblems, but actually different icons). But when I changed my home folder, these subfolders' icons stayed the same as regular folder icons and I can't figure out a way to change that default setting. I know how to change the icons for each folder manually, but these changes don't appear everywhere (i.e. nautilus, places, etc). Furthermore, every time I change my icon theme, I would have to manually reassign icons for these folders. Is there a way to globally change the folder icons for these folders?

View 2 Replies View Related

Ubuntu Servers :: Set Home Directory Path Different From LDAP's Home?

May 24, 2011

I need to specify a different path to home directories on a particular server than what LDAP contains for the users, besides using a symlink. E.g. "/Users/jdoe" vs "/home/jdoe" I don't want to change the actual LDAP attributes, just want a particular server to point them in the right direction (Ubuntu 10.04).

I'm assuming it's something I could probably set in pam configurations?

View 1 Replies View Related

Fedora :: Using SSH - Could Not Chdir To Home Directory /home/adahaj: Permission Denied

Jul 21, 2009

I have a strange problem when I do SSH to a FEDORA9 based Linux Server.

[Code]....

When I login using "adah" username in TELNET I am automatically directed to my home directory at location "/media/disk-1/home/adah". But when I use SSH to login using the same username I get the following message Code: Could not chdir to home directory /home/adahaj: Permission denied

View 7 Replies View Related

General :: 'Could Not Chdir To Home Directory /home/[user]: Permission Denied'

Jan 6, 2010

I have a secondary disk which holds a /home directory structure from a previous install of Linux. I installed a new version on a new primary drive and mounted this secondary drive as the new /home. Problem is, even though the users are the same names and I can access the home directories for the users, I cannot login directly to their home directories, as I get the following error: -

Code:

login as: [me]
[me]@[machine]'s password:
Last login: Wed Jan 6 18:34:33 2010 from [machine]
Could not chdir to home directory /home/[me]: Permission denied
[[me]@[machine] /]$

Now, since the usernames are correct and the users are in the passwd file with the correct home directory paths, could it be user ID's that are different or something else? It's not as though I cannot access the home directories for the users, simply that I cannot log directly into them from a login prompt.

View 14 Replies View Related

General ::anything Special About Home Directory Before Users' Home Directories Are Stored There

Jun 19, 2010

Is there anything special about a home directory before users' home directories are stored there, or is just as typical as any other "empty" folder?Let me just cut to the chase, but please no ear ringing about the folly of messing around as root, particularly with directories at root level. I know it's considered stupidity, but I deleted my home directory.

Is there an easy way to restore a working home directory? I tried copying /etc/skel under root, but I'm not sure what a home directory should look like once it has been restored. Besides . & .., there were .screenrc & .xsession in my home directory when I copied /etc/skel. Are these files suppose to be in "/home" or "/home/~" or both?

View 10 Replies View Related

Ubuntu :: Cannot Mount Unencrypted Directory To Encrypted Home Directory With Fstab

Aug 26, 2010

I have Ubuntu Karmic. I chose to install with an encrypted home directory. Recently I got a warning that I only had 2GB of drive space left. This is mostly because of my videos. So I went and bought a new hard drive and partitioned it and made 1 ext4 partition and copied my videos all to the new hard drive. I added a line in my fstab to mount the new hard drive to ~/videos, but when I reboot the computer, there is a screen saying something like "error mounting /home/me/videos, press S to skip or something else to reboot". If I press S to skip, then when my system comes up there is a video directory but it's empty because my other hard drive didn't get mounted. I can run sudo mount /dev/sdb video/ and it will mount fine and I can see all my videos, so why can't fstab mount it? Does this have something to do with my encrypted home directory?

View 14 Replies View Related

General :: Access Directory Outside Of Home Directory?

Apr 13, 2010

I'm using Mac OS X's Terminal.app shell to compile and run Fortran programs. One such program resides outside of my home directory (it is in the Applications folder, which resides on my hard drive but seems to be outside of my home folder). How can I navigate into this directory using Terminal.app to run the programs that reside there?

View 7 Replies View Related

Ubuntu :: Where To Get Home Directory?

Jul 5, 2010

How in the world do I find the Home Directory?

View 5 Replies View Related

Ubuntu :: Fix Path To /home Directory ?

Feb 3, 2010

I thought i'd set up the partitions correctly when i installed ubuntu, with a 15 gig "/" partision and a 45 gig "/home" and a 3.8gig "swap"

I was wrong i somehow misplaced the /home partition, and therefore didn't install it

I found this out about 4 days ago as i was running though video tutorial and realized i didnt have it setup correctly afterall

So... i did some research and found this site...[url] and i found something that seemed to work for various people, i deleted the 'now' windows partition and so i had this:

However i unmounted the /home folder following the instructions without realizing that i didnt have permissions to mount the /new home partition as it is not in the extended ubuntu 9.04 linux partition and i have no rights to it

So my question is, how do i fix the path to the /home folder (original) in ubuntu so that i can start over and do this correctly (ie; resize the extended partition and add the /newhoe directory/patition to ubuntu)

I realize that i can use a sudo command before lines to run su commands that are blocked in ubuntu, which is how i screwed up =

I cannot use anything in the menu as all links to programs are dead, i can run the add app, but it cannot install as the install folders are "not there"... i can see them in the terminal so i know my data is there and i can run the live disc to salvage it, but i cannot see it while ubuntu is loaded

Note; i have not restarted the computer and i don't know if this will block ubuntu from restarting either, so i need to fix via terminal, before i can do anything else, like letting the laptop rest.

View 5 Replies View Related

Ubuntu :: Un-encrypt LVM/home Directory?

Feb 19, 2010

if these are set to be encrypted on installation how would I go about changing that?

View 2 Replies View Related

Ubuntu :: Deleting An Old /home Directory?

Jul 2, 2010

I've followed some instructions on installing a new hard drive on Ubuntu ("Installing a New Hard Drive" and "HOWTO move /home to a new hard drive") and I've now successfully got my new drive working with /home. Everything looks to be in perfect working order.Now I'm wondering how to delete my original /home folder. Running "df -h" still shows 97% usage on my / partition and I'd like to clear out the old /home to free up all that space. I just don't know where these files are now is all.

View 9 Replies View Related

Ubuntu :: 2nd HD Visible As Directory In /home?

Sep 28, 2010

I made a media station with XBMC and this is working just fine. Now I have an internal hard disk NTFS formatted loaded with multimedia stuff. I would like to appear the disk as directory in my home. Example: /home/xbmc/multimedia where multimedia redirects to the root of the NTFS disk. Is this possible?

View 7 Replies View Related

Ubuntu :: Home Directory Does Not Exist?

Jul 17, 2011

My desktop just froze for some reason and I had to force shut down. When I logged back in I could not get into my /home/username directory, a message popped up that it does not appear to exist and if I would like to put it as root.

what should do to get it back?

View 1 Replies View Related

Ubuntu :: Remove Junk Form Startup Menu?

Apr 13, 2010

There's a growing list of "Kernel" versions in the boot menu. I just want Ubuntu and Windows, how do I get rid of the superseded kernel entries?

View 9 Replies View Related

Ubuntu :: Evolution Moves All Messages To Junk After Restore?

Aug 6, 2010

I built a new PC and copied my old .evolution folder into my home directory which brought back all my mail and filters. I just did a 'check mail' as apparently the auto check wasn't working overnight and it grabbed 85 messages and moved them straight to the Junk folder. I went to Junk, selected all, then did Apply Filters and it did move the messages matching filters to their appropriatelocations. ny ideas on why Junk has become the default location for message delivery and the filters aren't being processed on delivery

View 1 Replies View Related

Ubuntu Installation :: Install 10.10 (upgrade From 10.4) And Keep 10.4 UI Instead Of Junk That Is 10.10 Netbook?

Oct 25, 2010

Is there a way to install 10.10 (or upgrade from 10.4) and keep the 10.4 UI instead of the junk that is the 10.10 netbook UI ?

View 3 Replies View Related

Fedora :: Input In Minicom Getting Junk Value

Jul 28, 2011

I am working on serial communication program its working but when I am giving some input in replay minicom giving junk value.

View 1 Replies View Related

General :: Ubuntu - Home Directory Be Symlinked?

Feb 10, 2010

I have a second large storage hdd mounted in Ubuntu in /media/storage. I would like my home directories for me and all future users of the system to be located on this storage drive as well.

I was thinking that the easiest way to accomplish this was to move /home to /media/storage/home and then create a symlink so that /home points to /media/storage/home. Would this work okay?

The only reason I ask, is because I know that a users home directory has a lot of special configuration information stored in it, so I didn't know if this would screw up anything on the system.

Are there any better alternative methods to relocating the home directory?

View 1 Replies View Related

Ubuntu Networking :: Nothing In Home Directory After Nfs Mounting?

Jan 7, 2010

I have an interesting problem I have had some troubleinding answers to with researching. The answer is probably so obvious that I should be able to see it. Here is my prob.I am trying to mount a root directory onto the same system (just for testing purposes)I am using nfs and have nfs-kernal-server nfs-common and portmap installed.if I have this in my /etc/exports

Code:
/ 192.168.1.0/24(rw,no_root_squash,async)
then do

[code]...

View 1 Replies View Related

Ubuntu :: Encrypt Home Directory After Install?

Apr 6, 2010

have the home directory encrypted after the initial installation? I know on a clean installation you can set this up.However, is there an easy way to do so after? Ubuntu Karmic x64

View 1 Replies View Related

Ubuntu :: PHP Not Working In Home Directory After Upgrade?

May 10, 2010

I am having a problem with my PHP installation. After I upgrade to 10.04 (64 bit), the PHP quit working in my home directory... that is:/home/username/public_html/orhttp://localhost/~username/When the PHP is called, the dialogue comes up to download and I am able to download the intact PHP file. The *.html files work normally in the home directory.The /var/www/ directory with PHP works normally (phpMyAdmin, etc.)

View 2 Replies View Related

Ubuntu :: Trying To Rebuild Encrypted Home Directory

May 21, 2010

I ran fsck on the wrong partition (which was mounted) and in my haste blew up the file system on that partition. Now here's the kicker, I had 450Gb of data and documents on that partition that was in an encrypted home directory. So the long and the short of it I ran fsck again and I was able to recover all the files, and they are now residing on a Lost+Found folder on my hard drive.I have located the encrypted files, but I don't know what to do with them.

View 1 Replies View Related

Ubuntu :: Desktop Directory In Home Folder?

May 21, 2010

I want to ask a question that the "Desktop" directory located in the "Home Folder" contain the Desktop content.If I deleted this "Desktop" directory, the system will try to use "Home Folder" as the Desktop.When I create the "Desktop" back, system still use the "Home Folder" as the Desktop.So how can I let the system use the "Desktop" directory as the realy Desktop then?

View 3 Replies View Related

Ubuntu :: Unlock Home Directory From LiveUSB?

May 26, 2010

I can't log in to my current install of 10.04 (x server doesn't start, or whatever, not too concerned about that), and I would like to at least get my files from my home directory, but most of them are inaccessible when I boot up with my LiveUSB of 10.04, due to permissions, I suppose. Is there an easy way to get them? I know the password to my log in,

View 1 Replies View Related

Ubuntu :: Changing The Username And Home Directory?

May 27, 2010

People usually suggest workarounds to do this, as it's not possible with usermod while the user is logged in. Did I overlook anything or is this method not preferable over creating a new account, setting the user permissions, then moving the files and messing with the file permissions? Using the right tool for the job would seem to be less error-prone to me. 1. Activate the root account by setting a password.

Code:
sudo passwd
2. Log out and log into the root account.
3. Change the username and home directory from user1 to user2. This will also move the files to the new home directory and rename the group to user2.
Code:
usermod -l user2 -d /home/user2 -m user1

[Code]...

View 3 Replies View Related

Ubuntu :: Share Home Directory With 2 Distros?

Jun 14, 2010

I'm not sure if this is the proper section of the forum for this, but I haven't really seen anything about this particular topic. I've got Ubuntu 10.04 installed as my main OS. It's on a 25GB partition, and I have a 175GB partition that I use as my /home directory.

On the second hard disk I have a 15GB partition that I would like to install, and try out, Slackware 13.1.
Is it a bad idea to try to also use that 175GB /home partition for Slackware and Ubuntu at the same time? Can that cause incompatibility problems for me, with any shared software between the two distros, or is this something that should work ok?

View 3 Replies View Related

Ubuntu :: Move The /home Directory To A Different Location?

Jun 29, 2010

I would like to move the /home directory to a different location, there only seem to be guides on how to move it to it's own partition.

I have a drive (/dev/sda5) mounted as /media/data

I would like to move /home to /media/data/home?

I have tried usermod but get the following error:

Code:
test@TestServer:/media/data$ sudo mkdir /media/data/home
test@TestServer:/media/data$ ls
home lost+found
test@TestServer:/media/data$ sudo usermod -dm /media/data/home
usermod: user '/media/data/home' does not exist

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved