Send One Line From a Text File as as SMS Every 10 Mins
This command will send a line from a given text file one every 10 mins as an SMS to a given number.
Install Package List
Install a list of packages from a text file. cat packages.txt | xargs apt-get install
Move files from Folder 2 Levels Deep
Use this command to move files from folders two level deep to the current folder… mv */*.* .
Locate Files With Names Matching A Regexp
You can use locate to find files with name that matches a said regexp… locate -i -r ‘\.jpg$’
Double space a file using Ruby
Double space a file with Ruby using the command ruby -pe ‘puts’ < file.txt
List Files Provided by Package
Show list of files provided by a rpm package installed rpm -ql package_name
First show system events. Second command show events inherent to the process of booting kernel. tail /var/log/messages tail /var/log/dmesg
Use DD to Create File of any Size
Use the DD command to create a 10 MB (10*1024*1024=10485760 bytes) size file named testfile_10MB dd if=/dev/zero of=testfile_10MB bs=10485760 count=1…