Archive for May, 2010
Edit hosts file
May 17, 2010
Leave a comment
edit the hosts file with:
sudo nano
/
private
/
etc
/
hosts
reload hosts file:
dscacheutil -flushcache
Categories: Mac OS X
Assign a root password
May 5, 2010
3 comments
To be able to log in as root directly, you must assign a root password. This can be done with:
sudo passwd root
Afterwards, you can use
su
Delete trash of user and root
May 5, 2010
Leave a comment
root:
sudo rm -r /root/.local/share/Trash/*
user:
sudo rm -r ~/.local/share/Trash/*
or
sudo rm -r /home/username/.local/share/Trash/*
Moving files or folder to another folder
May 2, 2010
Leave a comment
There are a few options to move files:
- hold apple (cmd) key while draging the file to another folder
- use the AppleScript droplet MoveTo, that lets you quickly move files between folders on your Mac. To use, drag Move To into the Finder toolbar. You can then drop your files on the application icon to move them.
- with moveAddict you can cut or copy files and folders with the common shortcuts or some buttons in the finder toolbar and paste them where you want
Categories: Mac OS X