LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-14-2017, 09:25 PM   #1
KCBL
LQ Newbie
 
Registered: Apr 2017
Posts: 7

Rep: Reputation: Disabled
Breaking Old Standards


I just installed arch linux in a VM and everything is fine. Arch is pretty impressive and really cool.

I just have two caveats with arch. Some commands are not linux standards. So far, I only encountered two, but there could be more or not.

I opened the terminal to do a quick netstat to see what ports are open and netstat wasn't available. A quick google search says it is now ss. The other one is ifconfig, now ip.

The second caveat is stating services. The old standard that I used for years when I came to linux was /etc/init.d/service-name start|stop|restart. Now it's systemctl.

If you're used to old standards be prepared to be re-schooled with arch. The good news it is just a few changes to learn.

So far, ip and ss are the new replacements in arch. Are there others?

Thanks in advance.

Last edited by KCBL; 04-14-2017 at 09:27 PM.
 
Old 04-14-2017, 09:36 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,431
Blog Entries: 25

Rep: Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438
ip and ss are not necessarily Arch things. Yes, they are relatively new commands, but they are relatively new Linux commands, not new Arch commands.

Both are included in Slackware, Debian, and CentOS, for example, not one of which can be accused being bleeding edge (and they are probably in many other distros, but those are ones I can test right now).

Last edited by frankbell; 04-14-2017 at 09:43 PM.
 
1 members found this post helpful.
Old 04-14-2017, 10:04 PM   #3
KCBL
LQ Newbie
 
Registered: Apr 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
ip and ss are not necessarily Arch things. Yes, they are relatively new commands, but they are relatively new Linux commands, not new Arch commands.
That's what I meant to to say. But you said it better

When you're used to using certain commands for years, I mean years. You get used to them, you expect them to be in all linux distros.

It's good to learn new things so you can deal with systemd distros and those new command replacements.

Thanks frank for the reply +1
 
Old 04-14-2017, 10:10 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,431
Blog Entries: 25

Rep: Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438Reputation: 4438
Quote:
When you're used to using certain commands for years, I mean years. You get used to them, you expect them to be in all linux distros.
This I get.

I'm still learning my way around the ip command. As an aside, I find its output to be much less pleasingly formatted than the output of ifconfig, but I'm sure they'll get there eventually.

Last edited by frankbell; 04-14-2017 at 10:11 PM.
 
Old 04-15-2017, 12:14 AM   #5
KCBL
LQ Newbie
 
Registered: Apr 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
I'm still learning my way around the ip command. As an aside, I find its output to be much less pleasingly formatted than the output of ifconfig, but I'm sure they'll get there eventually.
That's way when one is using linux, we are forever continuously learning.

Last edited by KCBL; 04-15-2017 at 12:17 AM.
 
Old 04-15-2017, 02:16 AM   #6
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Welcome to LQ! Sounds like you are a 'heavy' Linux/Unix 'oldtimer'
(feel free to share a bit of 'autobiography' in the Intro Forum)

IF you'd like to read a bit of the discussions on this, toss: ifconfig deprecated
into an LQ (or web) search.

Great to hear you're enjoying Arch! Just doNOT start any debates on systemd
 
Old 04-15-2017, 03:47 AM   #7
KCBL
LQ Newbie
 
Registered: Apr 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Jjanel View Post
Great to hear you're enjoying Arch! Just doNOT start any debates on systemd
You don't have to worry about that as I know very little of it. I just learn enough to get the job done like start, stop, enable and disable services.

I am aware that there are people who don't like it. All I can say is there are other penguins in the sea

Thank you Jjanel for the welcome.

Last edited by KCBL; 04-15-2017 at 07:18 PM.
 
Old 04-15-2017, 11:04 AM   #8
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Xubuntu
Posts: 5,311

Rep: Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823
Quote:
Originally Posted by KCBL View Post
When you're used to using certain commands for years, I mean years. You get used to them, you expect them to be in all linux distros.
I sympathise! Then there's the disappearance of eth0, and the change /mnt > /media > /run... Like the man sang, "Slow down, you move too fast"
 
Old 04-16-2017, 05:03 AM   #9
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 3,928
Blog Entries: 1

Rep: Reputation: 832Reputation: 832Reputation: 832Reputation: 832Reputation: 832Reputation: 832Reputation: 832
netfilter instead of iptables instead of ipchains.
ip instead of ifconfig
iw instead of iwconfig
dhcpcd instead of dhclient (arch anyway)

The syntax of shutdown changed with systemd:
# shutdown -h now
became
# shutdown -H -P +0

And service instead of /etc/init.d/{script} start|stop|restart
# service --status-all
# service cron stop
(didn't seem to work in fedora 23)

Where systemctl works too, but slight different syntax.
# systemctl stop ModemManager

Instead of creating a custom xorg.conf, you now use xinput, xrandr, and other things AFTER booting X to fine tune things. Or a modern DE that does those things for you, sometimes correctly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Leading Standards Organizations Assert Principles of a "New Global Standards Paradigm" LXer Syndicated Linux News 0 08-31-2012 07:11 AM
LXer: Leading Standards Organizations Assert Principles of a New Global Standards Paradigm LXer Syndicated Linux News 0 08-31-2012 06:50 AM
LXer: On standards and standards bodies LXer Syndicated Linux News 0 09-04-2008 08:00 AM
LXer: Breaking: Slovakia Chooses ODF and Other Open Standards LXer Syndicated Linux News 0 06-05-2008 04:51 PM
LXer: OOXML: Standards for accepting standards LXer Syndicated Linux News 0 03-13-2008 12:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration