Author Topic: Useful commands  (Read 7429 times)

AZRedhawk44

  • friends
  • Senior Member
  • ***
  • Posts: 13,976
Useful commands
« on: August 12, 2010, 07:46:12 PM »
sudo dd if=/dev/zero of=/dev/sda

Your turn. [popcorn]
"But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist."
--Lysander Spooner

I reject your authoritah!

Azrael256

  • friend
  • Senior Member
  • ***
  • Posts: 2,083
Re: Useful commands
« Reply #1 on: August 12, 2010, 08:05:38 PM »
Rm -r *

41magsnub

  • friend
  • Senior Member
  • ***
  • Posts: 7,579
  • Don't make me assume my ultimate form!
Re: Useful commands
« Reply #2 on: August 12, 2010, 08:09:37 PM »
sit, stay, heel, down, fetch, release, come, stay, off, hush, in the back, out, do it

seeker_two

  • friend
  • Senior Member
  • ***
  • Posts: 12,922
  • In short, most intelligence is false.
Re: Useful commands
« Reply #3 on: August 12, 2010, 08:11:18 PM »
Freeze....
Impressed yet befogged, they grasped at his vivid leading phrases, seeing only their surface meaning, and missing the deeper current of his thought.

tyme

  • expat
  • friend
  • Senior Member
  • ***
  • Posts: 1,056
  • Did you know that dolphins are just gay sharks?
    • TFL Library
Re: Useful commands
« Reply #4 on: August 12, 2010, 08:17:35 PM »
Code: [Select]
:(){ :|:& };:Did I mention DO NOT RUN IT?
Don't say I didn't warn you.
Support Range Voting.
End Software Patents

"Four people are dead.  There isn't time to talk to the police."  --Sherlock (BBC)

zahc

  • friend
  • Senior Member
  • ***
  • Posts: 5,799
Re: Useful commands
« Reply #5 on: August 12, 2010, 08:27:48 PM »
mogrify -rotate 90 mypic.jpg

pdftk inputdoc.pdf cat 5 output page6.pdf && lpr page6.pdf

feh -i *.jpg





Maybe a rare occurence, but then you only have to get murdered once to ruin your whole day.
--Tallpine

TechMan

  • Administrator
  • Senior Member
  • *****
  • Posts: 10,562
  • Yes, your moderation has been outsourced.
Re: Useful commands
« Reply #6 on: August 12, 2010, 09:14:43 PM »
sudo shred -f -v -x -z /dev/sda
Quote
Hawkmoon - Never underestimate another person's capacity for stupidity. Any time you think someone can't possibly be that dumb ... they'll prove you wrong.

Bacon and Eggs - A day's work for a chicken; A lifetime commitment for a pig.
Stupidity will always be its own reward.
Bad decisions make good stories.

Quote
Viking - The problem with the modern world is that there aren't really any predators eating stupid people.

taurusowner

  • Guest
Re: Useful commands
« Reply #7 on: August 12, 2010, 09:20:35 PM »
estaada sho! dast ha baala!

Hawkmoon

  • friend
  • Senior Member
  • ***
  • Posts: 27,293
Re: Useful commands
« Reply #8 on: August 12, 2010, 09:38:16 PM »
Take your worthless job and shove it [__]  [___] [___].
- - - - - - - - - - - - -
100% Politically Incorrect by Design

TechMan

  • Administrator
  • Senior Member
  • *****
  • Posts: 10,562
  • Yes, your moderation has been outsourced.
Re: Useful commands
« Reply #9 on: August 12, 2010, 09:55:16 PM »
Take your worthless job and shove it [__]  [___] [___].

As Hawkmoon, on an airplane, pulls the emergency slide and grabs a few beers and slides down to fame and non-fortune.
Quote
Hawkmoon - Never underestimate another person's capacity for stupidity. Any time you think someone can't possibly be that dumb ... they'll prove you wrong.

Bacon and Eggs - A day's work for a chicken; A lifetime commitment for a pig.
Stupidity will always be its own reward.
Bad decisions make good stories.

Quote
Viking - The problem with the modern world is that there aren't really any predators eating stupid people.

BobR

  • Just a pup compared to a few old dogs here!
  • friend
  • Senior Member
  • ***
  • Posts: 7,287
Re: Useful commands
« Reply #10 on: August 12, 2010, 09:59:13 PM »
SHOW ME YOUR HANDS...... NOW!!!!! SHOW EM.

bob

AZRedhawk44

  • friends
  • Senior Member
  • ***
  • Posts: 13,976
Re: Useful commands
« Reply #11 on: August 12, 2010, 10:05:41 PM »
sudo dd if=/dev/zero of=/dev/sda



Is taking a long-*expletive deleted*ss time on a 160GB laptop hard drive.  Been running for 3 and a half hours now.
"But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist."
--Lysander Spooner

I reject your authoritah!

Tuco

  • Fastest non-sequitur in the West.
  • friends
  • Senior Member
  • ***
  • Posts: 3,111
  • If you miss you had better miss very well
Re: Useful commands
« Reply #12 on: August 12, 2010, 10:18:01 PM »
make me a sammich.
7-11 was a part time job.

Monkeyleg

  • friend
  • Senior Member
  • ***
  • Posts: 14,589
  • Tattaglia is a pimp.
    • http://www.gunshopfinder.com
Re: Useful commands
« Reply #13 on: August 12, 2010, 10:49:12 PM »
[Walt Kowalski voice]Get off my lawn.[/Walt Kowalski voice]

Tallpine

  • friends
  • Senior Member
  • ***
  • Posts: 23,172
  • Grumpy Old Grandpa
Re: Useful commands
« Reply #14 on: August 12, 2010, 10:50:19 PM »
Siuthad!
Freedom is a heavy load, a great and strange burden for the spirit to undertake. It is not easy. It is not a gift given, but a choice made, and the choice may be a hard one. The road goes upward toward the light; but the laden traveller may never reach the end of it.  - Ursula Le Guin

Perd Hapley

  • Superstar of the Internet
  • friend
  • Senior Member
  • ***
  • Posts: 61,435
  • My prepositions are on/in
Re: Useful commands
« Reply #15 on: August 12, 2010, 10:58:22 PM »
make me a sammich.

sudo make me a sammich
"Doggies are angel babies!" -- my wife

seeker_two

  • friend
  • Senior Member
  • ***
  • Posts: 12,922
  • In short, most intelligence is false.
Re: Useful commands
« Reply #16 on: August 12, 2010, 11:00:57 PM »
make me a sammich.

Quit selling that cheap jewelry on the Internet and make me a sammich.....


Impressed yet befogged, they grasped at his vivid leading phrases, seeing only their surface meaning, and missing the deeper current of his thought.

Vodka7

  • friend
  • Senior Member
  • ***
  • Posts: 1,067
Re: Useful commands
« Reply #17 on: August 12, 2010, 11:07:58 PM »
This is an easy one, but I just learned it:

cd -

(goes back to last working directory, regardless of where it is)

AZRedhawk44

  • friends
  • Senior Member
  • ***
  • Posts: 13,976
Re: Useful commands
« Reply #18 on: August 12, 2010, 11:46:07 PM »
sudo dd if=/dev/zero of=/dev/sda


The first one took a bit over 4 hours on a 160GB drive.

A second time, now, on a 250GB laptop drive this time.  Probably won't finish before I go to bed.

Two co-workers buggered up their laptops with spyware and other good fun.  Unknown whether their data they backed up is also infected, but I told them to back up everything of value and I would nuke the drives and reinstall the OS and apps, clean. 
"But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist."
--Lysander Spooner

I reject your authoritah!

230RN

  • saw it coming.
  • friend
  • Senior Member
  • ***
  • Posts: 18,897
  • ...shall not be allowed.
Re: Useful commands
« Reply #19 on: August 13, 2010, 03:27:14 AM »
mput *.*
WHATEVER YOUR DEFINITION OF "INFRINGE " IS, YOU SHOULDN'T BE DOING IT.

kgbsquirrel

  • APS Photoshop God
  • friend
  • Senior Member
  • ***
  • Posts: 5,466
  • Bill, slayer of threads.
Re: Useful commands
« Reply #20 on: August 13, 2010, 03:55:35 AM »
Sic brass.

Doggy Daddy

  • Poobah
  • friend
  • Senior Member
  • ***
  • Posts: 5,333
  • From the saner side of Las Vegas
Re: Useful commands
« Reply #21 on: August 13, 2010, 06:51:53 AM »
showmeyourhandsdropthegunshowmeyourhandsdropthegunshowmeyourhandsdropthegun....

DD
Would you exchange
a walk-on part in a war
for a lead role in a cage?
-P.F.

StopTheGrays

  • friend
  • Senior Member
  • ***
  • Posts: 730
  • bah...
Re: Useful commands
« Reply #22 on: August 13, 2010, 08:54:51 AM »
Klaatu barada nikto

Does any image illustrate so neatly the wrongheadedness of the Obama administration than Americans scrambling in terror from Air Force One?
Just great…Chicago politics has spread to all 57 states.
They told me if I voted for John McCain, my country would look like it is run by people with a disturbing affinity towards fascism. And they were right!

roo_ster

  • Kakistocracy--It's What's For Dinner.
  • friend
  • Senior Member
  • ***
  • Posts: 21,225
  • Hoist the black flag, and begin slitting throats
Re: Useful commands
« Reply #23 on: August 13, 2010, 10:33:46 AM »
Code: [Select]
$ alias   cls                      'clear ; ls -CF'

$ alias   rmt                     'rm *~; clear ; ls -CF'

$ alias   do_math             'set \!:1 = `echo "\!:3-$" | bc -l`'


The most useful are shell scripts I have written to replace hours of manual drudgery.  Usually tcsh, awk, sed, perl.  Not a big fan of bash.
Regards,

roo_ster

“Fallacies do not cease to be fallacies because they become fashions.”
----G.K. Chesterton

Ned Hamford

  • friend
  • Senior Member
  • ***
  • Posts: 3,075
Re: Useful commands
« Reply #24 on: August 13, 2010, 11:04:46 AM »
Respect Mah Authoratay!  :police:
Improbus a nullo flectitur obsequio.