Skip to main content

Posts

Showing posts with the label Linux

FEW helpful commands in linux

How do you create a file in UNIX cat > filename this will create a file adn allows you to enter text and to come out of the file,press ctrl+d.Then teh file will be created. touch command can also be used to create file.but this will create empty file. using Vi editor also the files can be created. and few more editor like "ed" can also be used. hence there are many ways to create a file in unix.

How to Play movies and songs in ubuntu from command line

$ totem --help Usage:   totem [OPTION...] -: Play movies and songs Help Options:   -h, --help                        Show help options   --help-all                        Show all help options   --help-gst                        Show GStreamer Options   --help-gtk                        Show GTK+ Options   --help-sm-client                  Show session management options Application Options:   --debug                           Enable debug   --play-pause                      Play/Pause   --play                            Play   --pause                           Pause   --next                            Next   --previous                        Previous   --seek-fwd                        Seek Forwards   --seek-bwd                        Seek Backwards   --volume-up                       Volume Up   --volume-down                     Volume Down   --mute                            Mute sound   --fullscreen                      Toggle Fullscreen   --toggle-controls   

Install Flash Player 10 in Ubuntu Linux

You must uninstall any currently installed Flash Player before installing the beta under Linux or Mac / Windows computer. Open Firefox and type following at url box: about:plugins Install flash 10 Player on Ubuntu Visit this url and grab .deb file. Uninstall old flashplayer 9 ( if installed ): $ sudo apt-get remove flashplugin-nonfree Now, install Flash 10 (make sure Firefox is not running ): $ sudo dpkg -i install_flash_player_10_linux.deb Start firefox and type about:plugins . You should see list of plugins including Flash 10. Flash 10 64 bit Linux version However, there is no 64 bit version of Flash 10 exists for Linux systems. You can install and use Flash, Java, Real Player 32 bit plugins under 64 bit Linux Firefox version -------------------------------------------- ABOUT : Adobe flash player version 10 (code-named "Astro" ) has been released and available for download. It has many new features such as: + Visual performance improvements + 3D effects +

Some useful linux commands

Copy/Paste in Linux : In linux highlighting text will put it into the clipboard, and pressing your mouse centre button or mouse wheel will paste it. If you have no centre button or mouse wheel, press left and right buttons at the same time. Middle button copy/paste works in almost all applications including terminal windows. Some applications such as KDE and OpenOffice also support Windows style CtlC/CtlV Copy/Paste. So for example you could use either CtlC/CtlV or mouse wheel click to transfer data between Kwrite and Open Office. There is a setting in OpenOffice to define the behaviour of mouse wheel click. [http://www.jennings.homelinux.net/paste.html] Auto fill in Linux : The complete command in bash lets you associate file types with certain applications. If after associating a file type to an application you were to write the name of the application and press Tab, only files with associated file types would be displayed. Even smarter completion By default, Tab compl

Intsalling Unbuntu 9.10

My Current System Config : 4 GB RAM 500 GB HDD After making it Dual boot : (Ubunty 9.10 with Windows 7 ) /dev/sda1  ntfs  13 gb /dev/sda2  ntfs  35 gb /dev/sda5  ext2 /  28.7 gb /dev/sda6  swap 5.7 gb /dev/sda7  ext3 /boot /dev/sda8  ext3 /home /dev/sda9  fat32 /data [ ] A little R&D I did : root '/' - Is that where all the linux installation files gets installed to? /boot - Should be mounted on a primary partition so that the BIOS can find it? /swap - Should be 2x RAM mounted on special swap file system? /home - Is this where I do all my work .i.e. documents, videos, pictures, FAT systems have no file permission functionality, which often leads to practical issues when sharing such partitions between Linux and Windows. the new NTFS-3g driver for Linux offers both read and write functionality on NTFS file system partitions. Swap Space : swap partition is like an extension of your RAM; it's used by the running system to temporarily park active

Installing Ruby

deepika@linux-yq3p:~> sudo zypper in ruby devel_ruby root's password: Loading repository data... Reading installed packages... 'ruby' is already installed. 'devel_ruby' not found. Resolving package dependencies... Nothing to do. ---------------------------------------------------- Installing RubyGems : { RubyGems is a package management tool, much like zypper. It’s got very simple syntax and installation is straightforward as well.} deepika@linux-yq3p:~> sudo zypper in rubygems Loading repository data... Reading installed packages... Resolving package dependencies... The following NEW packages are going to be installed: ruby-devel rubygems 2 new packages to install. Overall download size: 1.5 MiB. After the operation, additional 6.2 MiB will be used. Continue? [y/n/?] (y): y Retrieving package ruby-devel-1.8.7.p72-7.3.i586 (1/2), 955.0 KiB (2.8 MiB unpac ked) Retrieving: ruby-devel-1.8.7.p72-7.3.i586.rpm [done (0 B/s)] Installing: ruby-devel-1.8.7.p72-7.3

SUSE

commands : 1. To run Yast on Suse >sudo /sbin/yast Yast : 2.Shortcut to run any application >Press ALT and F2 3.Install Clam: Clam AntiVirus is an open source (GPL) anti-virus toolkit for UNIX, designed especially for e-mail scanning on mail gateways. It provides a number of utilities including a flexible and scalable multi-threaded daemon, a command line scanner and advanced tool for automatic database updates. The core of the package is an anti-virus engine available in a form of shared library. >sudo zypper install clamav