LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-26-2014, 02:55 PM   #46
LinBox2013
Member
 
Registered: Sep 2013
Location: Southern Kentucky
Distribution: Arch
Posts: 119

Rep: Reputation: 45

I remember back around 1999 when I was new to linux. I was very ignorant.

I could not get X to work no matter what I did (limited knowledge). So, I hit up different places. I seen a signature, it read something like:

"When all else fails, rm -f / seems to always fix the problem"

So after beating the keyboard to death all night, I though all else is failing and tried it.

We all know how that went...
 
Old 10-26-2014, 04:30 PM   #47
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 814

Rep: Reputation: 265Reputation: 265Reputation: 265
On the aforementioned home server, trying to run 2 WinXP VMs at the same time with 3 GB of RAM. (Each VM is allocated 1GB RAM, but I apparently didn't think about any overhead.) One VM (the "experimental" one where I do stuff that might potentially infect something, like software i don't trust) was running just fine. Then I tried to start the other one (the "base" one that I just clone if I need an "experimental" one). And it's been about 10 minutes since then. The hard drive light has been solid on for that time, and I can't even SSh into it right now. Maybe when the second VM finishes booting it might calm down...

I'm sure it doesn't help that my swap and /home are on the same hard drive...
 
Old 10-26-2014, 07:13 PM   #48
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 3,137

Rep: Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855Reputation: 855
I once encrypted a 1TB drive and thought I'd secured all my data - until I forgot the password and spent a week trying to recover the data, I gave up in the end, luckily most of the data was replacable.
 
Old 10-27-2014, 11:37 AM   #49
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
Quote:
Originally Posted by LinBox2013 View Post
I remember back around 1999 when I was new to linux. I was very ignorant.

I could not get X to work no matter what I did (limited knowledge). So, I hit up different places. I seen a signature, it read something like:

"When all else fails, rm -f / seems to always fix the problem"

So after beating the keyboard to death all night, I though all else is failing and tried it.

We all know how that went...
LOL... listen, I've done it to a contractor at work. This guy worked for Seimens, on a multi-bullion dollar project for my employer to modernize a century old relay based system (the joke is all this multi-billion dollar project is, is a computer based, GUI overlay on top of the old relay based system... so both systems need to always be functional).

The OS was Solaris 8 (and this was in 2011, the system just starting to be used, and was supposed to be a state of the art system!).

The one guy was upgrading the software, using a projector in a meeting room so I saw everything he was doing.

Me: "I heard it's really cool if do run 'rm -fr /' at the shell prompt. Ever do that?"
Contractor dude: "Oh yeah?" in a heavy German accent;

and proceed to type 'rm -fr' when I stopped him. I told him it was bad, but never told him why.

My supervisor told me I would have lost my job. Me, who working in a civil service, non-IT or any computer related field, and only making like $60 grand a year. Not the dude who's company is being paid billions and their staff obviously don't know basic UNIX.

I'm not sure if the 'I'm an idiot' moment would come from me even playing such a joke, or for me expecting the contractor's employee who's running commands as root to know what he's doing.
 
Old 10-27-2014, 12:21 PM   #50
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,877
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by goumba View Post
LOL...
I'm not sure if the 'I'm an idiot' moment would come from me even playing such a joke, or for me expecting the contractor's employee who's running commands as root to know what he's doing.
I was close to replying to LinBox2013's post about someone having that in their signature, to say that it is a horrific thing for someone to have in their signature.

They were upgrading the system and didn't know basic commands! Lovely. And Solaris 8 was End of Life like two years ago. But I've seen weirder things. I think we've all been in a similar position where we could've handled that better but if your job function was totally unrelated to their actions, you'd be on the short end of the stick were you to just note to management that the contractor wasn't the sharpest tack.

Those with knowledge, please never make system destructive jokes like that. You never know how far they'll go.
 
1 members found this post helpful.
Old 10-27-2014, 12:50 PM   #51
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,922
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Member Response

Hi,

I tell users to 'man command' when in doubt and do not assume anything.

Here at LQ, we take this type of presentation serious. When possible, we will attempt to get the member to change their sig by presenting the obvious. If the member does not respond or refuses then we will remove the violation/problem from their sig. We do try to monitor things here at LQ but without our members reporting such issues it is nearly impossible.
 
2 members found this post helpful.
Old 10-27-2014, 01:55 PM   #52
Tadaen
Member
 
Registered: Sep 2005
Distribution: Arch
Posts: 210

Rep: Reputation: 39
Aside from some of my great embarrasing forum posts, responding to something that was clearly in my head... One of my winners long time ago was not knowing what the .directory file was in every folder. So I got the bright idea to do a rm */.directory on my backup. For some random reason I used an -r switch and instead of */.directory I did a rm -r * /.directory. That space + r switch wiped out my only backup of my stuff. It was all replaceable and I had been planning on deleting my ill gotten goods anyway, legalizing my collection of music and movies but it was a big annoyance.

For what it's worth I still don't know what the .directory file is for, don't care anymore though. It's invisible so I don't think about it, lest I wipe something out again. I now maintain 2 mirrors of my data partition so this can't happen again.

*EDIT* To clarify. This was done on my only backup at the time. And as I had just done a fresh install of a different distro I hadn't copied the backup into place on the laptop itself, so blasted my only source of my data partition. This event is what led me to creating a data specific partiton and linking the folders in it directly to my /home/$USER. I can re install at will (albeit no reason to anymore) and as long as I'm cautious when setting partitions to use and such my stuff is always on the ssd in my laptop.

Last edited by Tadaen; 10-27-2014 at 02:33 PM.
 
Old 10-27-2014, 01:59 PM   #53
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Quote:
Originally Posted by Tadaen View Post
For what it's worth I still don't know what the .directory file is for, don't care anymore though. It's invisible so I don't think about it, lest I wipe something out again. I now maintain 2 mirrors of my data partition so this can't happen again.
Are you asking about the "." directory, or some hidden directory on your system called ".directory"?
 
Old 10-27-2014, 02:06 PM   #54
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Quote:
For what it's worth I still don't know what the .directory file is for,
Storing posix permissions on a vfat filesystem?
Quote:
don't care anymore though
oh - ok
 
Old 10-27-2014, 02:09 PM   #55
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,877
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by descendant_command View Post
Storing posix permissions on a vfat filesystem?
I don't think it's that, but don't know and do care at least for knowledge. Go ahead eggroll, because I think they were talking about the "." directory. What's the history of it and what's it for?
 
Old 10-27-2014, 02:13 PM   #56
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
I'm guessing that the answer is in this thread (first one I saw that looked promising on Google):
http://forums.opensuse.org/showthrea...irectory-files
I tend to think it's the file manager creating them to store meta information. I know I don't get them using Thunar on XFCE but I think I have seen them in the past under KDE.
 
Old 10-27-2014, 02:19 PM   #57
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,877
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by 273 View Post
I'm guessing that the answer is in this thread (first one I saw that looked promising on Google):
http://forums.opensuse.org/showthrea...irectory-files
I tend to think it's the file manager creating them to store meta information. I know I don't get them using Thunar on XFCE but I think I have seen them in the past under KDE.
I believe as long as my Linux/Unix memory has been there have been "." and ".." directories. That could be me embellishing, I did use Unix as early as the 80's; however I'd say my true rememberance of seeing both "." and ".." has been probably seeing it in "ls -a" commands under Linux in the past 10 or so years. Meanwhile, I'm positive that the "." convention makes a file or directory hidden to normal ls commands and has always been the case back to at least the 80's memories that I have. I believe the explanation will point back towards System V. I would NOT remove "." and ".." just because I don't want to see them. Not saying you're saying that, but some answers in that thread implied that. I also don't think it has anything to do with VFAT, but that's just my guess.
 
Old 10-27-2014, 02:23 PM   #58
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,877
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
See Pargraph #8
 
Old 10-27-2014, 02:24 PM   #59
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by rtmistler View Post
I believe as long as my Linux/Unix memory has been there have been "." and ".." directories. That could be me embellishing, I did use Unix as early as the 80's; however I'd say my true rememberance of seeing both "." and ".." has been probably seeing it in "ls -a" commands under Linux in the past 10 or so years. Meanwhile, I'm positive that the "." convention makes a file or directory hidden to normal ls commands and has always been the case back to at least the 80's memories that I have. I believe the explanation will point back towards System V. I would NOT remove "." and ".." just because I don't want to see them. Not saying you're saying that, but some answers in that thread implied that. I also don't think it has anything to do with VFAT, but that's just my guess.
To clarify I am not talking about the "special" directories referred to as "." and ".." -- they are a system convention to refer to a directory and its container, respectively. I am referring to directories (actually, thinking about it, they're probably files) called ".directory", the dot making them hidden, which can be found on some systems which, as far as I can tell, are created by a file manager for metadata.
 
Old 10-27-2014, 04:54 PM   #60
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,770

Rep: Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210
A Google search
Code:
file ".directory"
(with the quotes as shown) yields plenty of relevant hits. That file is used by KDE for the folder viewing settings. http://www.file-extensions.org/directory-file-extension
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 11.10 Freezes short moments Dummy-in-Linux Ubuntu 0 06-02-2012 09:36 AM
my funniest video-game moments newbiesforever General 6 05-21-2009 02:30 PM
LXer: Memorable Linux moments of 2008 LXer Syndicated Linux News 1 12-25-2008 10:53 AM
Geek moments MensaWater General 29 05-26-2007 06:29 AM
Screen blanks every few moments regardless. TitaniumTaz SUSE / openSUSE 11 03-01-2005 06:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration