Record audio to MP3 stream and video to MPEG-4 stream from webcam to AVI file using mencoder. Gives floating point exception in some mencoder versions.
View webcam output using mplayer, with correct fps and outfmt settings according to my webcam model.
Record from a webcam, audio using ALSA encoded as MP3, video as MPEG-4.
Remove everything in current directory except files starting with "ca".
Extracts an MP3 encoded audio stream from an input video file.
Creates a new video file with video stream copied from input file and a different audio stream
Remove sound from input video file, output video stream is copied from input video stream, with no audio.
Fixes the faulty files with perl, which may exist on more platforms
This command creates tar zip of a directory and its sub-directories. Show Sample Output
AFAIR this is the wording ;)
Same thing, only "head" instead of grep/egrep.. Show Sample Output
Useful for backing up old files, custom logs, etc. via a cronjob. Show Sample Output
According to tune2fs manual, reserved blocks are designed to keep your system from failing when you run out of space. Its reserves space for privileged processes such as daemons (like syslogd, for ex.) and other root level processes; also the reserved space can prevent the filesystem from fragmenting as it fills up. By default this is 5% regardless of the size of the partition. http://www.ducea.com/2008/03/04/ext3-reserved-blocks-percentage/
Works in all shells. Does not require a test. Handles like an assertion. Show Sample Output
i sorta stole this from http://www.shell-fu.org/lister.php?id=878#MTC_form but it didn't work, so here it is, fixed. --- updated to work with jpegs, and to use a fancy positive look behind assertion.
This never gets old Show Sample Output
another replacement for cat.
Also searches for aliases and shell builtins Show Sample Output
commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.
Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.
» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10
Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):
Subscribe to the feed for: