Find out physcial memory size in Linux
Answer:
Type of following command in shell
# grep MemTotal /proc/meminfo
MemTotal: 1058116 kB
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
Find out physcial memory size in Linux
Answer:
Type of following command in shell
# grep MemTotal /proc/meminfo
MemTotal: 1058116 kB
How to remove BOM from UTF-8 using sed?
Answer:
# sed -e '1s/^\xef\xbb\xbf//' text.txt
“Device is busy” when umounting
Answer:
Sometimes when you want to unmount a filesystem, error of "Device is busy" will appear.
To solve this:
1. Find out who is using the mount point
# fuser /mnt/cdrom
2. Force to kill it
# fuser -k /mnt/cdrom
How to mount an ISO file in Linux
Answer:
1. Create the mount point
# mkdir -p /mnt/mdf
2. Mount the mdf file using the mount command
# mount -o loop -t iso9660 dvd.mdf /mnt/mdf