Posts Tagged With: filler

top in Batch Mode

Tagged with: , , , , ,

Run top in batch mode


top -b -d 10 -n 3
No Comments »

Trasfer over the network

Tagged with: , , , , ,

Transfer stdin and stdout to and from machines over the network


ssh remote_machine 'cat - > file' < file
No Comments »

Use ffmpeg to create a screencast

Tagged with: , , , , ,

You can use this command to create a screencast using ffmpeg.


ffmpeg -f x11grab -s 800x600 -i :0.0 /tmp/screencast.mpg
No Comments »

Move files from Folder 2 Levels Deep

Tagged with: , , , , , , , ,

Use this command to move files from folders two level deep to the current folder…


mv */*.* .
1 Comment »

Post a new Task to Nexty

Tagged with: , , , , , , ,

This is the command used to post a new task to the nexty GTD tool.


curl --basic --user "binnyva:password" --cookie-jar /tmp/nexty-cookies.txt --data-ascii "task=`echo $@|tr ' ' '+'`&layout=cli" "http://nexty.org/tasks/add.php"
No Comments »

Show Packages from a Group

Tagged with: , , , , , ,

Show rpm packages of a group software


rpm -qg "System Environment/Daemons"
2 Comments »

Delete Leading Whitespace

Tagged with: , , , , ,

Delete leading whitespace (spaces/tabs/etc) from beginning of each line


ruby -pe 'gsub(/^\s+/, "")' < file.txt
1 Comment »

Double space a file using Ruby

Tagged with: , , , , , ,

Double space a file with Ruby using the command


ruby -pe 'puts' < file.txt
No Comments »

List Files Provided by Package

Tagged with: , , , , , ,

Show list of files provided by a rpm package installed


rpm -ql package_name
No Comments »

git push

Tagged with: , , , ,

Command to push the current repository in git to a online server


git push
No Comments »