Re-execute a command using a saved /proc/pid/cmdline file

tail -zn+2 $CMDLINE_FILENAME | xargs -0 $COMMAND
Replace $CMDLINE_FILENAME with the name of the cmdline file you copied from /proc/pid, and $COMMAND with the command to execute with those arguments.

-2
By: flarn2006
2020-06-23 05:31:45

What Others Think

nice command
Garliz · 17 weeks and 2 days ago
Hello Mate - This is amazing piece of work and give me informative insights about subject matter. I would love to read more about your work to enhance my knowledge. Further, to get best TSplus Coupon Code , please visit out website www.uttercoupons.com.
adam062 · 16 weeks and 1 day ago
Hello Mate - This is amazing piece of work and give me informative insights about subject matter. I would love to read more about your work to enhance my knowledge. Further, to get best Carter's Coupon Codes , please visit out website www.uttercoupons.com.
adam062 · 16 weeks and 1 day ago
Hello Mate - This is amazing piece of work and give me informative insights about subject matter. I would love to read more about your work to enhance my knowledge. Further, to get best Promo code for stadium goods , please visit out website www.uttercoupons.com.
adam062 · 16 weeks and 1 day ago
I didn't have any idea about it. Thanks for sharing this. Click Here
AndreasCarter · 15 weeks ago
Amazing command info, Get best law essay writing help for students at cheap price.
stephenhawking · 14 weeks and 5 days ago
Let's play with us. We can always have great time https://spidersolitaire247.co
Fiona99 · 14 weeks and 4 days ago
Let's play with us. We can always have great time spider solitaire
Fiona99 · 14 weeks and 4 days ago
Amazing command info, Get best nursing essay help UK for students at cheap price.
stephenhawking · 14 weeks and 4 days ago
nice informationtélécharger winrar
win123 · 13 weeks and 5 days ago
This is great Click Here
SaraCarl · 12 weeks and 6 days ago
Thank YOU for posting that it could be just the thing to give inspiration to someone who needs it! Keep up the great work! Onmovies apk
OnmoviesApk · 9 weeks and 6 days ago
Everyone who is even a little interested in needlework has heard about polymer clay. At any hand-made fair there will certainly be jewelry made from it of simply incredible beauty https://spinningpots.com/clay-sculpting-for-beginners/
goyate · 9 weeks ago
Everyone who is even a little interested in needlework has heard about polymer clay. At any hand-made fair there will certainly be jewelry made from it of simply incredible beauty https://spinningpots.com/clay-sculpting-for-beginners/
goyate · 9 weeks ago
tree trimming .. tree surgeon Leeds
saeed20 · 7 weeks and 1 day ago
I'm not sure what this command is for. I just hope there's an explanation behind it. Thank you for sharing and please check this http://wichitafallstreeremoval.com/services/">tree removal service in Wichita Falls, TX. Please reach out if you need such a service.
GarryE · 5 weeks and 2 days ago
great content! will recommend this site to my friends
looneyhans · 1 day 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: