Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Usage : $0 [ -n <paste name> ] [ -e <paste email> ] [ -t <type of code> ] [ -h ] <paste name> Specify the name of paste to be used (optional) <paste email> Specify email to be used while pasting (optional) <type of code> Specify code language used, use any of the following values (optional and default value is plain text) => Some famous [ -t <type of code> ] Values:: php - PHP actionscript3 - Action Script 3 asp - ASP bash - BASH script c - C language csharp - C# cpp - C++ java - JAVA sql - SQL #pass stdin using | operator michal@michal-N130:~$ cat bashcode.txt | ./pastebin -t bash http://pastebin.com/93SuECwJ #or you can just use command as below, paste code and then press ctrl + D to get the link michal@michal-N130:~$ ./pastebin -n anil -t php <?php echo "Hey, this is a test"; ?> http://pastebin.com/xxxxxxxx Pastebin bash script located in /usr/share/i-nex/pastebin
- Loading branch information