Your Ad Here

Showing posts with label Terminal. Show all posts
Showing posts with label Terminal. Show all posts

Saturday, February 20, 2010

Download Video Youtube From Terminal



      If you've seen a video film, music or cartoon of one of the largest video site in the world of YOUTUBE maybe one day you want to download and view videos offline.
     For those windows users accustomed to using orbit downloader application to download video files, for ubuntu users do not worry because the ubuntu repositories package already there that can be used to download video files from youtube, the package is youtube-dl, for the first install package using the following command:

$ sudo apt-get install youtube-dl


Once installed you can immediately download the video you want to type the following command:


$ youtube-dl link to the video that you download


Example:


$ youtube-dl http://www.youtube.com/watch?v=MmNzxFsNlNE





Thank's
By:Mr.Gm

Read rest of entry

DOWNLOAD VIDEO YOUTUBE DARI TERMINAL



Jika anda sering melihat video film ,music atau kartun dari salah satu situs video terbesar di dunia yaitu YOUTUBE mungkin suatu ketika anda ingin untuk mendownload video tersebut dan melihatnya secara offline.

Bagi pengguna windows mereka biasa menggunakan aplikasi orbit downloader untuk mendownload file video tersebut,bagi pengguna ubuntu jangan khawatir karana di repository ubuntu sudah terdapat package yang dapat di gunakan untuk mendownload file video dari youtube ,package tersebut adalah youtube-dl ,untuk itu install terlebih dahulu package tersebut dengan menggunakan perintah di bawa ini :


$ sudo apt-get install youtube-dl


Setelah Terinstall anda dapat langsung mendownload video yang anda inginkan dengan mengetikan perintah dibawah ini :


$ youtube-dl link video yang ingin kau download


Contoh :


$ youtube-dl http://www.youtube.com/watch?v=MmNzxFsNlNE






Thank's
By:Mr.Gm



Read rest of entry

Monday, September 7, 2009

Debian / Ubuntu Cheat-Sheet

           lists typical commands that are commonly used day-to-day in Ubuntu, along with popular command options. It’s only a brief list, and emphasis is placed on file manipulation commands.
Useful day‐to‐day commands.

Command Description

ls List files and folders.
Typical example: ls ‐l

‐l : Long listing (show permissions, ownerships etc.)
‐a : Show all files, including hidden files
‐h : Show KB, MB etc., rather than bytes

cd Change folder
Type cd .. to change to parent folder.
Typical example: cd Documents

cp Copy file or folder
first specify file (and path if necessary),then specify destination.Typical example: 
cp myfile.doc Desktop/
‐r : Copy folders too, including contents (otherwise
folders will be ignored)

mv Move file or folder
can also be used to rename files/folders if a new destination isn’t specified. Note that, unlike cp, it is not necessary to specify the ‐r option in order to move folders.

Typical example: (moving): mv myfile.doc Desktop/
Typical example: (renaming): mv old.doc new.doc

rm Delete file(s) or folder(s)
multiple files/folders can be specified.

Typical example: rm –rf myfolder

‐r : Delete folder; must be used if a folder is to be deleted
‐f : Force deletion; don’t prompt user for confirmation
when deleting (useful when deleting lots of folders, but must be used with care)
ln Create a link to a file (similar to a shortcut under Windows)
first specify the file (including path if necessary), and then the location where the link should be created. A different filename may be specified for the new link.

Typical example: ln –s myfile.doc ~/Desktop/

‐s : Create symbolic link, rather than hard link. In nearly all situations, a symbolic link is preferable, making this practically a prerequisite command option less Open specified plain text file in a viewer (use cursor keys to scroll; hit Q to quit). Useful for viewing configuration files.

Typical example: less myfile.txt

df Show amount of free disk space on all attached filesystems.

Typical example: df –h
‐h : Show KB, MB, GB etc. rather than bytes

free Show amount of free memory.

Typical example: free –mt
‐m : Show output in megabytes, rather than kilobytes
‐g : Show output in gigabytes
‐t : Show totals column

grep Search through specified file for a word or phrase. First,specify the phrase, and then the file to be searched through.

Typical example: grep –i wireless myfile.txt

‐i : Ignore upper/lowercase when searching

man View the manual (man) page for specified command. A man page is built-in technical documentation—see Appendix B.

Typical example: man ls

nano Simple text editor that’s ideal for creating, editing or viewing files (particularly configuration files); hit Ctrl+J to re-justify current line should you create a line-break during editing.

Typical example: sudo nano /etc/fstab
umount Unmount attached storage device. Not a typo! The command is umount and not unmount. Needs root powers. Specify the mount point.

Typical example: sudo umount /media/cdrom

locate Find specified file
relies on a background database that is periodically and automatically updated. The database can be manually updated by typing the sudo updatedb command.

Typical example: locate filename.doc
‐i : Ignore upper/lowercase when searching
Thank's
By:Mr.Gm
Read rest of entry

Monday, August 24, 2009

Avoid programs quitting when the terminal is closed

        You might have noticed that, whenever you run a program from a terminal window, it quits when the terminal window is closed (there are some exceptions to this, such as the Firefox web browser, but it’s generally the case). There are a handful of ways around this. Perhaps the easiest is to precede the command with nohup. For example, to run Gedit, you might type nohup gedit. Try this now. Then close the terminal window and see what happens (or, actually, what doesn’t happen). 
         The reason Gedit doesn’t quit is that nohup tells the new program to ignore any future “hangup signals”, which is to say, Gedit is told ignore requests to terminate that are sent to it when the terminal quits.
Thank's
By:Mr.Gm
Read rest of entry

Monday, July 27, 2009

Make the GNOME Terminal window translucent and use a wallpaper

       This tip gives GNOME Terminal windows an impressive graphical look and feel. Once made translucent, you’ll be able to “see-through” GNOME Terminal windows to the desktop below. This is mostly useless but looks great.

       Start GNOME Terminal and click Edit > Current Profile. Then click the Effects tab and select the Transparent background radio button. The changes will take effect immediately. You might want to click and drag the slider more toward Maximum, to increase the opacity fromthe default setting because it leaves a distracting amount of the background visible. if u want use a background wallpaper from your drive Folder select background radio button and chose the wallpaper from your folder .





Thank'u
By:Mr.Gm

Read rest of entry

Create a file delete command that uses the trash

       As we know, the rm command doesn’t have a trash facility. Once files are deleted, they’re gone forever. However, you can create your own trash command which, when used at the prompt, will move files and/or folders to Ubuntu’s standard trash folder. The files can then be recovered, if desired, or permanently deleted in the usual way by emptying the Trash folder.

To add the new command, you’ll have to create an alias. you’ll need to edit the .bashrc file in your /home folder and add a line to the bottom, as follows:
1. Open a terminal window and type gedit  ~/.bashrc.
2. At the bottom of the file, add the following new line:
alias trash="mv -t ~/.local/share/Trash/files --backup=t" 

    Save the file, close Gedit, and open a new terminal window to test your new command. To delete filename.doc, for example, you would type trash filename.doc. The new command will work on folders too, and multiple files/folders can be specified one after the other (for example, trash filename1.doc filename2.doc).



Thank'u
By:Mr.Gm
Read rest of entry
 

My Room Temperature

My Pressure

My Humidity