Saturday 1 March 2014

Basic Unix Commands - Beginner's Helpdesk

Basic Unix Commands
Commands/Shortcuts and Tips after installing Ubuntu for the first time

This is something that i thought is good to share as i had these doubts when i first installed Ubuntu (to began learning UNIX). These will sure help you if you are a newbie to UNIX world and coming from a Windows environment.

1. Shortcut to Start Terminal
Ctrl+Alt+T

2. Command to get Updates and Upgrade your Ubuntu installation to latest packages
sudo apt-get update
sudo apt-get upgrade

3. How to enable mp3 and other restricted contents in Ubuntu?
A new comer to Ubuntu world will be amazed to know that it cannot play mp3 files by default due to licensing reasons. Now most of you who are fresh to ubuntu world if try to play mp3s below is a simple way-
  • Open Ubuntu Software Center
  • Search for rectricted extras
  • Select the option that has text related to - "Commonly used applications with restricted copyright (mp3, avi, mpeg, TrueType, Java, Flash, Codecs)"
  • Click Install

4. How to find the GUI list of Keyboard Shortcuts in Ubuntu (if you have installed it on Windows machine)?
Long press the Super Key (Window Key actually)

5. Shortcut to minimize the current window
Ctrl+Alt+Num0

6. Command to open any application from terminal (using its default program)
xdg-open program/file name
Eg: xdg-open beginningunix.pdf

7. Best Software in UNIX that supports PDF Highlighting
Okular - This is by far i know the best program in Linux that supports PDF Highlighting. However when i first installed i could not figure out how do i highlight the PDF so i needed to do a bit of search and the key to success is F6 key on the keyboard.
Cons: You need to select the option everytime you need to highlight the test. Also you cannot UNDO the highlighted text and you need to do a right click and delete to achieve this. And no color Options.

8. Setting default application for any file type in Ubuntu
This is similar to Windows but like that the Open With option is missing on Right Click so you have the only way to go to properties and then select the default application for any file type.
Something very simple but i still searched it. REALLY :P

No comments :

Post a Comment