Search results

  1. B

    Where does BASH_ENV get set?

    Thanks for the reply. Unfortunately, I'm still a bit confused on on the subject. I hope you're ok with some follow up questions. 1) It sounds like you're saying if a script is getting started, the shell in the shebang will read the startup /etc/bashrc & ~/.bashrc scripts in non-interactive...
  2. B

    Where does BASH_ENV get set?

    I'm trying to understand how the $BASH_ENV variable gets set in a Red Hat installation. I've read the GNU page on Bash Startup Files. It states it's Invoked non-interactively and says and goes on to say But it doesn't say how BASH_ENV is read into the environment. I suspect it means when...
  3. B

    Trying to understand TCP/IP PDU sizes

    I saw where it mentioned a 64 octet header, which caused me to dig into every header I could find in the TCP/IP stack to see if a protocol actually had 64 octet header. Not going to lie, can't say I like the idea of an unmentioned hypothetical 64 octet header in this RFC... But I guess it is...
  4. B

    Trying to understand TCP/IP PDU sizes

    I found RFC 1594, which attempts to define these terms. It has 2 separate definitions for datagram & has a definition for packet, but doesn't specify what a segment is. The term "IP datagram" is at odds with what I've seen in diagrams, books, etc about network/internet layer "IP packets...
  5. B

    Trying to understand TCP/IP PDU sizes

    First... thank you for your assistance and replying! Unfortunately, I'm a very lost. I've read RFC 791 several times, and I've been examining headers of the network/internet layer and I can't figure out where those extra 4 octets should appear. Every thing I've seen has the maximum header at...
  6. B

    Trying to understand TCP/IP PDU sizes

    Thanks for the reply. The 2 points out of your reply I'd like to clear up if we could. 1) I'm assuming the term datagram here is analogous with an IP Packet at the Internet Layer of the TCP/IP model 2) If we're talking about an IP packet, how is the header 64 octets? My understanding is the...
  7. B

    Trying to understand TCP/IP PDU sizes

    I'm trying to understand the PDU sizes as it traverse the TCP/IP model. The way I'm reading these RFC's, (RFC 791) is the IP protocol is required to accept a "datagram" of 576 bytes. My interpretation of the term datagram is it's equivalent to a payload. So I'm trying to take that value and...
  8. B

    Confused by 'ps' output

    Thanks in advance to anyone that can offer me any guidance on my questions... Which is about the numerical value I'm seeing in the priority (PR PRI) column of the 'ps -el' output From what I've read... I'd expect to see a value fall within the range of 1 - 139 for both processes and kernel...
  9. B

    How to identify a block device buffer size

    Thanks for the reply. Although I might have been unclear on what I was asking. I'm trying to figure out how to find the buffer size for the block devices in my machine Reading through the man page, the options say --getpbsz "Get physical block (sector) size." --getbsz "Print blocksize in...
  10. B

    How to identify a block device buffer size

    Been reading about character & block devices... and I want to figure out how to identify the /dev/sda block device buffer size in my virtual machine (RHEL). I believe this is found in the 'blockdev --report' output under the 'BSZ' field Can someone confirm or deny this? If I'm wrong could...
  11. B

    Where are functions stored in a Linux shell?

    For some reason I'm not conveying my thoughts I've very well aware functions are typically stored in a startup script like /etc/profile or /$HOME/.bashrc... And those defined functions are read into a shell's memory when a user logs in... What I'm attempting to identify is the name of the...
  12. B

    Where are functions stored in a Linux shell?

    Thanks for the reply.... My original question might have been a bit ambiguous... So let me try to clear that up I mean functions I know how to create a function, and where the shell reads them from. My question is where are they stored in the shell itself once they've been read. Aliases...
  13. B

    Where are functions stored in a Linux shell?

    Thanks for any advice anyone can offer me on my question Is there's a hash table where defined shell functions are kept? If so, what is it called? So basically I'm wondering where in a shell (BASH) functions are stored. I know I can use the declare command to view them, but I suspect there is...
Top