Tuesday, 30 June 2009

(ubuntu tips)

- http://www.go2linux.org/how-to-install-samba-on-linux-with-swat
- http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch05_:_Troubleshooting_Linux_with_syslog


Ubuntu can play the most popular non-free media formats, including DVD, MP3, Quicktime, Windows Media

apt:ubuntu-restricted-extras?section=universe?section=multiverse


LINKS:
https://help.ubuntu.com/community/RestrictedFormats/
https://help.ubuntu.com/community/Medibuntu



======================


Ubuntu contains a very powerful firewall called netfilter that is part of
the central kernel program.

netfilter GUI: Firestarter
-------------------------------------------------


sudo apt‐get update
sudo apt‐get upgrade
or
sudo apt‐get update
sudo apt‐get dist‐upgrade

-------------------------------------------------------------------

Vim
Emacs (CLI mode using emacs --no-window and in GUI mode)
Nano

-------------------------------------------------------------------

MPlayer
SMPlayer
VLC


---------------------------------------------------------------------

network card info:

ifconfig


------------------------------------------------------------------------


So, here we go:

1. Follow the official instruction to install all the restricted formats:

sudo apt-get install ubuntu-restricted-extras

2. Install MPlayer:

sudo apt-get install mplayer

3. Download MPlayer binary codecs package from here.
4. Install MPlayer binary codecs package: (Note: the package name may differ from yours.)

tar xjvf essential-20071007.tar.bz2
sudo mkdir /usr/lib/codecs
sudo cp essential-20071007/* /usr/lib/codecs

At this point, you should be able to play rmvb files now. In case you still can’t, install libstdc++5 as follow:

sudo apt-get install libstdc++5

Bonus: I highly recommend you to give SMPlayer a try. You can get SMPlayer by:

sudo apt-get install smplayer





=========================================================

CHANGE FILE PERMITIONS

sudo chmod -R a+rwx .mozilla

links:
http://www.freeos.com/articles/4440/
http://lowfatlinux.com/linux-file-permissions.html




LISTING FILES AND DIRS

ls [list, all, show direcrtys] search string
ls -lad .mo*


MOVING AND COPYING FILES

cp -i file file2
cp file1 file2 file3 dir1
mv file file2


LINKS
http://www.tuxfiles.org/linuxhelp/fileman.html

================================

ssh gui tunneling
enovativ: No problem. To clear this up, run ssh -X (or ssh -Y) in your machine and run a command "firefox &" would bri

==========


list current processes.:
ps -e

kill a process:
kill

1 comment:

  1. Ok it's simple,

    For tar.gz
    tar -zxvf nameof.tar.gz

    And for tar.bz2
    tar -xvjf nameof.tar.bz2

    And zip
    unzip nameof.zip

    James

    ReplyDelete