Pipe a textfile to vim and move the cursor to a certain line

zcat /usr/share/doc/vim-common/README.gz | vim -g +23 -
This command is more for demonstrating piping to vim and jumping to a specific line than anything else. Exit vim with :q! +23 jumps to line 23 - make vim receive the data from the pipe

1
By: int19h
2009-02-16 01:25:37

What Others Think

In my world, vim opens gzip'd files on it's own: vim -g +23 /usr/share/doc/vim-common/README.gz Since this looks like debian or ubuntu given the doc structure, I'm guessing it does in your world too. If you don't want it to (if you want to view the contents of the gzip), you can run: vim -b --noplugin .gz Then you can xxd and commit evil.
hso · 692 weeks and 2 days ago
hso, you're right, but isn't it cool that one can pipe directly to vim too? :)
int19h · 692 weeks and 1 day ago
https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/   https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/ https://seofox.ir/seo/
seofox · 26 weeks and 5 days ago
hey there, your site is fantastic. I do thank you for work ????????????????
wenilak444 · 14 weeks and 3 days ago
After study a number of the blog articles on your own site now, we truly such as your technique of blogging. I bookmarked it to my bookmark web site list and you will be checking back soon. Pls check out my website at the same time and tell me if you agree. ??
wenilak444 · 13 weeks ago
You can definitely see your skills within the work you write. The sector hopes for even more passionate writers such as you who aren’t afraid to mention how they believe. All the time go after your heart. https://76carat.com/
wenilak444 · 12 weeks and 4 days ago
Youre so cool! I dont suppose Ive read anything in this way before. So nice to find somebody with many original thoughts on this subject. realy i appreciate you for starting this up. this fabulous website is one area that is needed on the internet, an individual if we do originality. beneficial purpose of bringing something new for the net! here
wenilak444 · 12 weeks and 3 days ago
Thanks for helping me to attain new thoughts about computer systems. I also contain the belief that one of the best ways to maintain your laptop in excellent condition is by using a hard plastic-type material case, as well as shell, that will fit over the top of the computer. A majority of these protective gear are usually model specific since they are manufactured to fit perfectly across the natural outer shell. You can buy these directly from the owner, or from third party sources if they are available for your notebook computer, however not all laptop can have a covering on the market. Again, thanks for your ideas. ?????
wenilak444 · 11 weeks ago
I just could not depart your web site prior to suggesting that I actually enjoyed the standard information a person provide for your visitors? Is going to be back often in order to check up on new posts https://voyance-telephone-gaia.com/
wenilak444 · 10 weeks and 4 days ago
I like what you guys are up also. Such intelligent work and reporting! Keep up the superb works guys I’ve incorporated you guys to my blogroll. I think it’ll improve the value of my website . ?????
wenilak444 · 10 weeks and 3 days ago
Hi my friend! I want to say that this article is amazing, nice written and include almost all important infos. I would like to see more posts like this . ??????
wenilak444 · 9 weeks and 3 days ago
Awesome! I appreciate your input to this matter. It has been insightful. my blog: how to eat a girl out ??????????
wenilak444 · 9 weeks and 2 days ago
We are a group of volunteers and starting a new project in our neighborhood. Your blog provided us with valuable information to help us get started|.You have done a great job! Football Match Prediction Software
wenilak444 · 9 weeks and 1 day ago
Hello! I would want to supply a huge thumbs up for any fantastic info you’ve here about this post. We are returning to your website for much more soon. ????????
wenilak444 · 9 weeks and 1 day ago
Thanks for the writeup. I definitely agree with what you are saying. I have been talking about this subject a lot lately with my brother so hopefully this will get him to see my point of view. Fingers crossed! ufabet ???????????
goxah55535 · 9 weeks and 1 day ago
There is noticeably a bundle to know about this. I assume you made certain nice points in features also ufabet ???????????
goxah55535 · 9 weeks and 1 day ago
Superb read, I just passed this onto a friend who was doing a little research on that. And he really bought me lunch because I found it for him smile So let me rephrase that: Thanks for lunch! ufabet ???????????
goxah55535 · 9 weeks and 1 day ago
There are some attention-grabbing points in time in this article but I dont know if I see all of them middle to heart. There may be some validity however I will take hold opinion till I look into it further. Good article , thanks and we wish extra! Added to FeedBurner as well https://adkinstruments.in/categories/waste-water/water-sampler
wenilak444 · 8 weeks and 4 days ago
Directories such given that the Yellow Websites need not list them, so unlisted numbers strength sometimes be alive more harm than financial assistance. Hostinglelo
wenilak444 · 8 weeks and 4 days ago
Articles with informative content like yours are a breath of fresh air. I thoroughly enjoyed every thought you made in your material. I am with you on your original views and unique content. Thank you. https://onohosting.com/cheapwebhosting
wenilak444 · 8 weeks and 4 days ago
I wish I had a dime for every bad article I’ve read lately. I also wish other writers had your talent and style. Thank you. https://sites.google.com/view/buyingspotifyplays/
wenilak444 · 8 weeks and 4 days ago
This is an astonishing entry. Thank you very much for the supreme post provided! I was looking for this entry for a long time, but I wasn’t able to find a trustworthy source. ???????? ?????? ????
wenilak444 · 8 weeks ago
I truly admire everything you website in right here, highly informative and sensible. One issue, I am running Opera on Linux and some of the content are just a little wonky. I understand it’s not a popular, but it’s nonetheless something to watch out for. Just giving you a manages. UFABET
goxah55535 · 7 weeks and 2 days ago
Oh my goodness! a tremendous article dude. Thanks Nonetheless I’m experiencing challenge with ur rss . Don know why Unable to subscribe to it. Is there anyone getting similar rss drawback? Anyone who knows kindly respond. Thnkx KIU Kampala
goxah55535 · 7 weeks and 1 day ago
This is an astonishing entry. Thank you very much for the supreme post provided! I was looking for this entry for a long time, but I wasn’t able to find a trustworthy source. URGENT INDIA VISA
wenilak444 · 6 weeks ago
You made some decent points there. I looked on the web for that problem and found most individuals will go coupled with along with your web site. ???????
wenilak444 · 6 weeks ago
Some people were enthusiastic players or enjoyed music and dancing. Chances are you’ll remember that you were happiest on the running track. Even so, with increasing obligations maybe you have found no time to have pleasure in any of your interests. Are you affected by depression and want to get free from its abysmal depths without lifelong antidepresants? You could attempt and help yourself to overcome depression naturally. Buy Safe Twitch Followers
wenilak444 · 6 weeks ago
A well written post, I just given this onto a colleague who was doing slightly analysis on that. And he indeed purchased me breakfast because I discovered it for him .. thus let me reword that: Thankx for the treat! however yeah Thnx for spending the time to talk concerning this, I feel strongly concerning it and revel in reading a lot of on this topic. If potential, as you become expertise, would you mind updating your blog with a lot of info? it’s very useful on behalf of me. two thumb up for this blog! ?????
wenilak444 · 5 weeks and 6 days ago
I definitely appreciate your website. Thank you for your insights and guidance. ????
wenilak444 · 5 weeks and 6 days ago
I’m very happy to read this. This is the type of details that needs to be given and not the random misinformation that is at the other blogs. Appreciate your sharing this greatest doc. ????
wenilak444 · 5 weeks and 6 days ago
I do not even understand how I stopped up here, however I thought this submit was once good. I do not realize who you’re but certainly you are going to a well-known blogger for those who aren’t already Cheers! ????
wenilak444 · 5 weeks and 3 days ago
Thanks for another great post. Where else could anybody get that kind of information in such a perfect way of writing? I have a presentation next week, and I am on the look for such information. ?????
wenilak444 · 5 weeks and 3 days ago
This appears undeniably remarkable. All of these very small facts are constructed choosing large selection about qualifying measures know-how. Document gift a good deal quite a lot. look at this web site
goxah55535 · 4 weeks and 5 days ago
I’m curious if you ever have problems with what people post? Honestly the internet used to be like a different place, except that recently it seems to have become better. What are your thoughts? [Reply] film.en.streaming
wenilak444 · 3 weeks and 3 days ago
Thanks , I have recently been searching for information approximately this subject for a while and yours is the best I have found out so far. However, what about the bottom line? Are you positive about the supply? http://www.kuaijixy.cn/monitoring-cctv-cameras-can-check-criminal-offenses/">????????????????????????????????
wenilak444 · 2 weeks and 3 days ago
Comfortably, the blog post is during truthfulness a hottest on this subject well known subject matter. I agree with ones conclusions and often will desperately look ahead to your updaters. Saying thanks a lot will not just be sufficient, for ones wonderful ability in your producing. I will immediately grab ones own feed to stay knowledgeable from any sort of update versions. Amazing get the done and much success with yourbusiness results! ?????
wenilak444 · 1 week and 6 days ago
When I originally commented I clicked the -Notify me when new surveys are added- checkbox now when a comment is added I receive four emails with similar comment. Will there be however you possibly can get rid of me from that service? Thanks! IRELAND FAKE ID
wenilak444 · 1 week and 6 days ago
Can I simply say what a relief to search out someone who actually knows what theyre talking about on the internet. You positively know tips on how to deliver an issue to gentle and make it important. More people must read this and understand this aspect of the story. I cant believe youre no more widespread because you positively have the gift. ??????
wenilak444 · 1 week and 3 days ago
You made some first rate points there. I appeared on the web for the difficulty and located most individuals will go along with together with your website. ????? ip camera
wenilak444 · 1 week and 1 day ago
Hello! I would wish to supply a large thumbs up for your excellent info you could have here about this post. I’ll be coming back to your blog site for further soon. ????????????? ???????????
wenilak444 · 1 week and 1 day ago
I happen to be writing to let you understand what a incredible experience our girl encountered studying the blog. She came to find a lot of things, which include what it is like to possess an excellent giving heart to make men and women quite simply learn about certain grueling matters. You actually did more than our own expected results. Many thanks for showing these helpful, trustworthy, revealing and also unique guidance on the topic to Sandra. ????
wenilak444 · 3 days ago
I have learned newer and more effective things by means of your blog. One other thing I’d like to say is that newer personal computer operating systems are inclined to allow extra memory to get used, but they likewise demand more memory simply to function. If a person’s computer can’t handle extra memory and also the newest computer software requires that memory increase, it could be the time to buy a new Laptop. Thanks ???? ????
wenilak444 · 20 hours ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. 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.

Share Your Commands



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: