Additions:
Deletions:
Additions:
Deletions:
Date
date with optional + format
$ date +"%a %X"
this can be very useful in batch files
#!/bin/sh
file=$(date +%y%m%d).dat
tar cvzf $file.tgz $file
Additions:
date with optional + format
this can be very useful in batch files
#!/bin/sh
file=$(date +%y%m%d).dat
tar cvzf $file.tgz $file
Additions:
Deletions:
Additions:
Bash Shell Commands
Change Directory
Date
Word Count
GnuDiff
GnuOd
Deletions:
Additions:
Deletions:
Find (and ls (c)reated over a year ago)
$ find . -ctime +365 -exec ls -l {} \;
Find (and ls (a)ccessed over 10 mins ago)
$ find . -cmin +30 -exec ls -l {} \;
Find and Grep (Recursive grep)
$ find . -name "*.php" -exec grep -H user_ip {} \;
Additions:
Find (and ls (c)reated over a year ago)
$ find . -ctime +365 -exec ls -l {} \;
Find (and ls (a)ccessed over 10 mins ago)
$ find . -cmin +30 -exec ls -l {} \;
Additions:
Octal Hex Dump
Find and Grep (Recursive grep)
$ find . -name "*.php" -exec grep -H user_ip {} \;
Deletions:
Octal Dump
Additions:
Deletions:
CD
DATE
OD
WC
The oldest known version of this page was edited on
2005-11-23 12:29:18 by WikkaWiki (unregistered user)
Commands
CD
DATE
OD
WC
$ echo $(( $(wc -l < y.y) * 66))