Posts Tagged ‘cli’

Half A Dozen Linux Lawyer Problems Solved

Sunday, March 22nd, 2009

tux9.gif

1. Description. OpenOffice files unreadable from shell.

Solution. odt2txt unreadable_file | less

2. Description. File on remote server unreadable from local host.

Solution. mkdir /mnt/stuff
sudo sshfs user@userserver.no-ip.info:/home/user/Desktop/matters /mnt/stuff
cd /mnt/stuff
ls -l
fusermount -u /mnt/stuff

3. Description. eGroupWare calendar and contacts unreadable from local host.

Solution. ssh -L 4444:192.168.0.65:80 user@userserver.no-ip.info
firefox

http://localhost:4444

4. Description. Unable to read or write file.

Solution. sudo chmod 0777 unreadable_file

5. Description. Missing an executable.

Solution. sudo apt-get install missing_executable

6. Description. Need to reboot from shell.

Solution. sudo shutdown -r now.