{"id":414,"date":"2011-07-15T04:20:27","date_gmt":"2011-07-15T09:20:27","guid":{"rendered":"http:\/\/www.serverprontouniversity.com\/?p=414"},"modified":"2018-11-06T01:43:17","modified_gmt":"2018-11-06T06:43:17","slug":"10-things-you-didnt-know-you-could-do-in-ubuntu","status":"publish","type":"post","link":"https:\/\/www.serverpronto.com\/spu\/2011\/07\/10-things-you-didnt-know-you-could-do-in-ubuntu\/","title":{"rendered":"10 Things You Didn\u00e2\u20ac\u2122t Know You Could Do In Ubuntu"},"content":{"rendered":"<p>I found this well-matured article about Ubuntu possibilities. Good stuff, check it out:<\/p>\n<h2>10 Things You Didn\u00e2\u20ac\u2122t Know You Could Do In Ubuntu<\/h2>\n<p><strong>1. Create website links that automatically install software<\/strong><\/p>\n<p>Did you know that you can create a link that will automatically launch Ubuntu\u00e2\u20ac\u2122s package manager and install the software? This is very useful if you are helping someone install certain programs in Ubuntu. To create \u00e2\u20ac\u2122software install hyperlink\u00e2\u20ac\u009d just create a hyperlink but instead of pointing to the usual&nbsp;<em>HTTP:\/\/ <\/em>address, use<\/p>\n<p><em>apt:&lt; package name &gt;<\/em><\/p>\n<p>So if you are trying to install firefox, create a hyperlink and put&nbsp;<em>apt:firefox<\/em> in Hyperlink bar. This will create a hyperlink that will launch the package manager and install the package when clicked.<\/p>\n<p><strong>2. Do stuff without touching the mouse<\/strong><\/p>\n<p>If you know how to launch the \u00e2\u20ac\u02dcRun\u00e2\u20ac\u2122 dialog box in Windows, this certain command is also available in Ubuntu. Press&nbsp;<em>ALT+F2 <\/em>and the similar \u00e2\u20ac\u02dcRun\u00e2\u20ac\u2122 dialog box will appear, type in the command or the program name, let\u00e2\u20ac\u2122s say firefox, hit enter, and firefox will launch.<\/p>\n<p><strong>3. Instantly Search Google for Any Word or Phrase<\/strong><\/p>\n<p><em>Googlizer<\/em> is an app that you can install (this is available from the package manager) and use it to search Google for anything using the keywords directly from your file. An example is if you have a PDF file that contains the word \u00e2\u20ac\u02dclethargy\u00e2\u20ac\u2122, with Googlizer, all you need is to highlight the word and click Googlizer\u00e2\u20ac\u2122s icon to search the web.<\/p>\n<p><strong>4. Create a File Delete Command That Uses the Trash<\/strong><\/p>\n<p>If you are a frequent user of&nbsp;<em>rm<\/em> command, you can create a command that will move the file you wish to delete to the Trash directory, instead of completely deleting the file. To do this, just use the command alias and few tweaks with Linux files:<\/p>\n<p>&#8211; Open a terminal window, and type&nbsp;<em>gedit ~\/.bashrc<\/em><br \/>\n&#8211; Add this line after the last line of the file:<\/p>\n<p><em>alias trash=\u00e2\u20ac\u009dmv -t ~\/.local\/share\/Trash\/files \u00e2\u20ac\u201cbackup=t\u00e2\u20ac\u009d<\/em><\/p>\n<p>&#8211; Save and close.<\/p>\n<p>To use the command, you need to use the&nbsp;<em>trash<\/em> command instead of rm:<\/p>\n<p><em>trash mydoc.txt<\/em><\/p>\n<p><strong>5. Repair Windows from Within Ubuntu<\/strong><\/p>\n<p>You can mount your Windows partition inside your Ubuntu and do stuff with it. With the stuff I mean you can access your files in Windows partition, or you can also repair it within Ubuntu. To be able to repair a near-death Windows partition, unmount it and use the command ntfsfix:<\/p>\n<p><em>sudo ntfsfix \/dev\/sda1<\/em><\/p>\n<p>This is assuming that your Windows partition is \/dev\/sda1 and the filesystem used is NTFS.<\/p>\n<p><strong>6. Dump the Text on a Virtual Console to a File<\/strong><\/p>\n<p>Large files can be tiresome to read so you may want to filter the words that you need and dump into a new and smaller file. This can be done using this command:<\/p>\n<p><em>ls &gt; output.txt 2&gt;&amp;1<\/em><\/p>\n<p>The command will execute ls command, put the results into the output.txt file and display errors if there are any.<\/p>\n<p><strong>7. Instantly Hide a File or Folder<\/strong><\/p>\n<p>In Linux, any file that begins with a period (.) is considered as a hidden file. So if you want to hide a certain file from a younger sibling or parent, rename a file and put. at the beginning of the filename<\/p>\n<p><em>mv grades.txt .grades.txt<\/em> (use this command inside a terminal)<\/p>\n<p>Or if inside Nautilus, highlight the file, press F2, and rename the file.<\/p>\n<p><strong>8. Print at the Command Line<\/strong><\/p>\n<p>Did you know that you can print files from the command line? Try this command to print a file without the fancy format for fast printing:<\/p>\n<p><em>lp -o page-top=72 \/home\/myfile.txt<\/em><\/p>\n<p>This is a quick and dirty way of printing files since the formatting is disregarded, but very useful if you want to print something fast and easy.<\/p>\n<p><strong>9. Listen to MP3s when no GUI is running<\/strong><\/p>\n<p>If you need to work in your Ubuntu using text mode only and no GUI running, install&nbsp;<em>vlc<\/em> using the apt-get command and use it to play your MP3 music from the command line:<\/p>\n<p><em>vlc -I ncurses \/home\/*.mp3<\/em><\/p>\n<p>This will play all mp3 files in the \/home folder using the CLI mode of vlc.<\/p>\n<p><strong>10. Turn your desktop into your \/home folder<\/strong><\/p>\n<p>If you want to make your default Desktop directory into something else beside the typical \/home\/user\/Desktop location, you can do so by hitting Alt+F2 and type in&nbsp;<em>gconf-editor<\/em>. This will launch the gconf-editor app, put a check beside<em> \/apps\/nautilus\/preferences<\/em>, save and exit. The change will take after your next login.<\/p>\n<p>Thanks to Keir Thomas via PionyTux Weblog&nbsp;<a href=\"http:\/\/www.pinoytux.com\/\">http:\/\/www.pinoytux.com<\/a><\/p>\n<p><a href=\"https:\/\/www.serverpronto.com\">ServerPronto<\/a> offers the best affordable and secure hosting service in all dedicated server packages.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I found this well-matured article about Ubuntu possibilities. Good stuff, check it out: 10 Things You Didn\u00e2\u20ac\u2122t Know You Could Do In Ubuntu 1. Create website links that automatically install software Did you know that you can create a link that will automatically launch Ubuntu\u00e2\u20ac\u2122s package manager and install the software? This is very useful<\/p>\n","protected":false},"author":2,"featured_media":2653,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[64],"tags":[123,17,112,22,48,18],"class_list":["post-414","post","type-post","status-publish","format-standard","has-post-thumbnail","category-support-of-the-day","tag-cloud","tag-dedicated-server","tag-hosting","tag-server","tag-ubuntu","tag-web-hosting"],"_links":{"self":[{"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/posts\/414","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/comments?post=414"}],"version-history":[{"count":6,"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/posts\/414\/revisions"}],"predecessor-version":[{"id":3093,"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/posts\/414\/revisions\/3093"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/media\/2653"}],"wp:attachment":[{"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/media?parent=414"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/categories?post=414"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.serverpronto.com\/spu\/wp-json\/wp\/v2\/tags?post=414"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}