Hide
What's this?
commandlinefu.com is the place to record those command-line gems that you return to again
and again.
Delete that bloated snippets file you've been using and share your personal repository with the
world. That way others can gain from your CLI wisdom and you from theirs too. All commands
can be commented on, discussed and voted up or down.
If you have a new feature suggestion or find a bug, please get in touch via
http://commandlinefu.uservoice.com/
Get involved!
You can sign-in using OpenID credentials, or register a traditional username and password.
OpenID
or
Sign in Register
First-time OpenID users will be automatically assigned a username which can be changed after
signing in.
Hide
Stay in the loop…
Follow the Tweets.
Every new command is wrapped in a tweet and posted to Twitter. Following the stream is
a great way of staying abreast of the latest commands. For the more discerning, there are
Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the
great commands get tweeted.
» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10
Subscribe to the feeds.
Use your favourite RSS aggregator to stay in touch with the latest commands. There are
feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users,
tags, functions,…):
Subscribe to the feed for:
» all commands
» commands with 3 up-votes (commandlinefu3)
» commands with 10 up-votes (commandlinefu10)
Hide
News
2011-03-12 - Confoo 2011 presentation
Slides are available from the commandlinefu presentation at Confoo 2011:
http://presentations.codeinthehole.com/confoo2011/
2011-01-04 - Moderation now required for new commands
To try and put and end to the spamming, new commands require moderation before they
will appear on the site.
2010-12-27 - Apologies for not banning the trolls sooner
Have been away from the interwebs over Christmas. Will be more vigilant henceforth.
2010-09-24 - OAuth and pagination problems fixed
Apologies for the delay in getting Twitter's OAuth supported. Annoying pagination
gremlin also fixed.
Hide
Tags
!!
$PATH
,Date
,NTP
.bash_profile
.svn
/dev/mem
/dev/null
/etc/passwd
32
64
7z
7zip
a2zfa
Access
access_log
ack
ACL
acpi
active directory
add
aix
alarm
alias
aliases
alpha
alsa
Amazon
anagram
analysis
annoyatron
annoying
ansi
apache
apache2
api
aplay
apropos
apt
apt-cache
apt-get
apt-key
aptitude
arch linux
arch.linux
archive
archlinux
argument
aria2
arithmetic
Arp
arp-scan
array
art
ascii
ash
askapache
aspell
assembly
asterisk
at
atom
attachment
audio
authentication
automatically
automation
autossh
avi
awesome
awk
awk grep
awk, sort
background
backup
bandwidth
banner
base64
basename
bash
bash .svn
bash String Manipulations
bash tricks
bashrc
bash_history
batch
batch rename
Batch Utilities
battery
bc
beautiful
beautify
beep
bell
benchmark
bg
binary
binary clock
BIOS
block
blockdev
bluetooth
bookmarks
boot
boxee
branches
break
brightbox
browser
bsd
buffer
build
built-in
builtin
bzip2
bzip2, gzip, compression,
C Programming
C/C++
cache
calc
calculation
calibre
capitalize
capture
case
cat
ccze
cd
CDDA
cdma
cdrdao
certificate
change
check
checksum
check_disk
Chennai service apartments
chmod
chown
chrome
chromium
cifs
cipher
citrix
clean
clear
cli
clipboard
clock
cloud
cmd
cmdline
cmp
cobbler
code
code points
codec
col
color
colordiff
colors
column
COLUMNS
comic
command
commandlinefu
comment
commit
compare
completion
compress
compression
conffiles
connection
console
conversion
convert
converter
cookies
copy
copy paste
copy progress
corrupt
count
counter
cowsay
cp
cpan
cpio
cpu
cpu usage
cpuinfo
crash
cronjob
crontab
crypt
csh
css
CSV
curl
cut
cvs
cygwin
daemon
dangerous
dash
data sink
database
date
Date manipulation
dates
dbus
dbus-send
dc
dd
ddos
debconf
Debian
debug
decimal
declare
deduplicate
defunct
delay
delete
delicious
development
device
devices
df
diagnostic
dictionaries
dictionary
diff
dig
digit
directories
directory
directory size,du
dirname
discogs
disk
disk size
disk usage
display
distribution
distro
divx
dmenu
dmg
dmidecode
dns
do
dock
domain name
done
dos
dot
dotfiles
download
downvotes
dpkg
dpkg-query
drive
dropbox
du
dummy file, null file, test file
dump
duplicate
duplicate directories
duplicate directory
dvd
easter-egg
ebook
ebuild
ebuilds
EC2
echo
eclipse
ed
edit
egrep
eix
emacs
email
emerge
emulator
encoding
Encryption
English
enscript
entropy
env
environ
environment
eol
epoch
epub
error
escape
esx
ethtool
eval
exclude
exclude binary
exe
exec
executable
execute
exif
exiftool
exim
exit
expand
expansion
expiration
export
ext3
extension
extensions
external
external ip
extglob
extract
facebook
factorial
fd
fdisk
fetch
ffmpeg
ffmpeg2theora
fg
field separator
fields
figlet
file
file cop
file descriptor
file format
file rename
file time
file transfer
filename
filepath
files
filesize
Filesystem
filter
find
find text
finder
firefox
firewall
fix
fizzbuzz
flac
flash
flip
floating point
flush
flush dns
flv
focus
fold
folder
fonts
for
for loop
for-each
fork bomb
format
fortune
foundry
free
FreeBSD
fstab
ftp
fumanchu
fun
function
funny
fuse
futurama
Game
gateway
gawk
gconftool
gdb
generate
generator
Gentoo
geographical location
geoip
get website ip
getent
getfacl
ghostscript
gif
git
github
glob
global
globstar
gmail
gnome
gnome-open .
GNU coreutils
GNU find
GNU grep
GNU/Linux
gnuplot
google
google api
google reader
google shortener
googlecl
goto
GPG
gps
gpsbabel
graph
grep
group
grub
gs,
gstreamer
gtk
GUI
gunzip
gvim
gzip
hack
halt
hard disk
hard drive
harddisk
hardware
hash
hdiutil
hdparm
HEAD
headers
help
hex
hexdump
hidden
highlight
histogram
history
homepage
host
hostname
hostname to ip
hosts
hotkey
hp-ux
html
html5
http
httpd
http_code
human
human-readable
hybrid
icmp
icons
iconv
id3
identify
if
ifconfig
ifconfig.me
IFS
image
image gallery
Image processing
ImageMagick
images
import
indent
info
inkscape
inotify
install
instapaper
integer
interactive
interface
internet
IP
ip address
ip range
iphone
ipod
ips
iptables
ipv4
irc
irssi
iscsi
iso
java
javascript
job control
join
joke
jot
jpeg
jpg
json
kalarm
KDE
kernel
key
key sequence
keyboard layout
keyboard shortcuts
keyring
kill
kill pkill process
killall
kookyoo
korn shell
ksh
label
lame
lanscan
last command
latest
latex
ldap
ldd
less
library
limits.conf
line
LINES
link
links
Linux
Linux UNIX
list
listen
literal
load
locate
log
logging
login
logout
logs
loop
lossless
ls
ls glob
lshw
lsmod
LSO cookies
lsof
lvm
lynx
lzma
m3u
mac
MAC , Wireless, hack, change
mac os x
macosx
mail
mailboxes
Maildir
MAILER-DAEMON
mailq
mailx
make
man
management
mass downloading
mass moving
match
mate
math
Matrix Style
maven
md5
md5sum
media
meminfo
memory
memory usage
mencoder
mercurial
merge
merriam-webster
meta
mime
minutes
mkdir
mkfifo
mkpasswd
modified files
modinfo
module
monitoring
montage
more
most-used
mount
mount point
mouse
mouse tracking
mov
move
movie
mp3
mp3gain
mpd
mpeg
mpeg4
mpg321
mplayer
msf
mtime
multi-part
multicore
multiline
multiple
music
mutt
mv
mysql
mysqldump
mythtv
nagios
name
namp
nano
nawk
nc
ncdu
ncurses
net
netbios
netcat
netcat nc
netsh
netstat
Network
network card
network manager
network performance
networking
newline
nfs
nginx
nice
nl
nmap
nohup
noise
notify
notify-send
nslookup
ntfs
number
numbers
numerate
octal
od
oernii
ogg
oggenc
omploader
on-screen
oneliner
open
OpenOffice.org
openssh
openssl
optimize
oracle
Os X
osx
outlook
output
p4
package
package remember
packages
packaging
pacman
pacof
pager
parallel
parameter
parameter expansion
parsing
partition
passphrase
passport
password
paste
patch
PATH
pause
pbcopy
pcap
pcre
pdf
pdftk
pentest
Perforce
performance
perl
permissions
pgrep
photo
photos
PHP
picasa
picture
PID
pidgin
PIM
ping
pipe
pipes
pirate
piratebay
pkill
play
playlist
Plesk
plot
png
podcast
points
pop3
port
port 80
portage
POSIX
Postfix
PostGres
postgresql
power
prank
prefix
prepen
print
printenv
printf
printing
privacy
proc
process
process heirarchy
Process Management
processes
processor
profile
Programming
progress
prompt
PROMPT_COMMAND
pronounce
protocol
provisioning
proxy
ps
ps1
ps2pdf
pstree
pulseaudio
putty
pv
pwd
pwgen
python
qemu
qemu-img
qlist
quick
radio
rails
ram
random
range
rapidshare
rate
rdesktop
RDP
read
readline
readlink
Reboot
rec
record
recovery
recursive
redirect
redirecting output
redirection
regex
release
remind
reminder
remote
remove
rename
renice
replace
reset
resize
resolution
restore
resume
rev
reverse
revert
revised
ridiculous
rip
rm
rmdir
root
rot13
router
rpc
rpm
rs
rss
rsync
rsynch
ruby
s3
safe
samba
save
say
scan
scanner
schedule
schtasks
SCM
scp
screen
screen shot
screensaver
screenshot
script
scrot
search
search and replace
search,
secure
Security
sed
sendmail
sensors
seq
serial
server
services
set
setfacl
sfdisk
sh
sha256
shadow
share
shell
Shell programming
shell signal
shellcode
short url
shortcut
shorturl
shoutkey
shred
shredding
shuf
Shutdown
signals
size
slashdot
sleep
smb
smp
smtp
smw
smwcentral.net
snapshots
sniff
snmp
socat
socket
solaris
soma.fm
sopcast
sort
sorting
sound
soundcard
source
source code
sox
sp-sc
space
spaces
sparse
sparse files
speaker
special parameters
speech
speed
spellcheck
spelling
split
sql
sqlite
squid
ssh
ssh connect back
ssh tunnel
ssh tunneling
ssh-agent
ssh-keygen
sshfs
SSH_TTY
stat
statistics
stats
status
stderr
stdin
stdout
strace
stream
streaming
strings
stty
su
subshells
substitution
substring
subtitles
subversion
sudo
sum
sunrise
suspend
svn
svn log
swap
swapoff
swapon
switch
symbolic link
symbols
symlinks
sync
syntax
sysfs
system
System Administration
system update
system_profiler
tab
tab completion
tabs
tag
tail
tar
tar.bz2
tar.gz
tarball
tcp
tcpdump
tee
tee,
telnet
temperature
term
termcap
terminal
terminal title
terminfo
test
testing
text
Text Processing
text to speech
text-to-speech
textfile
textmate
theora
thepiratebay
throughput
thumbnails
thunderbird
tidy
time
timed output
timeout
timer
timestamp
timezone
title
tivo
tmux
toilet
token
tokenizer
tomcat
top
top processes
torrent
torrents
touch
tput
tr
translate
trap
trash
tree
tricks
trim
tshark
tty
tunnel
tunneling
TV
tweet
twitter
txt record
type
typing
Ubuntu
ubuntu linux bash cli apt aptitude
udev
udevadm
udp
uid
ulimit
umount
uname
unarchive
undo
unicode
uniq
unique
unix
unrar
unzip
UPC
upcase, uppercase,
update
upgrade
upload
uptime
upvotes
urandom
url
url matching
urldecod
urldecode
usage
usb
user
username
users
utc
utf8
uudecode
uuencode
uuid
validation
variable
VBoxHeadless
VBoxManage
vcard
VCS
verbose
version
version control
vi
video
video editing
Videos
vim
virtual
virtual device
virtualbox
virtualization
virus
visa
vlc
vmstat
vmware
vnc
volume
vorbis
w3m
wait
wajig
wallpaper
Warhol
watch
watermark
wav
wc
weather
web browser
webcam
webcomic
weblogic
website
week
wget
what-is-my-ip
whatthecommit
which
while
while loop
white space
who
whoami
whois
whowatch
wikipedia
wildcard
window
windows
windows 7
wine
wireless
wireshark
wmctrl
wmic
wordpress
write
WWW
X
X Window
X11
x11vnc
xa
xargs
xclip
xdg-open
xe
xen
xenserver
xfce
xkb
xkcd
xml
xmllint
xmlstarlet
xmms2
xmodmap
xorg
xpath
xquery
xrandr
xsel
xtrace
xvkbd
xwindows
xxd
xz
yelp
yes
youtube
yum
zcat
zenity
zfs
zgrep
zip
zombie
Zope
zpool
zsh
^M
^Z
Hide
Functions
acpi
admin
alias
amixer
aplay
apropos
apt
ar
arecord
arp
as
at
atrm
aumix
awk
badblocks
banner
basename
bash
bc
bg
bison
bzgrep
bzip2
c++
cal
cat
cc
cd
cdparanoia
cdrdao
cdrecord
cflow
chage
chattr
chgrp
chkconfig
chmod
chown
chsh
chvt
clear
cmp
col
column
comm
command
cp
cpio
cpp
crontab
csplit
ctags
cut
cvs
date
dd
delta
df
diff
diff3
dig
dir
dirname
disable
dmesg
dot
du
dump
dumpe2fs
e2fsck
e2label
echo
ed
egrep
eject
emacs
enable
env
etags
eval
ex
exec
exit
expand
export
expr
factor
false
fc
fc-cache
fc-list
fdisk
fetchmail
fg
fgrep
file
find
finger
fmt
fold
formail
free
fsck
ftp
fuser
g++
gawk
gcc
gdb
get
getconf
getent
gpg
grep
groff
groups
gs
gunzip
gzexe
gzip
halt
hash
hdparm
head
hexdump
host
hostname
hwclock
iconv
id
ifconfig
info
init
install
ipcrm
ipcs
iptables
iptables-restore
iptables-save
isoinfo
ispell
jobs
join
kill
killall
kudzu
last
ldconfig
ldd
less
lftp
link
ln
loadkeys
locale
locate
lockfile
logger
login
logname
look
losetup
lp
lpr
ls
lsattr
lsmod
lspci
lsusb
m4
mail
mailq
mailx
make
man
manpath
md5sum
merge
mformat
mkdir
mkdosfs
mkfifo
mkfs
mkfs.ext3
mkisofs
mknod
mkswap
mktemp
modinfo
more
mount
mpg123
mpg321
mt
mv
nameif
netstat
nice
nl
nm
nohup
nslookup
objdump
od
passwd
paste
patch
pax
perl
pidof
ping
pinky
pmap
pr
printf
ps
pwd
python
qstat
quota
rdate
read
readelf
readlink
rename
renice
reset
resize2fs
restore
return
rev
rm
rmdir
rmmod
rndc
route
rpm
rsync
scanimage
scp
screen
script
sdiff
sed
sendmail
sensors
seq
set
setterm
sftp
sh
sha1sum
shift
showkey
shred
shutdown
size
skill
sleep
slocate
sort
split
ssh
ssh-keygen
sshd
stat
strace
strings
strip
stty
su
sudo
sum
swapoff
swapon
sync
sysctl
tac
tail
tailf
tar
taskset
tcpdump
tee
telnet
test
time
tload
top
touch
tput
tr
traceroute
trap
true
tty
tune2fs
type
ulimit
umount
unalias
uname
uniq
unlink
unset
uptime
useradd
userdel
usermod
users
usleep
uuencode
vi
vim
vmstat
wait
wall
watch
wc
wget
whatis
whereis
which
who
whoami
whois
write
xargs
yes
zcat
zgrep
zless
Hide
Credits
Site by David Winterbottom (user root).
» http://codeinthehole.com
» http://twitter.com/codeinthehole
» root@commandlinefu.com
Random | Hot this week | All-time greats • FAQ | API | Widget
Create .pdf from .doc
Terminal - Create .pdf from .doc
oowriter -pt pdf your_word_file.doc
2011-10-07 08:04:21
User: anhpht
12
Up
Down
Create .pdf from .doc
sudo apt-get install cups-pdf
Add to favourites | Report as malicious
Know a better way?
If you can do better, submit your command here.
What others think
nice... I used to install antiword, but you show its already there in some cases
Comment by _john 18 weeks and 3 days ago
Cool feat. Thx!
Comment by unixoid 18 weeks and 2 days ago
With libreoffice:
libreoffice --writer -convert-to pdf file.doc
Comment by dz 15 weeks and 4 days ago
Your point of view
You must be signed in to comment.
Related sites and podcasts