You have an iso image and you want to boot from it without restarting the system, simply use qemu virtual machine as below (-m 512 says qemu will be use 512 Mb of RAM from system):
qemu -boot d -cdrom emu -m 512 -cdrom customcd.iso
qemu is slow when its compared with vmware or similar products, but it is easy to use and small, just use apt and it is ready in a few seconds later.
- 0 Comment
- Murat Demirten
- over 2 years ago
It is good to learn all the ip addresses which holds N+ tcp connection to your server. For example, if we want to list ip addresses and connection counts of hosts which has 25+ connection right now:
netstat -n --tcp --udp --numeric-hosts | \
grep -v 127.0.0.1 | \
awk '{if (/(tcp|udp)/) { print $5 }}' | \
sed 's/:.*//' | \
sort | \
uniq -c | \
sort -n | \
awk '{if ($1 > 25) {print "Count: "$1"\t"$2; }}'
and here is an example output:
Count: 26 92.80.103.61
Count: 27 77.246.104.149
Count: 35 88.232.169.103
Count: 44 88.226.7.150
If we want to list only the ip addresses, not the counter, change the last line as below:
awk '{if ($1 > 25) {print $2; }}'
- 0 Comment
- Murat Demirten
- over 2 years ago
You can use -h parameter to make df's output human readable as: df -h
-h parameter also can be used with ls to make ls' outputs human readable:
ls -h
- 0 Comment
- Murat Demirten
- over 2 years ago
To make a backup of your Master Boot Record, dd command helps us. For example, taking MBR backup of /dev/sda disc: dd if=/dev/sda of=/tmp/mbr.img bs=512 count=1
- 0 Comment
- Murat Demirten
- over 2 years ago
USERBOX
CATEGORIES
MOST READ TODAY
- Enabling remote desktop on a VirtualBox Machine
- Syntax highlighting in less
- Redirecting tcp / udp ports with socat
- XFS Filesystem has duplicate UUID problem
- Passwordless sudo setup
- Disabling reverse dns lookups in ssh
- dropbear rsa key problem
- Multi-conditional search and replace (clearing a ftp trojan script example)
- Deleting A File By It's Inode Value
- Routing packets back from incoming interface
LAST ADDED
- Using iPhone internet sharing over bluetooth under Linux
- Using USB sound card with amarok
- Multi-conditional search and replace (clearing a ftp trojan script example)
- Disabling ipv6 functionality
- How to convert a mp3 file
- How to choose the fastest Debian mirror
- Disabling reverse dns lookups in ssh
- Rewriting destination ip address
- Deleting A File By It's Inode Value
- Learning which libraries are used for a binary
