Posts marked with "Terminal" in tags

Revert back to normal resolution after running a fullscreen app in Wine

While running a fullscreen app in Wine such as games, you might not get the screen resolution back after you close the app. It’s because Linux won’t automatically change it’s resolution like Windows. But you could if you run a simple file in terminal. Here is how you could do it. Create a file named in your Desktop with the following contents: #!/bin/bash xrandr -s 0 Save it on a place where you can open it easily.... [READ MORE]

How To Log Out Using Terminal in Ubuntu Linux

There is no specific command to logout in an Ubuntu system. Why ? Here’s how it works. The desktop you’re seeing is a separate software. They are called Desktop Environments (DE). The default DE of Ubuntu is Unity from Ubuntu’s 11.04 versions. Before it was GNOME. There are many DEs for Ubuntu. Some of them are : Openbox XFCE LXDE and many more.. There are also separate Login Managers to provide the login screen while Ubuntu is loaded.... [READ MORE]

How to edit/clear Ubuntu Terminal commands history ?

This simple trick will help you to clear or edit terminal commands you entered in Terminal of Ubuntu. Open the file /home/user/.bash_history (Replace red text with your username. To make it simple Go to your home folder and Press CTRL + H. It will show hidden files. search for the file .bash_history Edit the file. You can see all the commands you entered in Terminal. Remove what you don’t want and save.... [READ MORE]

Updating site in App Fog on Linux / Uploading site files to App Fog Server

You might have know what is App Fog in my previous post. In this tutorial I am going to tell you how to upload your site files to their servers. For that first install Ruby by using this command : sudo apt-get install ruby Then install Ruby Gem : sudo apt-get install gem AppFog uses a gem named AF. Install the AF gem by using the command : sudo gem install af Wait some time.... [READ MORE]

How to increase your apt cache limit

Increase value APT::Cache-Limit When the time I try to install backtrack unfortunately i got message error in the terminal : Reading package lists… Error! E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 25165824. (man 5 apt.conf) E: Error occurred while processing riece (NewVersion1) E: Problem with MergeList /var/lib/apt/lists/archive.offensive-security.com_dists_pwnsauce_universe_binary-i386_Packages W: Unable to munmap E: The package lists or status file could not be parsed or opened.... [READ MORE]

phpMyAdmin – A software to manage MySql Database

If you want to manage your MySql table you can use a software called phpMyAdmin. You can install phpMyAdmin in any Operating Systems. This tutorial will help you to install phpMyAdmin in Linux. <h2 id="require" style="font-family: sans-serif; max-width: 70em;"> Requirements </h2> <ul style="font-family: sans-serif; margin: 1em; max-width: 70em;"> <li style="margin-top: 0.5em;"> <b>PHP</b> <ul style="margin: 1em 1em 0px; max-width: 70em;"> <li style="margin-top: 0.5em;"> You need PHP 5.2.0 or newer, with&nbsp;<tt>session</tt>&nbsp;support&nbsp;and the Standard PHP Library (SPL) extension.... [READ MORE]

How to take a screenshot in Ubuntu/Linux

You can take screenshots of your desktop in Linux. For taking screenshots you can use Take Screenshot application. Use shortcut keys To take a screenshot, use the following shortcut keys: Default Shortcut Keys <td width="50%"> <b>Function</b> </td> </tr> <tr valign="TOP"> <td width="50%"> Print Screen </td> <td width="50%"> Takes a screenshot of the entire screen. </td> </tr> <tr valign="TOP"> <td width="50%"> Alt+Print Screen </td> <td width="50%"> Takes a screenshot of the window which is active.... [READ MORE]

Know/Check Ram Type in Linux

If you want to know what type is your RAM. This command will help you in Linux. sudo dmidecode –type 17 Type your password and press Enter. The details of your ram will be shown. You can now see the DDR of your Ram as shown in the picture above. ... [READ MORE]



Mastodon  Twitter

GitHub GitLab


Demos  Lab


This blog was once on WordPress. Now a static site. See source code on