text stringlengths 7 318 |
|---|
curl -s -u username:passwd http://twitter.com/statuses/friends_timeline.rss|grep title|sed <EOC> |
tail -1000 `ls -ltr /var/log/CF* |tail -1|awk '{print $9}'`|cut -d "," -f <EOC> |
ping `traceroute -m 2 <EOC> |
for containerId in $(docker ps | awk <EOC> |
route -n | perl -ne '$ANY="0.0.0.0"; /^$ANY/ and split /\s+/ and print "Gateway to the World: ",($_[1]!=$ANY)?$_[1]:(`ip address <EOC> |
diff <(ssh-keygen -y -f ~/.ssh/id_rsa) <(cut <EOC> |
find -type <EOC> |
for i in `ls /sys/class/net/`; <EOC> |
cut -f 1 three-column.txt > first-column.txt <EOC> |
lspci -vm <EOC> |
sudo locale-gen en_GB.UTF-8 && sudo <EOC> |
mysql -u uname dbname -e "show tables" | grep -v Tables_in | grep -v <EOC> |
gzip <EOC> |
awk <EOC> |
[[ $DISPLAY != "" ]] && [[ ${TERM%screen*} != "" ]] && tmux <EOC> |
echo '#!/bin/bash' > junk.sh ; find . -iname *.pdf -type f -printf \p\s\2\a\s\c\i\i\ \"%p\"\ \ \"%p\.\t\x\u\"\;\ \p\a\r\ \<\"%p\.\t\x\u\"\ \>\"%p\.\t\x\t\"\ \;\ \r\m\ \"%p\.\t\x\u\"\ <EOC> |
umount /dev/sdb1 <EOC> |
for i in `find . -name "*.jar"`; do jar -tvf $i | grep -v <EOC> |
yes '' <EOC> |
find . -path ./mnt -prune -o -path ./lost+found -prune -o -path ./sys -prune <EOC> |
wget -qO - http://www.commandlinefu.com/commands/random/plaintext | sed -n '1d; /./p' <EOC> |
wget http://checkip.dyndns.org && clear && echo && echo My IP && egrep -o '([[:digit:]]{1,3}\.){3}[[:digit:]]{1,3}' index.html && <EOC> |
cd /path/to/pmwiki/wiki.d;/bin/ls -1 | perl -ne 'my ($group,$name)=split(/\./);$counts{$group}++;' -e 'END { foreach $group (sort <EOC> |
find . -type f -print0 | xargs <EOC> |
rpm -qa --queryformat 'Installed on %{INSTALLTIME:date}\t%{NAME}-%{VERSION}-%{RELEASE}: <EOC> |
for i in `find -name '*_test.rb'` ; <EOC> |
nmcli connection add type ethernet con-name "My Ethernet" ifname <EOC> |
findlocation() { place=`echo $1 | sed 's/ /%20/g'` ; curl -s <EOC> |
dpkg-query -Wf '${Package}\n' | xargs dpkg --status | sed '/^Conffiles:/,/^Description:/!d;//d' | awk '{print $2 " " $1}' | md5sum -c 2>/dev/null | grep FAILED$ | <EOC> |
gummy --screen {{1}} --temperature {{3800}} --brightness <EOC> |
On <EOC> |
for times in $(seq 10) ; do <EOC> |
history | awk <EOC> |
genid uuidv5 <EOC> |
amixer sset <EOC> |
e4defrag <EOC> |
while ( <EOC> |
kaffeine $(wget -qO- "http://questions-pour-un-champion.france3.fr/emission/index-fr.php?page=video&type_video=quotidiennes&video_courante=$(date +%Y%m%d)" | <EOC> |
groupmod -n <EOC> |
nice -n <EOC> |
while true ; <EOC> |
tar -cf - . | pv -s $(du -sb . | awk '{print <EOC> |
xmlto -o html-dir html mydoc.xml <EOC> |
DD=`cat /etc/my.cnf | sed "s/#.*//g;" | grep datadir <EOC> |
genRandomText() { a=( a b c d e f g h i j k l m n o p q r s t u v w x y z );f=0;for i in $(seq 1 $(($1-1))); do r=$(($RANDOM%26)); if [ "$f" -eq 1 -a $(($r%$i)) -eq 0 ]; <EOC> |
find . -type f -size +200000000c -exec ls -lh {} \; | awk '{ print $9 <EOC> |
mysqldump --add-drop-table --extended-insert --force --log-error=error.log -uUSER -pPASS OLD_DB_NAME | <EOC> |
while <EOC> |
lynx --dump --source http://www.xkcd.com | grep `lynx --dump http://www.xkcd.com | egrep '(png|jpg)'` | grep title | cut -d = -f2,3 <EOC> |
find . <EOC> |
mv <EOC> |
ldapmodify -Y "dn:uid=rob,dc=example.com" -g -R -J <EOC> |
docker network <EOC> |
echo "ulimit `ulimit -a|sed -e <EOC> |
rpm <EOC> |
find . -depth -type d <EOC> |
alias html2ascii='lynx -force_html -stdin <EOC> |
find <EOC> |
for i in */; do echo run_command "${i}"; <EOC> |
stdout`, `stderr`, and <EOC> |
for file in *; do mv -v "$file" "$(sed <EOC> |
awk '{counts = 137 * $3 *$6; line = $0;}$1 == "CHROM" ||$4 < max_het && $3 > min_cov && $7 == "0" && counts > 1.1 {print line}' file.ltab <EOC> |
nmcli radio wifi <EOC> |
port=8888;pid=$(lsof -Pan -i tcp -i udp | grep ":$port"|tr -s " " | cut -d" " -f2); ps <EOC> |
ls | curl -F <EOC> |
find . -regextype <EOC> |
while sleep 1; do clear; cat /tmp/whatever.cue; done <EOC> |
fetchmail -p etrn <EOC> |
sudo httpd -S 2>&1 | grep 'port' | <EOC> |
mem(){ { case $1 in st*|[vgid]*) printf "%s " "$@";; *) dd if=$3 2>&1|sed '$!d;/^0/d;s/ .*//;s/^/'"$1"' '"$2"' 1 0 /; r '"$3"'' 2>/dev/null;;esac;printf <EOC> |
mv ubuntu-10.04-rc-desktop-amd64.iso ubuntu-10.04-desktop-amd64.iso; i=http://releases.ubuntu.com/10.04/ubuntu-10.04-desktop-amd64.iso.zsync; while true; do if wget $i; then zsync $i; date; break; else sleep <EOC> |
daemon --name="{{name}}" --respawn --attempts=2 --delay=10 {{command}} <EOC> |
sed -i 's/show_formhist = 1/show_formhist = 0/;s/confirm_submit = 0/confirm_submit = 1/g' <EOC> |
mirror {{path/to/remote_dir}} <EOC> |
cp -t {{path/to/destination_directory}} {{path/to/file1 <EOC> |
head filename.txt | <EOC> |
cat /var/log/mosquitto/mosquitto.log | awk -F : '{"date -d @"$1 |& getline D; print D, <EOC> |
ruby -ne 'puts $_.split.collect(&:capitalize).join(" ")' <<< "pleAse cOuld <EOC> |
who | awk '{print $1, <EOC> |
acpi <EOC> |
find <EOC> |
tr <EOC> |
drawing --new-window {{path/to/image1 <EOC> |
brew <EOC> |
cat private-file | gpg2 --encrypt --armor --recipient "Disposable Key" | mailx -s "Email Subject" <EOC> |
find public_html/stuff -type d -exec chmod 755 <EOC> |
find . -name "pattern" -exec stat -c%s {} \; | awk '{total += $1} END {print <EOC> |
for f in *.flv; do ffmpeg -y -i "$f" -f image2 <EOC> |
mysqldump -u user -h host <EOC> |
echo to_camel_case__variable <EOC> |
(echo hello; sleep 2) <EOC> |
useradd -m -s <EOC> |
UUID="63b726a0-4c59-45e4-af65-bced5d268456"; echo ${UUID//-/} <EOC> |
qmrestore {{path/to/vzdump-qemu-100.vma.lzo}} <EOC> |
vim +"bufdo norm gg=G" +wa <EOC> |
sqlite3 <database> <EOC> |
find * \( -name "*.[hc]pp" -or -name "*.py" <EOC> |
readlink -f <EOC> |
for id in `ls -1 ~/.ssh | grep -v <EOC> |
perl -F',' -ane '$a <EOC> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.