In the case of upgrading, you have to know what type of memory installed in your machine. Capacity, Type, Speed etc. here you can see a simple trick to find all details of your memory.
Open a terminal and type the following
$ sudo dmidecode --type memory
You can see the output like this
# dmidecode 2.9
SMBIOS 2.4 present.
Handle 0x0017, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 8 GB
Error Information Handle: Not Provided
Number Of Devices: 4
Memory Device
Array Handle: 0x0017
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: DIMM
Set: None
Locator: J6H2
Bank Locator: CHAN A DIMM 1
Type: DDR2
Type Detail: Synchronous
Speed: 800 MHz (1.2 ns)
Manufacturer: 0x7F4F000000000000
Serial Number: 0x0007BF39
Asset Tag: Unknown
Part Number: 0x4A4D383030514C552D324720202020202020
SES, SEO, SEM, Linux and Microcontroller Help, News and Experience sharing Blog
"My PIC Microcontroller Articles are moved to http://picmicrochip.blogspot.com
Saturday, October 29, 2011
Thursday, October 27, 2011
Trash-cli : Manage Trash from Command line in Ubuntu Linux
By using a utility named trash-cli you can simply mange Trash from command line
The location of Trash folder in old GNOME version is (~/.Trash), in current versions it is in ~/.local/share/Trash. There is two sub folders named files and info. The files folder contains the files deleted and info directory consists of meta data for each deleted file.
First step, install trash-cli utility
$ sudo apt-get install trash-cli
It installs three commands,
1. list-trash to list down the files in trash
2. trash to move the file to trash
3. restore-trash to restore the file to original path
Usage:
$ trash love.txt ( move the file love.txt to trash folder)
$ list-trash (List the contents of Trash folder)
2011-10-27 22:46:28 /home/abc/love.txt
$ restore-trash love.txt (Restore the file love.txt)
0 2011-10-27 22:46:28 /home/abc/love.txt
What file to restore [0..0]: 0 (if there is more than one file list shows 1 2 3 etc)
Subscribe to:
Posts (Atom)