Check These Out
A commandline version of the notepad in a browser: http://www.commandlinefu.com/commands/view/12161/notepad-in-a-browser-type-this-in-the-url-bar
All credit to the origional author of this fantastic command, whos only failing as most of the comments pointed out was that it wasn't a command... well, now its a command. Send all upvotes to dtlp747.
Batch rename extension of all files in a folder, in the example from .txt to .md
mmv most likely must be installed, but is very powerfull when you want to move/copy/append/link multiple files by wildcard patterns.
Allow to launch nc like a daemon, in background until you still stop it.
You can stop it with kill %1 (jobs method) or kill PID.
The -k option can force nc to listen another connection, but if you use redirection, it will work only one time.
The loop's inside doesn't do anything, but we can imagine to send a message to screen when a connection is established
Suppose you made a backup of your hard disk with dd:
dd if=/dev/sda of=/mnt/disk/backup.img
This command enables you to mount a partition from inside this image, so you can access your files directly.
Substitute PARTITION=1 with the number of the partition you want to mount (returned from sfdisk -d yourfile.img).
Replace the with your URL, for example http://rublacklist.net/12348/ and it will show likes number
In this case searches for where .desktop files are stored. The resulted is a sorted list of the top directories containing such files.
Create a exact mirror of the local folder "/root/files", on remote server 'remote_server' using SSH command (listening on port 22)
(all files & folders on destination server/folder will be deleted)
Can be used for other commands as well, replace rm with ls.
It is easy to make this shorter but if the filenames involved have spaces, you will need to do use find's "-print0" option in conjunction with xargs's "-0" option. Otherwise the shell that xargs uses to execute the "rm" command line will treat the space as a token separator, thereby treating the name as two (or more) names.