17 private links
You want to use the -newermt
option for find
:
find /media/WD/backup/osool/olddata/ -newermt 20120101 -not -newermt 20130101
to get all the files with modification time in 2012.
fold is a filter which folds the contents of the specified files, or the standard input if no files are specified, breaking the lines to have a maximum of 80 display columns.
Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON. You get to work with your data using named fields, without needing to count positional column indices.
This is something the Unix toolkit always could have done, and arguably always should have done. It operates on key-value-pair data while the familiar Unix tools operate on integer-indexed fields: if the natural data structure for the latter is the array, then Miller’s natural data structure is the insertion-ordered hash map. This encompasses a variety of data formats, including but not limited to the familiar CSV, TSV, and JSON. (Miller can handle positionally-indexed data as a special case.)
sudo cp -rp /home/my_home /media/backup/my_home
From cp manpage:
-p same as --preserve=mode,ownership,timestamps
--preserve[=ATTR_LIST]
preserve the specified attributes (default: mode,ownership,timestamps),
if possible additional attributes: context, links, xattr, all
(A Net Ethology / A Troll's Confection)
When a person's sanity is at balance,
when human passion is raging,
no etiquette must get in the way.
—Xah Lee, 2001.
The internet has changed society deeply. It has indirectly changed nations, catapulted sciences, deeply imbued the daily lives of men, and as well affected writings and have created a culture one of a kind, among which is FAQ (Frequently Asked Questions), Netiquette, and Trolling. Netiquette refers to Net Etiquette. It is the implicit rules in online communities, widely purveyed in the early days of internet (pre-1997) but faded quietly with the mainstreaming of internet. Troll roughly refers to someone who posts a message that solicit outwardly or indirectly a huge usually chaotic following. In these pages, are collected essays on these phenomena.
I as a troll is rather special because i tend to put a final say on things, in contrast with one-liner trolls i myself despise. (In a sense i'm an anti-troll, untroll, or an atrocious atroll.) At first i balked at being branded a troll. Now i revel it. I as a troll is rather recent, beginning and getting worse about in 1998. I have been using online forums since 1990. Perhaps one day i'll write “how i became a troll”. It is bound to be a tragedy.
—Xah Lee, 2002.
I'll find a day to massacre them all, And raze their faction and their family…
—William Shakespeare, in Titus Andronicus
This document is a collection of Unix/Linux/BSD commands and tasks which are useful for IT work or for advanced users. This is a practical guide with concise explanations, however the reader is supposed to know what s/he is doing.
Acme is a powerful text editor, development environment and textual-user-interface platform developed by Rob Pike originally for Plan 9 from Bell Labs research operating system, and now has ports available for all major platforms.
Cat-v.org hosts a series of sites dedicated to diverse subjects that share an idiosyncratic intellectual perspective, questioning orthodoxy and fomenting elitism and high standards in topics from software design to politics, passing by art and journalism and anything else interesting.
Other than total and complete world domination, the overriding goal is to encourage and stimulate critical and independent thinking.
We represent a group of scientists, hackers and other misfits.
We are the home of quality software such as dwm, dmenu, st and plenty of other tools, with a focus on simplicity, clarity and frugality. Our philosophy is about keeping things simple, minimal and usable. We believe this should become the mainstream philosophy in the IT sector. Unfortunately, the tendency for complex, error-prone and slow software seems to be prevalent in the present-day software industry. We intend to prove the opposite with our software projects.
Ingenious ideas are simple. Ingenious software is simple. Simplicity is the heart of the Unix philosophy. The more code lines you have removed, the more progress you have made. As the number of lines of code in your software shrinks, the more skilled you have become and the less your software sucks.
Uzbl is a lightweight webkit browser following the UNIX philosophy - to do one thing and do it well.
You can sort then uniq:
$ sort -u file.txt
To remove the line and print the output to standard out:
sed '/pattern to match/d' ./infile
To directly modify the file (with GNU sed):
sed -i '/pattern to match/d' ./infile