Burn an ISO images to CDR in Ubuntu
Answer:
Burn an ISO images to CDR in Ubuntu is as easy as the following command:
# sudo cdrecord dev=/dev/scd0 driveropts=burnfree -v -data my_file.iso
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
Burn an ISO images to CDR in Ubuntu
Answer:
Burn an ISO images to CDR in Ubuntu is as easy as the following command:
# sudo cdrecord dev=/dev/scd0 driveropts=burnfree -v -data my_file.iso
Move a long running job to background
Answer:
Assume you have a job running for a very long time, and you might want it to run in background, even you have logged out from the SSH session.
1. Suspend it
# [Ctrl-Z]
2. Make it run in background
# bg && disown
You can now safely logout from the SSH session.
Find all files on a system larger than X MB
Answer:
To find all files on a system larger than X MB, is easy with the find command
# find / -type f -size +100M
All files larger than 100M will be returned.
Can I use gunzip to decompress a zip file?
Answer:
Yes, if the zipped file only contains a single member of file, not multiple.
E.g.
# gunzip < test.zip > test.txt
Kill all processes accessing the a particular file/folder
Answer:
To kill all processes accessing the a particular file/folder, you can use the follow command:
# /sbin/fuser -k /data/backup
It is very useful when you want to unmount a filesystem but Linux reported the device is busy.