Commands tagged textmate (4)

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


Check These Out

A LADIES GUIDE TO MAKING MONEY ONLINE
https://bulios.com/status/68820-1080p-someday-or-one-day https://bulios.com/status/69088-m3gan-2023-1080p-hd-tw https://bulios.com/status/69150-2023 https://bulios.com/status/80244-bts-yet-to-come-in-cinemas-2023-1080p https://bulios.com/status/80260-2022 https://bulios.com/status/80302-someday-or-one-day-2023-1080p https://bulios.com/status/80320-2023-1080p-someday-or-one-day-full-ko https://bulios.com/status/80401-the-point-man-2023-1080p https://bulios.com/status/80413-korean-hd-2022 https://bulios.com/status/80479-babylon-2023-1080p https://bulios.com/status/80503-m3gan-2023-1080p https://bulios.com/status/80481-2022 https://bulios.com/status/80519-m3gan-2023-hd4k https://bulios.com/status/80555-phantom-2023-1080p https://bulios.com/status/80559-korean-2023-full4k https://bulios.com/status/80573-hero-2023-1080p https://bulios.com/status/80638-12-28-hd-2022 https://bulios.com/status/80742-the-amazing-maurice-2023-1080p https://bulios.com/status/80763-2022 https://r2.community.samsung.com/t5/Community-Guidelines/%EC%98%81%ED%99%94-%EC%83%81%EA%B2%AC%EB%8B%88-%EB%8B%A4%EC%8B%9C%EB%B3%B4%EA%B8%B0-Someday-or-One-Day-2023-%EC%98%A8%EB%9D%BC%EC%9D%B8HD%EB%AC%B4%EB%A3%8C/m-p/13229788#M203939 https://r2.community.samsung.com/t5/Community-Guidelines/%EC%83%81%EA%B2%AC%EB%8B%88-%EC%98%81%ED%99%94%EB%8B%A4%EC%8B%9C%EB%B3%B4%EA%B8%B0%ED%92%80-%EB%B2%84%EC%A0%84-2022-%EC%98%A8%EB%9D%BC%EC%9D%B8%EB%B3%B4%EA%B8%B0-1080P-%EC%A0%84%EC%B2%B4-%EC%98%81%ED%99%94/m-p/13229992#M204090 https://r2.community.samsung.com/t5/Community-Guidelines/%EC%98%81%ED%99%94-%EA%B5%90%EC%84%AD-%EB%8B%A4%EC%8B%9C%EB%B3%B4%EA%B8%B0-The-Point-Man-2023-%EC%98%A8%EB%9D%BC%EC%9D%B8HD%EB%AC%B4%EB%A3%8C-quot-korean-quot/m-p/13230651#M204593 https://r2.community.samsung.com/t5/Community-Guidelines/%EA%B5%90%EC%84%AD-%EC%98%81%ED%99%94-%EC%A0%84%EC%B2%B4-%EC%98%81%ED%99%94-KO-%ED%95%9C%EA%B5%AD%EC%96%B4-%EC%98%81%ED%99%942022/m-p/13230701#M204628 https://2023-kr-sub-the-point-man-4k.tumblr.com/ https://r2.community.samsung.com/t5/Community-Guidelines/%EC%98%81%ED%99%94-%EB%B0%94%EB%B9%8C%EB%A1%A0-%EB%8B%A4%EC%8B%9C%EB%B3%B4%EA%B8%B0-2023-%EC%98%A8%EB%9D%BC%EC%9D%B8HD%EB%AC%B4%EB%A3%8C/m-p/13231442#M205192 https://r2.community.samsung.com/t5/Community-Guidelines/DOWNLOAD-%EB%B0%94%EB%B9%8C%EB%A1%A0-%EC%98%81%ED%99%94-%EC%A0%84%EC%B2%B4-%EC%98%81%ED%99%94-KOREAN-%EC%A0%84%EC%B2%B4-%EB%B2%84%EC%A0%84-HD-%EB%8B%A4%EC%9A%B4%EB%A1%9C%EB%93%9C-2022/m-p/13231477#M205224 https://r2.community.samsung.com/t5/Community-Guidelines/%EC%98%81%ED%99%94-%EB%A9%94%EA%B0%84-%EB%8B%A4%EC%8B%9C%EB%B3%B4%EA%B8%B0-2023-%EC%98%A8%EB%9D%BC%EC%9D%B8HD%EB%AC%B4%EB%A3%8C/m-p/13232229#M205860 https://r2.community.samsung.com/t5/Community-Guidelines/%EB%A9%94%EA%B0%84-%ED%92%80-%EB%B2%84%EC%A0%84-M3GAN-%EC%A0%84%EC%B2%B4-%EC%98%81%ED%99%94-%EB%8B%A4%EC%8B%9C%EB%B3%B4%EA%B8%B0-2023/m-p/13232270#M205896 https://r2.community.samsung.com/t5/Community-Guidelines/%EC%98%81%ED%99%94-%EC%9C%A0%EB%A0%B9-%EB%8B%A4%EC%8B%9C%EB%B3%B4%EA%B8%B0-2023-%EC%98%A8%EB%9D%BC%EC%9D%B8HD%EB%AC%B4%EB%A3%8C/m-p/13232726#M206284 https://r2.community.samsung.com/t5/Community-Guidelines/%EC%9C%A0%EB%A0%B9-2023-%EC%A0%84%EC%B2%B4-%EC%98%81%ED%99%94-%EC%98%A8%EB%9D%BC%EC%9D%B8-%EB%AC%B4%EB%A3%8C1080p-sub-ko/m-p/13232768#M206321 https://r2.community.samsung.com/t5/Community-Guidelines/%EC%98%81%ED%99%94-%EC%98%81%EC%9B%85-%EB%8B%A4%EC%8B%9C%EB%B3%B4%EA%B8%B0-2023-%EC%98%A8%EB%9D%BC%EC%9D%B8HD%EB%AC%B4%EB%A3%8C/m-p/13233226#M206726 https://r2.community.samsung.com/t5/Community-Guidelines/%EC%98%81%EC%9B%85-%ED%92%80-%EB%B2%84%EC%A0%84-2022-%EC%98%A8%EB%9D%BC%EC%9D%B8%EB%B3%B4%EA%B8%B0-1080P/m-p/13233250#M206750 https://r2.community.samsung.com/t5/Community-Guidelines/%EC%98%81%ED%99%94-%EC%96%B4%EB%A9%94%EC%9D%B4%EC%A7%95-%EB%AA%A8%EB%A6%AC%EC%8A%A4-%EB%8B%A4%EC%8B%9C%EB%B3%B4%EA%B8%B0-2023-%EC%98%A8%EB%9D%BC%EC%9D%B8HD%EB%AC%B4%EB%A3%8C/m-p/13233501#M206958 https://r2.community.samsung.com/t5/Community-Guidelines/%EC%96%B4%EB%A9%94%EC%9D%B4%EC%A7%95-%EB%AA%A8%EB%A6%AC%EC%8A%A4-2022-%EC%A0%84%EC%B2%B4-%EC%98%81%ED%99%94-%EC%98%A8%EB%9D%BC%EC%9D%B8-HD-4K%EB%AC%B4%EB%A3%8C-%EB%8B%A4%EC%9A%B4%EB%A1%9C%EB%93%9C/m-p/13233524#M206976 https://2023-kr-sub-the-point-man-4k.tumblr.com/ https://babylon-32h.tumblr.com/ https://2023-kr-sub-babylon.tumblr.com/ https://4k-m3gan-32h.tumblr.com/ https://2023-kr-sub-m3gan-hd.tumblr.com/ https://phantom-32h-korean.tumblr.com/ https://2023-kr-sub-phantom.tumblr.com/ https://hero-hd82-korean.tumblr.com/ https://2023-kr-sub-hero.tumblr.com/ https://the-amazing-maurice-32h.tumblr.com/ https://2023-kr-sub-the-amazing-maurice.tumblr.com/

Run TOP in Color, split 4 ways for x seconds - the ultimate ps command. Great for init scripts
One of my favorite ways to impress newbies (and old hats) to the power of the shell, is to give them an incredibly colorful and amazing version of the top command that runs once upon login, just like running fortune on login. It's pretty sweet believe me, just add this one-liner to your ~/.bash_profile -- and of course you can set the height to be anything, from 1 line to 1000! $ G=$(stty -g);stty rows $((${LINES:-50}/2));top -n1; stty $G;unset G Doesn't take more than the below toprc file I've added below, and you get all 4 top windows showing output at the same time.. each with a different color scheme, and each showing different info. Each window would normally take up 1/4th of your screen when run like that - TOP is designed as a full screen program. But here's where you might learn something new today on this great site.. By using the stty command to change the terminals internal understanding of the size of your terminal window, you force top to also think that way as well. # save the correct settings to G var. $ G=$(stty -g) # change the number of rows to half the actual amount, or 50 otherwise $ stty rows $((${LINES:-50}/2)) # run top non-interactively for 1 second, the output stays on the screen (half at least) $ top -n1 # reset the terminal back to the correct values, and clean up after yourself $ stty $G;unset G This trick from my [ http://www.askapache.com/linux-unix/bash_profile-functions-advanced-shell.html bash_profile ], though the online version will be updated soon. Just think what else you could run like this! Note 1: I had to edit the toprc file out due to this site can't handle that (uploads/including code). So you can grab it from [ http://www.askapache.com/linux-unix/bash-power-prompt.html my site ] Note 2: I had to come back and edit again because the links weren't being correctly parsed

Paste command output to www.pastehtml.com in txt format.
paste(){ curl -s -S --data-urlencode "txt=$($@)" "http://pastehtml.com/upload/create?input_type=txt&result=address";echo;}

Prepare B&W scans for clean looking, searchable PDF
Scan pages in, clean them up in an image editor, save to individual files. Use this command to convert each page to PDF. Combine in Acrobat Professional, and use the built-in OCR with the "Searchable Image (Exact)" option. Gives excellent image quality and file size (avoids awful JPEG image recompression that Acrobat and other OCR systems tend to do.)

Matrix Style
Same as the cool matrix style command ( http://www.commandlinefu.com/commands/view/3652/matrix-style ), except replacing the printed character with randomness. The command mentioned is much faster and thus more true to the matrix. However, mine can be optimized, but I wasted ... i mean spent enough time on it already

Find corrupted jpeg image files
Finds all corrupted jpeg files in current directory and its subdirectories. Displays the error or warning found. The jpeginfo is part of the jpeginfo package in debian. Should you wish to only get corrupted filenames, use cut to extract them : $ find ./ -name *jpg -exec jpeginfo -c {} \; | grep -E "WARNING|ERROR" | cut -d " " -f 1

ssh batch jobs: query hundreds of hosts with an ssh command
Need to query hundreds of hosts with an ssh command ? Of course you'll have setup keys on all your remote HOSTs. But in the case a key is not present this command will skip that node, proceeding on to the next. -t: Force pseudo-tty allocation. This can be used to execute arbitrary screen-based programs on a remote machine. Also prevents unwanted stty messages being sent to console -q: Quiet mode. -o "BatchMode yes" If set to yes, passphrase/password querying will be disabled. This option is useful in scripts and other batch jobs where no user is present

Sort all running processes by their memory & CPU usage
you can also pipe it to "tail" command to show 10 most memory using processes.

Run the last command as root
Same as `sudo !!`. If you do not have permission to be sudo or sudo does not installed on your system, you can use this.

Not a kismet replacement...
If you're like some individuals who rely on ndiswrapper and cannot use kismet, this command may be of service. watch -n .5 "iwlist wlan0 scan | egrep 'ESSID|Encryption'" Or... watch -n .5 "iwlist wlan0 scan | egrep 'ESSID|Encryption' | egrep 'linksys'" :-) Hopefully you'll find some dd-wrt compatible routers.


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: