Dataset Viewer
Auto-converted to Parquet Duplicate
command
stringlengths
1
175k
is_safe
bool
2 classes
top -b -d2 -s1 | sed -e '1,/USERNAME/d' | sed -e '1,/^$/d'
true
top -b -n 1 -u abc | awk 'NR>7 { sum += $9; } END { print sum; }'
true
top -b -d 5 -n 2 | awk '$1 == "PID" {block_num++; next} block_num == 2 {sum += $9;} END {print sum}'
true
top -n 1
true
top -bn1 | grep zombie
true
top -bn1 | sed -n '/Cpu/p'
true
top -bn1 | grep zombie | awk '{print $4" "$6" "$8" "$10}'
true
top -b -n1 -c
true
top -b -n1 | grep processname
true
top -n1 | sed 's/\(.*\)$/\1__CUSTOM_LINE_MARKER/g'
true
top -bn1 | sed -n '/Cpu/p' | awk '{print $2}' | sed 's/..,//'
true
top -b -n1 | head -8 | tail -1 | awk '{ printf "User: %s\nPID: %s\nCPU Usage: %s\nMEM Usage: %s\n", $2,$1,$9,$10 }'
true
top -b -n1 -c | awk '/PID *USER/{print;getline;print}'
true
top -b -n1 -c | grep -A 2 '^$'
true
top -u abc -d 30 -b -n 10
true
top -p $(pgrep -d',' http)
true
top -p "$(pgrep -d ',' java)"
true
top -p `pgrep process-name | tr "\\n" "," | sed 's/,$//'`
true
top -c -p $(pgrep -d',' -f string_to_match_in_cmd_line)
true
top -c
true
LINE=$(top -b -n 1 | tail -n +8 | head -n 1 | tr -s ' ')
true
OUTPUT=`top -b -n 1 | tail -n +8 | head -n 1`
true
top –p $PID
true
top -b -p `pidof a.out`
true
top -b -p `pidof a.out` -n 100
true
top -p "$(pgrep --newest ProgramName)"
true
top -p "$(pgrep ProgramName | head -n 1)"
true
top -p $(ps aux | awk '/ProgramName/ && ! /awk/ { print $2; exit; }')
true
top -p "$(pgrep --oldest ProgramName)"
true
top -b -n 1 | mail -s "any subject" [email protected]
true
sudo cp mymodule.ko /lib/modules/$(uname -r)/kernel/drivers/
true
cat /boot/config-`uname -r` | grep IP_MROUTE
true
cat /boot/config-`uname -r`
true
find /lib/modules/`uname -r` -regex .*perf.*
true
grep “HIGHMEM” /boot/config-`uname -r`
true
cat /proc/2671/maps | grep `which tail`
true
view /boot/config-$(uname -r)
true
sudo lsusb -t|less
true
grep PROBES /boot/config-$(uname -r)
true
grep UTRACE /boot/config-$(uname -r)
true
grep ds1337 /lib/modules/`uname -r`/modules.alias
true
sudo lsusb -v|less
true
top -l 1 | grep $app_name
true
top -l 1 -s 0 -stats mem -pid $PID
true
top -l 1 -s 0 -i 1 -stats vprvt -pid $PID
true
sed -i "s/\\\\\n//g" filename
true
set -e
true
perl -pi -e 'BEGIN { print "A new line" }' $(find . -name '*.py')
true
for a in `find . -name '*.py'` ; do cp "$a" "$a.cp" ; echo "Added line" > "$a" ; cat "$a.cp" >> "$a" ; rm "$a.cp" ; done
true
find . -name \*.py -print0 | xargs -0 sed -i '1a Line of text here'
true
find . -name \*.py | xargs sed -i '1a Line of text here'
true
find ~ -type d -exec chmod +x {} \;
true
rename 's/(.*)$/new.$1/' original.filename
true
rename 's/^/new./' original.filename
true
nl -s prefix file.txt | cut -c7-
true
nl -s "prefix_" a.txt | cut -c7-
true
find /volume1/uploads -name "*.mkv" -exec mv \{\} \{\}.avi \;
true
cat <(crontab -l) <(echo "1 2 3 4 5 scripty.sh") | crontab -
true
ping google.com | xargs -L 1 -I '{}' date '+%c: {}'
true
ping host | perl -nle 'print scalar(localtime), " ", $_'
true
nl -ba infile
true
nl -ba long-file \
true
echo "$string" | nl -ba -s') '
true
crontab -l -u user | cat - filename | crontab -u user -
true
cat file1 file2 | crontab
true
crontab filename
true
pushd "$HOME/Pictures"
true
sudo chmod +x java_ee_sdk-6u2-jdk-linux-x64.sh
true
chmod +x pretty-print
true
chmod +x rr.sh
true
chmod a+x ComputeDate col printdirections
true
chmod +x *.sh
true
chmod g+w $(ls -1a | grep -v '^..$')
true
chmod g+w .[^.]* ..?*
true
find . -maxdepth 0 -type f -exec chmod g+w {} ';'
true
chmod g+w * ...*
true
nl -v1000001 file
true
sed 's/3d3d/\n&/2g' temp | split -dl1 - temp
true
for filename in *.jpg; do mv "$filename" "prefix_$filename"; done;
true
nl -s"^M${LOGFILE}> "
true
sudo chmod +rx $(which node)
true
find . -type d -exec chmod +rx {} \;
true
find . -name "rc.conf" -exec chmod o+r '{}' \;
true
find . -type f -iname '*.txt' -print0 | xargs -0 mv {} {}.abc
true
find ~/dir_data -type d -exec chmod a+xr,u+w {} \;
true
v=5 env|less
true
TESTVAR=bbb env | fgrep TESTVAR
true
pushd %Pathname%
true
chmod +x $(brew --prefix)/etc/bash_completion
true
touch -d "$(date -r filename) - 2 hours" filename
true
touch -d "$(date -r "$filename") - 2 hours" "$filename"
true
alias cd-='cd $(history -p !!:1)'
true
ssh -t example.com "screen -r -X ls"
true
ssh -t example.com "screen -r; ls"
true
ssh -t example.com "screen -r"
true
chmod a+x myscript.sh
true
chmod a+x $pathToShell"myShell.sh"
true
sudo chmod u+s `which Xvfb`
true
ssh -fL 127.0.0.1:someport:host.in.the.remote.net:22 proxy.host
true
yes no | <command>
true
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
14