Warning

 

Close
Confirm Action

Are you sure you wish to do this?

Cancel Confirm
AR15.COM
9/16/2010 10:27:51 AM EDT
Sorry, I meant sudo rm -rf /
9/16/2010 10:31:48 AM EDT
[#1]
If you forget to do sudo sometime, just do:





sudo !!





to repeat the last command with sudo.



Edit: Or sudo !# where # is a line number in your history.

9/16/2010 10:33:35 AM EDT
[#2]
sudoers!
9/16/2010 10:34:46 AM EDT
[#3]
Quoted:
If you forget to do sudo sometime, just do:

sudo !!

to repeat the last command with sudo.

Edit: Or sudo !# where # is a line number in your history.


Didn't know that, thanks :)
9/16/2010 10:36:21 AM EDT
[#4]
nub...  

boot from cd
chroot /dev/sd# /mnt/
rm -rf /mnt/*

9/16/2010 10:39:36 AM EDT
[#5]






cat /etc/fstab | grep /dev/hda1
/dev/hda1    /               ext3 ro 1  1
Oh, snap! DENIED, sucka!
sudo THIS, muthafucka! Yeah!






 

 
 
9/16/2010 10:41:04 AM EDT
[#6]
Quoted:
nub...  

boot from cd
chroot /dev/sd# /mnt/
rm -rf /mnt/*



Still too weak.

dd if=/dev/urandom of=/dev/sd#
9/16/2010 10:43:07 AM EDT
[#7]
In before the pic of Don Gibb.
9/16/2010 10:44:25 AM EDT
[#8]

9/16/2010 10:45:28 AM EDT
[#9]
sudo is for chickenshit pussies
9/16/2010 10:46:19 AM EDT
[#10]
Quoted:
sudo is for chickenshit pussies


9/16/2010 10:46:30 AM EDT
[#11]


That's funny

Personally I like to "su -" instead of sudo, but that's just me.
9/16/2010 10:48:12 AM EDT
[#12]
quewtfbbq??

English motherfuckers, DO YOU SPEAKS IT?

9/16/2010 10:50:37 AM EDT
[#13]
Quoted:
quewtfbbq??

English motherfuckers, DO YOU SPEAKS IT?



Yes, but it's very abbreviated English.
9/16/2010 10:51:30 AM EDT
[#14]



Quoted:



Quoted:

quewtfbbq??



English motherfuckers, DO YOU SPEAKS IT?







Yes, but it's very abbreviated English.


intAgreed++;



 
9/16/2010 10:53:05 AM EDT
[#15]







9/16/2010 10:53:57 AM EDT
[#16]
Is this one of those code geek threads?
9/16/2010 10:55:29 AM EDT
[#17]
Quoted:

cat /etc/fstab | grep /dev/hda1

/dev/hda1    /               ext3 ro 1  1
Oh, snap! DENIED, sucka!

sudo THIS, muthafucka! Yeah!
     


Still in IDE land in 2010 huh?
9/16/2010 10:55:54 AM EDT
[#18]
Quoted:
Quoted:
nub...  

boot from cd
chroot /dev/sd# /mnt/
rm -rf /mnt/*



Still too weak.

dd if=/dev/urandom of=/dev/sd#


Good luck doing that on a mounted ext3/ext4 filesystem (at least in Linux kernel 2.6+).
I found out that somethings in life are still idiot resistant.  
9/16/2010 10:56:42 AM EDT
[#19]



Quoted:


Is this one of those code geek threads?


yes | rm ~/sourpuss.txt



 
9/16/2010 10:57:40 AM EDT
[#20]
Would this be an opportune time to show off our bat'lths?




9/16/2010 10:58:43 AM EDT
[#21]
Return of the Thin CMD Line...




9/16/2010 10:58:59 AM EDT
[#22]



Quoted:



Quoted:



cat /etc/fstab | grep /dev/hda1




/dev/hda1    /               ext3 ro 1  1
Oh, snap! DENIED, sucka!



sudo THIS, muthafucka! Yeah!

     




Still in IDE land in 2010 huh?


Ooooooold server (still kicking), bitches.



 
9/16/2010 10:59:52 AM EDT
[#23]





I lol'd

 
9/16/2010 11:01:51 AM EDT
[#24]

9/16/2010 11:02:22 AM EDT
[#25]

9/16/2010 11:04:52 AM EDT
[#26]
This thread started as a dupe, then the original got locked just before I unduped this one.
9/16/2010 11:07:12 AM EDT
[#27]

C:\>ls -l

'ls' is not recognized as an internal or external command,

operable program or batch file.





9/16/2010 11:09:41 AM EDT
[#28]
Quoted:

Quoted:
Quoted:

cat /etc/fstab | grep /dev/hda1

/dev/hda1    /               ext3 ro 1  1
Oh, snap! DENIED, sucka!

sudo THIS, muthafucka! Yeah!
     


Still in IDE land in 2010 huh?

Ooooooold server (still kicking), bitches.
 


Do you have separate partitions for everything? A ro / would make life difficult as far as partitioning goes on a normal system. Hell I wouldn't even want to think about trying to get a system to work normally like that.
9/16/2010 11:10:39 AM EDT
[#29]
Quoted:
sudo is for chickenshit pussies


Yeah, I just su to root and get 'er done.

"THIS is my safety, sir."
9/16/2010 11:10:59 AM EDT
[#30]

9/16/2010 11:11:10 AM EDT
[#31]
Quoted:
Sorry, I meant sudo rm -rf /


DOIT DOIT DOIT DOIT!
9/16/2010 11:13:40 AM EDT
[#32]
Useful when young admins have the habit of leaving the root prompt unattended:





# while :

> do

> mkdir foo

> cd foo

> done




9/16/2010 11:16:55 AM EDT
[#33]


that was some funny shit.
9/16/2010 11:22:11 AM EDT
[#34]
CRTPF FILE(ARFCOM/AR15) TEXT('ehh who cares')

take that sukas hahahahahah
9/16/2010 11:28:43 AM EDT
[#35]


Gotta love Randall at Xkcd!
9/16/2010 12:28:54 PM EDT
[#36]
Quoted:
Quoted:
Quoted:
nub...  

boot from cd
chroot /dev/sd# /mnt/
rm -rf /mnt/*



Still too weak.

dd if=/dev/urandom of=/dev/sd#


Good luck doing that on a mounted ext3/ext4 filesystem (at least in Linux kernel 2.6+).
I found out that somethings in life are still idiot resistant.  


I found out that if you accidently push an empty pipe into fmthard the system is kind enough to stay up just long enough for you to realize the error of your ways.  
9/16/2010 12:30:07 PM EDT
[#37]



Quoted:



Quoted:

If you forget to do sudo sometime, just do:



sudo !!



to repeat the last command with sudo.



Edit: Or sudo !# where # is a line number in your history.





Didn't know that, thanks :)


yup nice to know!

 



thanks
9/16/2010 12:31:55 PM EDT
[#38]




NUNCHUKS I SAY!!
9/17/2010 4:39:46 PM EDT
[#39]
I prefer systems where rm -r requires a Y/N prompt, and grm -r doesn't.  
9/18/2010 11:21:46 AM EDT
[#40]





Quoted:



I prefer systems where rm -r requires a Y/N prompt, and grm -r doesn't.  





I tend to set these aliases:





alias cp='cp -i'


alias mv='mv -i'


alias rm='rm -i'





and then if I want a temp unalias for the unprotected tornado cleaning action and no tedium of bouncing on the y key:





\rm -r foo
Also, having been bitten once and badly early in my admin life by a misplaced space:





rm -r * tmp rather than rm -r *tmp





I have this habit that makes use of history expansion:





ls     *tmp


rm -r  !$



The ls allows me a quick eyeball that what I'm going to nuke is what I want to nuke, and executing via !$ avoids a typo.