Showing posts with label DUMMY. Show all posts
Showing posts with label DUMMY. Show all posts

10 Essential UNIX/Linux Command Cheat Sheets


Linux has become so idiot proof nowadays that there is less and less need to use the command line. However, the commands and shell scripts have remained powerful for advanced users to utilize to help them do complicated tasks quickly and efficiently.

To those of you who are aspiring to become a UNIX/Linux guru, you have to know loads of commands and learn how to effectively use them. But there is really no need to memorize everything since there are plenty of cheat sheets available on the web and on books. To spare you from the hassles of searching, I have here a collection of 10 essential UNIX/Linux cheat sheets that can greatly help you on your quest for mastery:


UNIX Tutorial for Beginners
This is a quick and easy UNIX/Linux tutorial page that is aimed at beginners. It gives a subtle introduction to some of the most important UNIX/Linux commands.



Learning the Shell
Aside from showing you how to apply the most basic UNIX/Linux commands, “Learning the Shell’ will teach you the utmost importance of using the command line.



Learn UNIX in 10 Minutes
From the page: This is something that I had given out to students (CAD user training) in years past. The purpose was to have on one page the basics commands for getting started using the UNIX shell (so that they didn't call me asking what to do the first time someone gave them a tape).



FOSSwire Unix/Linux Command Cheat Sheet
A one page UNIX/Linux command reference that you can download in PDF format. You can easily print it, and then paste it on your wall.

UNIX Toolbox
From the page: This document is a collection of Unix/Linux/BSD commands and tasks which are useful for IT work or for advanced users. This is a practical guide with concise explanations; however the reader is supposed to know what s/he is doing.


Practical Linux Command Line Reference
This is another handy one-page cheat sheet for common command line operations. All of the commands have been tested on Fedora and Ubuntu.


How to Look Like a UNIX Guru
From the page: This lecture takes you through the basic commands and then shows you how to combine them in simple patterns or idioms to provide sophisticated functionality like histogramming. This lecture assumes you know what a shell is and that you have some basic familiarity with UNIX.



A Directory of Linux Commands (in alphabetical order)
From the O'reilly book “Linux in a Nutshell, 5th Edition”, it features an alphabetical list of 687 commands and a short description on each one of them.

Linux Security Quick Reference Guide
This quick reference guide (in PDF) will serve as your aid on improving the security of your Linux system. It provides some pointers to more in-depth security information that could help you become a good UNIX/Linux system administrator.


Bash Programming Cheat Sheet
From the page: A quick cheat sheet for programmers who want to do shell scripting. This is not intended to teach programming, etc. but it is intended for someone who knows one programming language to begin learning about bash scripting.



Through comments, feel free to share some links to other essential UNIX/Linux cheat sheets that I failed to include here.

How to Improve/Enhance HTML Rendering in Firefox


I have to admit this. I have become a font fetish. I am obsessed on making my desktop's font perfect. I also make sure that my web browser rendered fonts and images on webpages correctly. I don't really care about these things before, but I don't know what happened to me now.

Anyway, I already wrote about improving the font in Xubuntu's desktop. This time, let me show you how to enhance HTML rendering in Firefox on Xubuntu. The hack is actually very simple and easy to do. No need to install additional packages, edit configuration file, or resort to using the command line. Before I'll go on with the steps, you might want to look at how the image and font were rendered before the tweak.

Image (before):
Notice the "top right" (white) portion of the search box. If you look closely, you can see that it is a little bit uneven. You may say that it is not really that noticeable, but in other websites, the image rendering could be worse.


Font (before):
This is an example of the default font.


Now, try this tweak and notice the difference:

1. Open Firefox.
2. From the top Menu, click 'Edit', and then 'Preferences'.
3. Inside 'Firefox Preferences', change the Default font to: Verdana, and the Size to: 14.
4. Click the Advanced button.
5. Inside ‘Fonts’, uncheck "Allow pages to choose their own fonts..."
6. Click on OK, and then close ‘Firefox Preferences’. You are done.

The after effect:

Image (after):
The "top right" portion is now even.


Font (after):
The Verdana font (below) is definitely a lot clearer to read compared to the default font shown above.


This simple trick may not work for all, but there’s really no harm in trying.

How to Install Adobe Photoshop on Ubuntu Linux

I'm sure some of you would love to install and use Photoshop on your Linux box. So while I prefer using GIMP, I will still show you how to install Adobe Photoshop inside Linux with the help of Wine (not the alcoholic drink) just in case your photo shop classes or jobs require you to setup and use it. On this tutorial, I'm using Ubuntu 9.10 "Karmic Koala" and Photoshop CS4.

Now let's get started and install Adobe Photoshop on Ubuntu Linux:

* Downloading and Installing Wine

The first thing that you should do is to install Wine. Using the Linux terminal, add the WineHQ APT repository with this command:

sudo add-apt-repository ppa:ubuntu-wine/ppa


To download and install Wine on Ubuntu, just click HERE.

A pop-up will appear, just click "OK".

After installing Wine, you will have to download and install a few more packages. One of which is winetricks.

winetricks is a simple script to download and install various redistributable runtime libraries sometimes needed to run programs in Wine.

To get winetricks and the other needed packages, just copy and paste this command:

wget http://www.kegel.com/wine/winetricks


Now install them:

sh winetricks msxml6 gdiplus gecko vcrun2005


You should also install Microsoft TTF fonts:

sudo apt-get install msttcorefonts


Before we will install Photoshop CS4, we will have to download a .dll file. Get atmlib.dll from HERE.

Extract the zip file and copy atmlib.dll to c:/windows/system32. To do this, go to Applications menu -->Wine -->Browse C:\ Drive, then navigate to windows -->system32 and paste atmlib.dll there. After that go to Applications menu --> Wine --> Configure Wine. Inside the Libraries tab, add atmlib.dll and click on "Apply."



* Installing Photoshop CS4 on Ubuntu

You can now run the Photoshop CS4 installer via Wine with this command:

LANG=C wine Setup.exe


Note: you may need to add the path to your installer

Just install Photoshop the way you do it on Windows and you are done.


* Running Photoshop CS4 on Ubuntu


You can now start using Photoshop by going to Applications -->Wine -->Programs, and then selecting Photoshop CS4. Have fun, but don't forget to try GIMP :-)
 

Tech Source Copyright © 2011 -- Powered by Blogger