You can connect to a Windows 7 or any windows machine from your Linux Box (Ubuntu, Fedora etc.) with a built in RDP (Remote Desktop Protocol) server capability. One has to be running at least a Professional version (Ultimate and Media Center versions are fine too) of windows. Enable Remote desktop connection capability on...
In Ubuntu, all the commands that you type in Ubuntu gets stored in a file called .bash_history in your ~/home folder. You can manually edit it using any text editor of your choice to remove specific terminal commands. If you want to view or delete all the commands, try this: To view: Open a...
This post though created using Ubuntu, should be applicable to all *nix distros. If you install or compile a non-native linux application (third party app), there are times when the installation would not create a shortcut for itself in your start menu and you have to launch the application by going to its directory....
There are several ways command line as well as GUI based which one can use to modify a pdf file. Lets list out the command line approaches to extract a given number of pages from a pdf document, if you are dealing with a large document then the command line approaches are faster and...
Whether you use Ubuntu or Fedora or OpeBSD or whatever *nix, this simple procedure should always work. type ctrl+r from within the terminal (This activates reverse mode). Now simply type the first few letters of the command you want to recall or search for.
I have earlier discussed how to make a video from series of images on a Windows box. Doing it on a linux machine is even simpler. I am assuming that you have the images that you intend to use in a series of continuous numbers, e.g. Image001.jpg to Imagexyz.jpg, there shouldn’t be any break...
If you need to find out the type of RAM and it’s speed or the number of slots available in your computer without having to open the case. Then you can do so in linux machines (Ubuntu 9.10 or Fedora 12 etc) by using the following command: sudo dmidecode --type 17 It would generate...
This command should work on all versions of linux, be it Ubuntu or Fedora or Suse. uname -r
These common terminal hacks should work in any version of linux, by terminal hacks I mean setting up some quick aliases to commands which you use frequently. For this you need to edit your .bashrc file located in your home folder. Open the file using a text editor of your choice, e.g. gedit: gedit...
Emacs doesn’t load fortran mode (f90-mode) for files with .F90 extension. You can do it manually by M-x f90-mode i.e. Esc+x followed by f90-mode enter. If you want it to happen by default every time you open a .F90 file then add this line to your .emacs file which you can find in your...
1. Find size of a folder/directory: >> du -h (would list the size of present work directory in human readable format) 2. You find present work directory by: >> pwd 3. Create a symbolic link inside a folder >> ln -s target_name link_name Name of target file can be given using relative path.
Some useful linux commands and procedures to help you out with day to day work. 1. Looking under the hood ( how to generate Hardware profile for your system): Assuming that you are running either Ubuntu or Fedora, lets first install lshw
How to mount the LVM type partition/volume on linux: Step 1: Install lvm2 if not already installed, e.g. sudo apt-get install lvm2, or yum install lvm2 (as root) Step 2: Check your devices and partitions: (as root run > fdisk -l) Step 3: Activate the lvm partitions by running