Beginner - two simple questions please?

Ask a Question related to Sun Solaris, Design and Development.

  1. #1

    Default Beginner - two simple questions please?

    Hello,
    This is my first post so hello to everyone. I have two questions that I
    have been struggling with. I am using release 2.5.1

    1. I thought that to configure the IP default gateway, all you needed to do
    was to create a file called /etc/defaultgateway (all one word) and put the
    address in that file, the address being the only thing in the file. This
    does not work though and I have been racking my brains to figure it out. I
    have rebooted my machine several times and even invented other names for the
    file. No good.

    2. How can I find the size of the disk partitions for the varius partitions.
    For examplem I put the /var partition on slice 4 but cannot remember the
    size of it.

    Thanks from a greatful beginner.

    Steve


    The Oracle Guest

  2. Similar Questions and Discussions

    1. Simple Question From Beginner
      I have created an swf movie, which I embedded to my site. I want my movie to play only once , just when the mouse cursor hovers over this movie...
    2. Simple Questions
      I'm a newbie, and just moved to .NET programming, got confused with how datagrid works. Let say I have datagrid with 3 columns: ID Name Price...
    3. Beginner Flash Questions
      How do you get text an stuff to move across the, or appear little by little, from left to right, or such? Perhaps I am just dumb, but I can't figure...
    4. 2 complete beginner questions
      Hi, I am a complete beginner with a few questions any help will be great 1. what is the difference between bring to the front and a layer? 2....
    5. Beginner needs help -- Simple AspNet Component
      I coded my first asp form and attempted to display a text message from a component. The static text "Our component says:" shows on the aspx page,...
  3. #2

    Default Re: Beginner - two simple questions please?

    The Oracle wrote:
    > Hello,
    > This is my first post so hello to everyone. I have two questions that I
    > have been struggling with. I am using release 2.5.1
    >
    > 1. I thought that to configure the IP default gateway, all you needed to do
    > was to create a file called /etc/defaultgateway (all one word) and put the
    > address in that file, the address being the only thing in the file. This
    > does not work though and I have been racking my brains to figure it out. I
    > have rebooted my machine several times and even invented other names for the
    > file.
    looks like the name

    /etc/defaultrouter

    wasn't among the names you tried. That's what the file should be called :-)


    >
    > 2. How can I find the size of the disk partitions for the varius partitions.
    > For examplem I put the /var partition on slice 4 but cannot remember the
    > size of it.

    df (or df -k to see the output in Kb)

    Or use format/partition/print to see the partition information, or use
    prtvtoc to see the same thing. f will show you the size of the
    filesystem, which is not the same as the size of the partition since
    some of the filesystem is taken up with internal stuff and isn't
    available to the user; also df will only show you the sizes of
    filesystems that are mounted, so won't show you swap space or other raw
    partitions, unallocated space, filesystems that happen not to be mounted
    and so on.


    prtvtoc /dev/rdsk/c0t0d0s0 for instance.

    Tony Walton Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139