Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Source (watch out)
Results 1 to 4 of 4

Thread: Source (watch out)

  1. #1
    Associate
    Join Date
    Jun 2004
    Location
    The Matrix
    Posts
    34

    Source (watch out)

    Watch out with source - basically it does the same as sh: execute a file that doesn't necessarily have the execute flag. I'm saying this because I killed my LFS system after running 'source .bash_history'. i used tab completion and had my .bash_profile in another dir than I thought. And I was root (though that wasn't a mistake).
    It rendered my system unusable...
    Sam

  2. #2
    Mentor jro's Avatar
    Join Date
    May 2004
    Location
    Pennsylvania, USA
    Posts
    1,206
    I have never in fact used source before. I had to drop to the man page to find out what it was supposed to do. Interesting, I don't think I would ever use this.
    jro -
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

    Linux counter#:213782
    GnuPG ID: 406238E7

  3. #3
    Guest
    Hahahahahahahahahahahaha Thats awesome. Not that it happened to you, but that it happened in general.

    I'd hate to think of what would happen if I ran my bash_history file....

  4. #4
    Advisor
    Join Date
    Apr 2004
    Location
    orlando
    Posts
    608
    Quote Originally Posted by jro";p="4156
    I have never in fact used source before. I had to drop to the man page to find out what it was supposed to do. Interesting, I don't think I would ever use this.
    it's useful in scripts for "including" other files.

Similar Threads

  1. so...like...umm...watch this
    By mojo jojo in forum General Chat
    Replies: 2
    Last Post: 03-02-2006, 11:59 AM
  2. Cant watch straming videos
    By mojo jojo in forum Linux - General Topics
    Replies: 4
    Last Post: 10-16-2003, 06:24 AM
  3. Watch Anime Online
    By Ashcrow in forum General Chat
    Replies: 19
    Last Post: 07-11-2002, 10:28 PM
  4. Watch application
    By CP in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 06-11-2002, 02:11 AM
  5. Hell yes, awesome watch!
    By Feztaa in forum General Chat
    Replies: 20
    Last Post: 12-05-2001, 06:38 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •