Archive for the ‘GNU/Linux’ Category

  • Using Numbers with Commands in vi Editor

    Using Numbers with Commands in vi Editor
    Vi is one of the most powerful text editors available to the programmer today. It comes with a number of features and is highly flexible. This is what makes it such a powerful programming tool. vi comes installed by default on a number of Linux distributions. If you are [...]

  • Playing Music in Linux Using Rhythmbox

    Playing Music in Linux Using Rhythmbox
    Rhythmbox is an application for managing and playing music files in Linux. Rhythmbox allows you to import music files, sort them by album, artist, title or some other variable. You can also play Internet radio using Rhythmbox.
    When you launch Rhythmbox, you will see a setup wizard. Using the wizard, you [...]

  • Deleting User Accounts With userdel in Linux

    Deleting User Accounts With userdel in Linux
    The userdel command takes a single argument, which is the login name of the account to delete. If you supply the optional -r option, it also deletes the user’s home directory and all the files in it. To delete the user account with login name mary, you would type [...]

  • Removing temp files using tmpwatch

    Removing temp files using tmpwatch
    In Linux, directories storing temporary files used by applications can consume lots of disk space over time. These directories are usually /tmp and /var/tmp. To deal with this problem, most Linux distros come with a tool called tmpwatch. The tmpwatch command runs the cron file /etc/cron.daily/tmpwatch to delete unused temporary files.
    Here [...]

  • Changing your boot loader in Linux

    Changing your boot loader in Linux
    GRUB and LILO are the most popular boot loaders in Linux. Most distributions use GRUB by default. It is not hard to change to a different boot loader. To switch your boot loader from GRUB to LILO, do the following:
    1) Configure the /etc/lilo.conf file. Example:
    boot = /dev/hda
    message = /boot/message
    prompt
    timeout = [...]

  • Xine Player for Linux

    Xine Player for Linux
    Xine is a free multimedia player. It plays back CDs, DVDs, and VCDs. It also decodes multimedia files like AVI, MOV, WMV, and MP3 from local disk drives, and displays multimedia streamed over the Internet.
    At the base of the software is the xine-lib core engine. While Xine has its own xlib-based user [...]

  • Package Repositories in Ubuntu

    Package Repositories in Ubuntu
    Software repositories contain packages which you can install on your computer using the Internet. Packages i.e. precompiled executables can come from a variety of locations.
    Ubuntu maintains four main repository types (called components) where most software can be retrieved.
    main-This component contains all officially supported open source projects without restrictive licensing. Gnome, GDM, and [...]

  • Tools in SELinux

    Tools in SELinux
    Tools available in SELinux let you work with and change policy settings in SELinux. Tools include the following:
    - system-config-securitylevel: Graphical interface for modifying SELinux settings. This is the best interface for casual SELinux administrators.
    - seinfo: Prints policy statistics for the policy that is currently active.
    - sepcut: Graphical policy customization tool, for easily accessing [...]

  • Troubleshooting your CD-ROM in Linux

    Troubleshooting your CD-ROM in Linux
    If you are unable to play CDs on your CD-ROM drive in Linux, here are a few things you can try to make it work:
    - Verify that your sound card is installed and working properly.
    - Verify that the CD-ROM drive was detected when you booted Linux. If your CD-ROM drive is [...]

  • How to remove unwanted files in Linux

    How to remove unwanted files in Linux
    - Download the program “kleansweep”. You could also use a package manager such as Synaptic or Adept Manager if your distribution has it in its repositories. It’s a KDE application, so you’ll probably have to install some dependencies if you use a different desktop environment. A package manager will [...]