ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    ifconfig is depreceted

    IT Discussion
    linux
    5
    16
    2.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • tonyshowoffT
      tonyshowoff
      last edited by tonyshowoff

      All you need to know:
      http://serverfault.com/a/458639/220158

      1 Reply Last reply Reply Quote 1
      • scottalanmillerS
        scottalanmiller @Lakshmana
        last edited by

        @Lakshmana said:

        Hi All,
        There is a small issue in DATAONTAP When there is a IF config is tried to use.The error shown as ifconfig is deprecated.Why this error occurs in this OS?can anyone rell me the reason

        You already stated the reason, because it is deprecated. The ifconfig command has been deprecated for many years, but now with the latest OS versions it is more than deprecated, it has been removed. The replacement command for ifconfig is ip addr.

        1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller
          last edited by

          There was a thread with information on this less than a week ago:

          http://www.mangolassi.it/topic/4040/new-commands-in-rhel-centos-7

          1 Reply Last reply Reply Quote 0
          • tonyshowoffT
            tonyshowoff
            last edited by

            Here you go:

            echo "alias ifconfig='ip'" >> ~/.bashrc
            

            Ironically alias is also deprecated in bash.

            scottalanmillerS 1 Reply Last reply Reply Quote 1
            • scottalanmillerS
              scottalanmiller @tonyshowoff
              last edited by

              @tonyshowoff said:

              Here you go:

              echo "alias ifconfig='ip'" >> ~/.bashrc
              

              Ironically alias is also deprecated in bash.

              Thanks goodness.

              1 Reply Last reply Reply Quote 0
              • DashrenderD
                Dashrender
                last edited by

                Wow, ifconfig is gone.. shows how behind I am... I had no idea..but then again I don't use linux much yet.

                tonyshowoffT scottalanmillerS 2 Replies Last reply Reply Quote 0
                • tonyshowoffT
                  tonyshowoff @Dashrender
                  last edited by

                  @Dashrender said:

                  Wow, ifconfig is gone.. shows how behind I am... I had no idea..but then again I don't use linux much yet.

                  Not gone yet, deprecated means it will be gone, and deprecation in the Linux/Unix/POSIX world tends to last decades and decades

                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @Dashrender
                    last edited by

                    @Dashrender said:

                    Wow, ifconfig is gone.. shows how behind I am... I had no idea..but then again I don't use linux much yet.

                    It's gone in some versions. It's been deprecated for quite a while, but few people cared. CentOS 7 removes it, though.

                    1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @tonyshowoff
                      last edited by

                      @tonyshowoff said:

                      @Dashrender said:

                      Wow, ifconfig is gone.. shows how behind I am... I had no idea..but then again I don't use linux much yet.

                      Not gone yet, deprecated means it will be gone, and deprecation in the Linux/Unix/POSIX world tends to last decades and decades

                      I've got lots of systems without it now!

                      tonyshowoffT 1 Reply Last reply Reply Quote 1
                      • tonyshowoffT
                        tonyshowoff @scottalanmiller
                        last edited by

                        @scottalanmiller said:

                        @tonyshowoff said:

                        @Dashrender said:

                        Wow, ifconfig is gone.. shows how behind I am... I had no idea..but then again I don't use linux much yet.

                        Not gone yet, deprecated means it will be gone, and deprecation in the Linux/Unix/POSIX world tends to last decades and decades

                        I've got lots of systems without it now!

                        Me too, but ifconfig is like 32 years old and has been deprecated for 14 years or so... check and mate, SAM

                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @tonyshowoff
                          last edited by

                          @tonyshowoff said:

                          Me too, but ifconfig is like 32 years old and has been deprecated for 14 years or so... check and mate, SAM

                          I mean that they ship that way. Actually removed from the OS.

                          tonyshowoffT 1 Reply Last reply Reply Quote 0
                          • tonyshowoffT
                            tonyshowoff @scottalanmiller
                            last edited by

                            @scottalanmiller said:

                            @tonyshowoff said:

                            Me too, but ifconfig is like 32 years old and has been deprecated for 14 years or so... check and mate, SAM

                            I mean that they ship that way. Actually removed from the OS.

                            CHECK AND MATE I say! I demand satisfaction! I'm going to have to get my duelling mouse and keyboard.

                            coliverC 1 Reply Last reply Reply Quote 0
                            • coliverC
                              coliver @tonyshowoff
                              last edited by

                              @tonyshowoff said:

                              @scottalanmiller said:

                              @tonyshowoff said:

                              Me too, but ifconfig is like 32 years old and has been deprecated for 14 years or so... check and mate, SAM

                              I mean that they ship that way. Actually removed from the OS.

                              CHECK AND MATE I say! I demand satisfaction! I'm going to have to get my duelling mouse and keyboard.

                              I have a power glove somewhere you can slap him with.

                              1 Reply Last reply Reply Quote 2
                              • scottalanmillerS
                                scottalanmiller
                                last edited by

                                Did someone say dueling mouse?

                                dueling mouse

                                coliverC 1 Reply Last reply Reply Quote 2
                                • coliverC
                                  coliver @scottalanmiller
                                  last edited by

                                  @scottalanmiller said:

                                  Did someone say dueling mouse?

                                  dueling mouse

                                  I can't upvote this enough.

                                  1 Reply Last reply Reply Quote 0
                                  • 1 / 1
                                  • First post
                                    Last post