Showing posts with label terminal. Show all posts
Showing posts with label terminal. Show all posts

Wednesday, March 19, 2014

Listening to music via terminal

0 comments

Listening to music via terminal
We can listen to music in Terminal using Mplayer. For whom don't know what Mplayer is, it is an open source software for multimedia which can play a wide variety of media formats, it is multi-platform which means, this application works in Linux, and other Unix-like systems, Microsoft Windows and Mac OS X...

To listen to music in Terminal, you must have Mplayer installed on your machine. or install it by the following command.

For Ubuntu / Mint users :

sudo apt-get install mplayer

For Arch Linux users :

sudo pacman -S mplayer

Go to directory, you want to play music from, for me, it is "Music" :

cd Music

Then play, music you want :

mplayer loveme.mp3

If you to play all mp3 files on that directory :

mplayer *.mp3

If you want to play them all :

mplayer *

You can also play two pieces of music or more, depending on you :

mplayer loveme.mp3 && mplayer hateme.mp3



mplayer in terminal

     
Read more...

Monday, December 23, 2013

Terminal : keyboard Shortcuts

0 comments

Terminal : keyboard Shortcuts

Keyboard Shorcuts helps in writing codes easily and shorten time.
Some users, probably power users who loves doing some works via the Command Line, performing complicated tasks with just a few keystrokes.

Basic Keyboard Shortcuts

Up/Down Arrows = With those two keys, you can move between your last commands.
Ctrl+Left/Ctrl+Right = Jumps between arguments (words) in your command
Ctrl + U = Clears all characters starting from the cursor position.
Ctrl + K = Clears all characters starting from the end of the command to the position of the cursor.
Ctrl + A = Moves you to the start of the command.
Ctrl + E = Moves you the the end of the command.
Ctrl + L = Clears the screen.
Ctrl + R = Lets you search your command history.
Ctrl + Shift + T = Opens new Tab.
Ctrl + Shift + N = Opens new Terminal.
Ctrl + P = Lets you Browse the command you executed before.
Ctrl+ O = Works as "Enter" button.
Ctrl + Shift + C = Lets you copy selected text.
Ctrl + Shift + V = Lets you paste.
Tab = This is the powerful shortcut, Everyone loves it. It completes paths and commands.

With Path :

cd ~/De 

after hitting Tab, It completes it.

cd ~/Desktop

With command :

nan

after hitting Tab, It completes it.

nano 

What if there are resemblance between names ?

We take for example folder "De" and "Desktop"

we typed "De" and hitting Tab for auto-completion. It makes an output : "De", "Desktop", we have then to add another caracther to make it different.

cd ~/Des

     
Read more...

Thursday, November 14, 2013

Powerful linux terminal emulators

0 comments

Powerful linux terminal emulators

even though Linux Commands isn’t necessary to use in modern desktop Linux distributions, but it is still being used often, with Linux commands or text-based applications you can perform a specific tasks in short amount of time using a terminal, unlike with graphic apps.
Of course because of various tasks that can be performed by text-based applications there are lot of Linux terminal emulators to chose from . here is a list of the most popular and powerful Linux terminal emulators.

Terminator

Terminator
Terminator
Terminator is considered the best Linux terminal by many user including me. It has a lot of and nice features, it gives the ability to split into small parts inside the main window, drag and drop re-ordering of terminals…
This application is written in Python, and it will work on any other platform with Java.
It means Terminator can be used in Mac Os X, Windows as well, but a little slower .

Gnome terminal

Gnome terminal
Gnome terminal
It is very used and popular since it is Terminal emulator for the gnome desktop environment, and lot of distributions have it in their desktops such as Ubuntu, Mint, Ferdora …

LXterminal

LXterminal
LXterminal
LXterminal is fast, lightweight, flexible and able to run in all desktop environments.
It is based on Lxde, and compatible with other desktop environments that’s why we see it in many distributions such as Bodhi, ArchBang,Manjaro …

Guake and Yakuake

Yakuake
Yakuake
guake
guake
Guake is used in Gnome environment while Yakuake is used in Kde environment. both adopt the style of the Quake video game, these terminals show up and hide up when using quick keystroke (f12 by default).they are perfect for when you need a terminal quickly to just run a few Linux commands.

Tilda

Tilda
Tilda
Tilda has the similar style as Guake and Yakuake, it will slide down when you hit some hot key ( F1 by default) but you have more configuration options in Tilda than in Guake and Yakuake. With Tilda you can chose where to put it (position) and you can also edit the size of the terminal window and use some animation effects on Tilda, but, you can’t drag it around on the desktop screen like with other terminals.


     
Read more...