• Zenity For Appindicators: Ubuntu Indicator For Commands Or Bash Scripts

    WebUpd8 reader Reda El Khattabi has created a small tool that makes it very easy to create an Ubuntu AppIndicator for Zenity, YAD (a Zenity fork with many improvements) or basically any bash script or command.Features:supports submenus and separatorsyo…

    continue reading »

     
     
  • GIMP And Inkscape Plugins To Publish Images To DeviantArt

    Martin Owens has announced the release of two plugin that allow you to publish your images to DeviantArt with a single click from GIMP or Inkscape:

    This is a BIG deal my friends and I’m very excited because not only do we have this functionality, b…

    continue reading »

     
     
  • Fetching Files with wget

    Perhaps your X server has crashed. Or you’re working on a shell script. Or you’re SSHed into a headless server. For one reason or another, if you need to fetch a file and a web browser’s not an option, you might want to look into wget. If you’ve used the Linux shell much and worked [...]

    Fetching Files with wget originally published on Make Tech Easier (RSS)
    Follow us at Facebook | Twitter

    continue reading »

     
     
  • Collection of 18 Popular APT & DPKG Tips for Debian and Ubuntu

    This is a guide containing the most popular and useful ways of using the APT and DPKG commands, and it applies to both Ubuntu and Debian (and their derivatives). I mentioned where super user privileges are required, the ones without a mention can be ex…

    continue reading »

     
     
  • Guide to Using Finch – Terminal-Based Chat Client

    Finch is a TUI (text user interface) IM client for Linux which uses libpurple, the same library on which the GNOME IM client Pidgin is based on. Usually, if you have Pidgin installed, you should have Finch too, unless Pidgin was compiled with the text …

    continue reading »

     
     
  • How To disable root access via SSH

    If you are planning to deploy openssh on any server, you must secure it from hackers. There are several programs on internet which can launch a brute force attack against your ssh server.

    continue reading »

     
     
  • 10 Useful Linux Commands

    Here’s a list of 10 commands which may come handy when using the command line in Linux: Search for all files modified in the last N days containing a specific text in their name find DIR -mtime -N -name "*TEXT*" [...]

    continue reading »

     
     
  • Post to Twitter from Command-Line

    Ever wondered how to tweet from your BASH prompt? No? Well, now you can even though you never thought about it!

    continue reading »

     
     
  • Some wget tricks

    The wget is a command line utility that can download files from web servers and FTP servers.
    For example , you can download the DVD image of Karmic Koala using the following command.

    $ wget http://cdimage.ubuntu.com/releases/9.10/release/ubuntu-9.10-dvd-i386.iso

    If an FTP server requires a login and password, you can enter that information on
    the wget command line in the following form.

    $ wget ftp://user:password@ftp.example.com/path/to/file

    You can use wget to download a single web page as follows:

    $ wget http://unixlab.blogspot.com

    A file named index.html will be created in your current directory

    If you open this index.html in a web browser , you will find some of the links broken especially images. . To download all the images and other elements required to render the page properly, -p option can be used.

    $ wget -p http://unixlab.blogspot.com

    This will create a folder named unixlab.blogspot.com with index.html in it.

    But if you open the resulting index.html in your browser, chances are you will still
    have all the broken links even though all the images were downloaded. That’s because
    the links need to be translated to point to your local files. So instead, do this:

    $ wget -pk http://unixlab.blogspot.com

    Sometimes an HTML file you download does not have an.html extension, but ends
    in .php or .cgi instead. . If you wget files from such a site , your browser will complain when you try to open the file. To solve the problem , you can ask wget to append .html to such files using the -E option:

    $ wget -E http://unixlab.blogspot.com

    I use the following command line to keep a usable copy of the website on my hard disk.

    $ wget -mEkK http://unixlab.blogspot.com

    continue reading »

     
     
  • Enhancing terminals with byobu on Ubuntu 9.10

    Byobu is a Japanese term for decorative screens . A Japanese byobu screen looks as below.

    You can achieve similar decorative effects on your gnome terminal or xterm , or Konsole with Byobu software available from ubuntu launchpad. Infact, the new ubuntu 9.10 ships it by default. On earlier versions of ubuntu you can install byobu from the PPA here.

    On my jaunty box , I added the following to /etc/sources.list and imported the key form the PPA and installed it via apt,

    For trying out byobu , open a terminal and type

    $ byobu

    your terminal will immediately change to the following screen.

    The bottom line on the above picture indicates the present status of your system. It displays several useful parameters. Byobu can be customised to display several other informatiin.

    Infact ,byobu is an enhancement to GNU/Screen. So, all commands applicable to GNU/ screen will work with byobu. If you are not familiar with screen look at this page for some additional information

    Most of the settings of byobu are stored in a hidden directory named .byobu under your home folder. Most ot these settings can be modified from byobu itself. For customising byubu, press F9 . You will get the following screen.

    You can change the look and feel of your terminal as shown in the screen-shots below.

    For me the status notifications on the last line is very useful For adding additional parameters Press F9 and select status notifications , you will get the following screens. Choose whatever parameter you want to display as your default status line.

    To start byobu automatically when ever you launch a terminal on Karmic Koala desktop, select
    the last option as shown below. ( Be careful as screen sessions can become background processes. I suggest you GNU/screen documentation )

    and press enter.

    Now click on edit->> Profile Preferences-> Title and Command on your gnome-terminal and tick Run command as login shell.

    Byobu will be launched automatically next time when you start a terminal.

    continue reading »

     
     
 
 
Extra Tags