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.


Get involved!

You can sign-in using OpenID credentials, or register a traditional username and password.

First-time OpenID users will be automatically assigned a username which can be changed after signing in.

Universal configuration monitoring and system of record for IT.
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:

Hide

News

May 19, 2015 - A Look At The New Commandlinefu
I've put together a short writeup on what kind of newness you can expect from the next iteration of clfu. Check it out here.
March 2, 2015 - New Management
I'm Jon, I'll be maintaining and improving clfu. Thanks to David for building such a great resource!
Hide

Top Tags

Hide

Functions

Psst. Open beta.

Wow, didn't really expect you to read this far down. The latest iteration of the site is in open beta. It's a gentle open beta-- not in prime-time just yet. It's being hosted over at UpGuard (link) and you are more than welcome to give it a shot. Couple things:

  • » The open beta is running a copy of the database that will not carry over to the final version. Don't post anything you don't mind losing.
  • » If you wish to use your user account, you will probably need to reset your password.
Your feedback is appreciated via the form on the beta page. Thanks! -Jon & CLFU Team

Convert PDF to JPEG using Ghostscript

Terminal - Convert PDF to JPEG using Ghostscript
gs -dNOPAUSE -sDEVICE=jpeg -r144 -sOutputFile=p%03d.jpg file.pdf
2010-01-02 16:17:39
User: auriza
Functions: gs
2
Convert PDF to JPEG using Ghostscript

Converting your PDF file to JPEG images. You can set resolution by -r option (default: 72dpi).

Alternatives

There are 7 alternatives - vote for the best!

Terminal - Alternatives

Know a better way?

If you can do better, submit your command here.

What others think

I'm not a developer, i always use this free online pdf to image converter to convert pdf to jpg online(http://www.online-code.net/pdf-to-image.html).

Comment by JonyGreen 67 weeks and 4 days ago

It works, thanks!

On my machine (Debian Jessie) gs doesn't exit when it's done (an annoyance because I need to call this line from a script). I fixed this by adding

Comment by unixmonkey90908 60 weeks and 6 days ago

Yes that will be beneficial to use online software for the conversion of file you may also try software at: http://pdf-to-jpg-convert.en.softonic.com

Comment by aliaanderson 21 weeks and 3 days ago

I would also like to suggest a software, for the pdf to jpg conversion. The software can be downloaded from the following link:

http://products.softsolutionslimited.com/pdf2img/category/pdf_to_jpg.htm

Just download the software and have an amazing experience in terms of better resolution and small size.

Comment by nupur2508 5 weeks and 2 days ago

Job Driveway web host Heidi Klum makes certain for being kindlied when the lady experiencess bag choices for 2010. Numerous due to the high-rating truth Television variety, is actually quick to become home marking with regard to Us style. His or her present bag series displays an important collection of variations through zebra-striped carry bags to tailored grabs pertaining to stylishly corporate ladies are continually traveling. Previous alternatives just like creating business logo style splendor continue to be showcased.There are a variety of handbags that I nice from Crabtree Handbags and that i almost certainly advise everyone to look into the amazing assortment along with extraordinary prices. With all the brand-new release in the us, a few lot of important factors going down on this respectable enterprise. Upon 12 9th-10th, Crabtree may sign up for some other amazing companies for initially Shecky's occasion in R.any. Shecky's is an on the web and situation desitnation for the things that's amazing and little-known stylish, Attraction and Pleasurable. You can have a short look at Shecky's website to find out more on them and go see Crabtree on the celebration in 12 , for most wonderful style trend, launch of their new/fall range, as well as a couple of pleasurable.Michael Kors BagsA clutch will be smaller than average sleek and stylish, excellent for committing to to be able to evening meal or perhaps drinks with the buddies after you should not carry as well very much out of our home. This little location permits you to secure the needs, for instance cash, a new credit ratings cards in addition to lip stick, therefore you need not agonize concerning carrying every thing through your day-to-day bag together to some retreat or maybe occasion. Some sort of clutch i465 is easy to hold on to or even put beneath the equip, and you may consistently let it rest in simple look with the dining table, as opposed to hanging rid of http://www.hermesbeltsbirkinkellybag.co.uk/ it your back of any lounge chair. These kinds of advantages of your clutch i465 black furthermore make it optimal make use of within low-lit installations, for instance a club. 1 classy clutch system to exhibit could be the Tory Burch Johnson Steel Clutch, that in addition incorporates a extractible neck tie if you are hoping to keep it on your arm.You might also opt for a few various other design of bags like big motorola clutch bags and bags within stunning other than further moderated autumn colors. You will find in the same manner a massive variety of upscale plan totes, totes, clutch i465 bags in a number of colours and styles. You'll find also incredible amazing apple ipad tablet circumstances. My chosen ipad just for this autumnal equinox is a superb red apple ipad tablet circumstance that will surely go entirely together with my tortoise throat leading.Our Web page manufacturing vegetable website displays many simply just Bags, Wallets, Satchels, Totes and so on.The actual ever-lasting advantage of Handbags produce they a sensible accent option. Willcome in our bag website to pick out any X-mas present for on your own!Presently, bags get actually actually grow to be important type add-ons. In addition to staying sophisticated, purses and handbags have been in add-on instead valuable. A lot of valuable devices can be kept. Largely girls want to hold cool bags. Several company help to make definitely innovative handbags currently. Amidst possibly your trendiest bags are generally tan hamilton big logo design and style logo bag. These kind of handbags tend to be cool and final extended around the min. A lot of persons make use of MK Handbags presently.Making standby time with the approaches to ideas in this simple fact write-up may well aid you with your electric camcorder. Even though that you surely have a very high-end cam corder does indeed the majority of completely fundamentally advise you expect for you to simultaneously take a look at it out with striking will try. Capitalize on these kind of ideas just before likely to release your current pictures or perhaps end up receiving these released, as well as insurance policy for the words useful through relatived as well as co-workers, regarding specifically a superb functionality one does!The Wristwatches, relogios, crew started with women placed on. Any brand inside features has been presented in Late 2001. Together with Traditional this is respected by way of a variety of wrist watches with 2004. Memorializing thirty tiring instances in the style very little company opportunity, the actual MK indicate can be productively proven right up & related to because of it in fact is excellent quality on cost-effective cost.

Comment by stephanieg915 19 hours ago

Women really like custom handbags. For him or her it can be more than merely an adjunct. It truly is used to preserve important items inside it and therefore the a sense of reliability of a designer handbag has to be taken into account. It is wise to glance at the sneak peek cautiously while you shop pertaining to handbags online, look into the top quality along with substance it is crafted from, and also linked equipment just like nails, zip fasteners. Searching at a good retailer is pretty important, when you shop for handbags on the web. An array of style handbags and also components for ladies usually are nowadays online. On-line, 1 different http://www.hermesbeltsbirkinkellybag.co.uk/ types of handbags could be efficiently uncover to match your clothes for several events.Sitting anywhere in the world using your computer system plus an connection to the internet, you'll be able to look for handbags on the net. Getting handbags on the net can be utilized by means of ladies around the globe. This will likely likewise save time which is also a considerably convenient way to retail outlet. For every type of grand discounts and deals, you might never get in your local wall plug retailer. Each lady would like to look good though going for any accumulating. Your woman ensures almost all components along with her outfit adequately. Custom made handbags are generally such exclusive accent in which compliments their closet. A fashionable and fashionable handbag can easily go with using clothing perfectly.Today on-line one will discover assortment of girls components discounted and umpteen variety of internet websites that offer handbags alone. When searching for handbags on the internet, you happen to be given a lot more choices, much better offers as well as save moment. On the internet current market while having a bigger selection to pick from in addition to outlet stores is only able to get available an obvious quantity of points. You can certainly uncover many discounts along with deals in a few minutes, when you go shopping on the web with regard to artist handbags, faster than if you search store-to-store. Receive amazing deals and also deals about the better of handbags just by clicking on a button a couple of times.When looking for handbags on the web, you'll find basically virtually no downfalls. Except for that you are unable to actually effect these individuals, any aspect of shopping online is more easy as well as enjoyable. You can read person checks besides searching for the right handbag as well as thorough answers of a typical handbag that interests you. Websites are believed because the most convenient moderate make use of, as a way to purchase fashionable designer handbags.Handbag is supposed to solution with an attire and this is anything each woman demands about. Handbags any time matches your dress, it makes an individual get noticed. You can achieve that by making use of the net data source pertaining to artist handbags. Frequently, you will find ladies who are seeking an issue that rare available in the market then one more authentic. The net industry supplies every woman it doesn't matter the area, without limitations and countless opportunities with all the possibility to obtain designer handbags on the internet on the part around the globe.

Comment by stephanieg915 9 hours ago

Your point of view

You must be signed in to comment.