Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2012
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Run application through terminal

    Hi,
    I have a little question.

    When I run application through the terminal (eg: 'sudo firefox'),
    it takes more memory than running it directly?




  2. #2
    Join Date
    Dec 2011
    Posts
    71
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Rep Power
    2
    Why would anyone ever run a browser like firefox as root (with sudo)??
    I can't think of a reason, but there are lots of security reasons to not do it.

    As for your question, I don't think so. Or if there is, it's only a few bytes for an extra copy of the environment.

    I start most things from the command line. In fact, I have a little script name ff which I use to start firefox:
    Code:
    #!/bin/sh
    exec /usr/bin/firefox "$@" &>/dev/null &

  3. The Following User Says Thank You to KenJackson For This Useful Post:

    shaiang (03-21-2012)

  4. #3
    Join Date
    Mar 2012
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Thank you for your reply,probably it was a bad example.
    My question has nothing to do with running firefox with sudo, i never doing it.
    Actually i'm doing the same as you do, little scripts that run applications like firefox, eclipse...
    The reason i asked this is, lately my computer's running slow and i thought it might be the reason for that.

    10X.

 

 

Similar Threads

  1. Disable annoying bell in Gnome Terminal
    By News in forum Linux News
    Replies: 0
    Last Post: 02-21-2012, 08:05 AM
  2. How to start application quickly?
    By carbon333 in forum General Linux
    Replies: 0
    Last Post: 02-16-2012, 02:35 PM
  3. IM from the Terminal: 2 Great Applications
    By Fred in forum Linux News
    Replies: 0
    Last Post: 11-30-2011, 08:50 PM
  4. Replies: 0
    Last Post: 11-15-2011, 08:00 AM
  5. Replies: 0
    Last Post: 11-04-2011, 07:01 AM

Tags for this Thread

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
  •  
           








Check out Linux Central for Linux software and other goodies!





» Stats

Members: 3,533
Threads: 3,911
Posts: 9,419
Top Poster: Fred (1,486)
Welcome to our newest member, bmavus

» Links



Powered by vBadvanced CMPS