20140902-1 选题

This commit is contained in:
DeadFire 2014-09-02 14:25:15 +08:00
parent 8830dde46f
commit 3ab9a330ed
3 changed files with 172 additions and 0 deletions

View File

@ -0,0 +1,23 @@
Happy Birthday Email
================================================================================
**An Indian American had the brain to invent electronic mail without which we cannot figure out a single day in this era.**
![](http://1-ps.googleusercontent.com/h/www.efytimes.com/admin/useradmin/photo/150x150xDbOx104130AM8312014.jpg.pagespeed.ic.QJJxt_P8uE.jpg)
30 August, email turned 32. Now we wonder how this fast and quick method of message transfer came into existence. The credit goes to an Indian American, Shiva Ayyadurai. Shiva developed a full-scale software of the interoffice mail system and it was named email.
He was officially acknowledged as the inventor of the computer programme on 30 August, 1982, by the US government. Born to Tamil family in Bombay, Shiva was just 14 years old when he invented the email system. He was studying at Livingston High School in New Jersey and he began working on this system for the University of Medicine and Dentistry of New Jersey. A copyright was given to the email system as no other way was known to protect software inventions at that time.
Ayyadurai got the idea of the email system from the way mail was transported internally in offices. He tried to make a copy of Pneumatic Tube System which was mostly used to send interoffice mails across offices. This system used a physical network of tubes which used to transport typed mails to secretaries. Each secretary used to have inbox, outbox, drafts, carbon copy paper, folders, address book, paper clips or attachments etc. All these were used to create and process incoming and outgoing mails.
Shiva also took a note of the common templates like “To”, “From”, “Subject”, “Date”, “Body”, “CC”, “BCC” and so on. All these templates were incorporated in the version of the electronic mail too. Mail was written FORTRAN programming language and Shiva discovered an electronic version of the same. Shiva received many accolades for his extraordinary work and also won a Westinghouse Science Talent Search Award for high school seniors in 1981. Now Smithsonian Institution National Museum of American History (SINMAH) has the official US copyright for “Email”. But there is a controversy that not Ayyadurai but some other people have invented email.
--------------------------------------------------------------------------------
via: http://www.efytimes.com/e1/fullnews.asp?edid=147170
作者Sanchari Banerjee
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出

View File

@ -0,0 +1,112 @@
How to share on linux the output of your shell commands
================================================================================
Some time ago I posted an article about [shelr.tv][1] a website and a service that was made to allow you to share your [terminal][2] records directly from the website.
Now the website of shelr.tv seems dead and so Ive took a look around to see if there are similar websites and Ive found [commands.com][3].
For what I can see from their homepage its a service similar to the other, so lets test it.
### Step 1 Register on the website ###
Just [register][4] with a new username/password or use your github account to do it quickly.
### Step 2 download and install the program monitor ###
[Monitor][5] is a command-line tool that captures command-line input/output and sends it to commands.com, the program its open source and hosted on github.
Monitor makes it easy to automate set-up/install of repos. With it you can easily show at people the most common errors and output from commands.
In short with it you can easily share your commands and their output with the world.
To install it follow these simple steps:
1) Clone the github repository of this project, in this way youll get the latest source code.
To do this you need the git command installed on your system, if you get an error with this command install it with your package manager, such as
Debian based distributions:
apt-get install git
Redhat/Centos/Fedora distributions
yum install git
And now from a terminal clone the repository with:
git clone https://github.com/dtannen/monitor.git
2) Install readline and curl, these libraries are a pre-requisite for building the program from the sources:
Debian based distributions:
apt-get install libreadline-dev libcurl4-openssl-dev
Redhat/Centos/Fedora distributions
yum install readline-devel curl-devel
3) Build the program:
To do this you have to go to the directory we just cloned with git and compile the c program:
cd monitor
make
sudo make install
The default installation will put the binary in /usr/local/bin
![](http://cdn.linuxaria.com/wp-content/uploads/2014/08/commands.png)
### Step 3 using the monitor command ###
The command monitor its pretty easy to use:
monitor {-d} {-h} {-u <username>}
-d : do not delete /tmp files
-h : help
-u : commands.com username</username>
To exit the monitor program you just have to use ctrl-c.
So for me this means just opening a terminal and give these commands:
riccio@mint-desktop ~ $ monitor -u ricciocri
Password:
Successfully logged in...
AuthKey saved to /tmp/.riccio.commands.com. Delete file to return to Anonymous posting.
monitor$ cd /tmp
...
Want to see which command Ive used after these ?
Ive made this session public (the default its private) so you can simply check this url: [https://commands.com/JTNSHRLQJA][6]
From there you can see the commands Ive used and their output, an interesting options its the “fold/expand” so you could fold all commands and just expand the output of the one you like more.
### Conclusions ###
This is just the a basic startup guide, from the website you can make more “social” activity such as comment script/shell sessions, fork them or choose your favorites.
Like github, you can fork any public script/command and change it directly from the website and after that you can also get a public (or private url) that you can use to run directly your script with something like this:
curl commands.io/JTNSHRLQJA | sh
Thats great to store on the net some scripts that you run frequently on different computers/server, as usual dont put anything with passwords or sensible information on the net and youll be safe enough.
--------------------------------------------------------------------------------
via: http://linuxaria.com/article/how-to-share-on-linux-the-output-of-your-shell-commands
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[1]:http://linuxaria.com/recensioni/shelr-broadcast-your-linux-shell-on-the-net
[2]:http://linuxaria.com/tag/shell
[3]:https://commands.com/
[4]:https://commands.com/Register/Index
[5]:https://github.com/dtannen/monitor
[6]:https://commands.com/JTNSHRLQJA

View File

@ -0,0 +1,37 @@
Use SearchMonkey To Search Text In All Files Within A Directory In Ubuntu
================================================================================
At times we need to search files which contain some particular text or words in them. This often happens if you are a developer or programmer. Now, one can always use [Linux commands to find all files containing specific text][1], but not everyone is command line fan. I have seen excellent programmers that rely on GUI tool than command line.
If you too prefer GUI tools, than [SearchMonkey][2] is one perfect application for you.
### SearchMonkey is your desktop search engine ###
SearchMonkey searches the directories recursively so that you can sit and relax while SearchMonkey does his work. Users can search for file names and contents using powerful regular expressions. This enables SearchMonkey to be much more precise when it returns hits.
In addition, SearchMonkey doesnt just show you a list of files that might contain what you are looking for, it helpfully displays the content with the matches highlighted.
### Install SearchMonkey in Ubuntu 14.04 ###
SearchMonkey is available in Ubuntu 14.04 (and earlier versions as well) repository. You can install it via Ubuntu Software Center or by just typing the following command in terminal:
sudo apt-get install searchmonkey
Once installed, you can launch SearchMonkey from Unity Dash. The interface is easy to understand and easy to use.
![](http://itsfoss.itsfoss.netdna-cdn.com/wp-content/uploads/2014/08/SearchMonkey_Ubuntu.jpeg)
SearchMonkey finds the files you need quickly, and without building a drive map first. Each search takes place in real time, and results are displayed in context as soon as they are found! And above all its a free and open source software.
--------------------------------------------------------------------------------
via: http://itsfoss.com/searchmonkey-search-text-files-linux/
作者:[Amit Asthana][a]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[a]:http://itsfoss.com/author/amit/
[1]:http://www.computerandyou.net/2011/06/how-to-find-all-files-containing-specific-text-in-linux/
[2]:http://searchmonkey.embeddediq.com/