You are not logged in.

#1 2009-06-02 03:46:07

jeff story
Member
Registered: 2009-05-31
Posts: 237
Website

Midnight Commander and Command Line Tools.......Yes or Don't Bother

Newbie Arch user here,

I'm used to using a Linux distro that pretty much made using the terminal optional for most tasks.
My favorite distro for the 1 1/2 years  did a great job in 32bit, but not so great on my new 64bit.

For various reasons, I was drawn to try Arch Linux x86-64. I have it up and running multi boot (Linux) on my new computer with a few other distros. Now I'm finding that my previous, mostly GUI way of doing things with my previous distro don't work so well here.

I also realized during my Arch install, for the first time, that the CL really shouldn't be avoided. I've never used a command line text editor before installing Arch.

Nano and Vi-Vim, I guess, are the tools of choice for text editing, probably a bunch more out there but I really kinda like Nano now. 

So if I accept the idea of doing more things via the CL, what other tools are there out there such as a file browser, etc? I found Midnight Commander and Clex.

MC seems kinda like a step between GUI and straight Cl file navagating. In the Shell, I can cd to /, then from there kinda navigate directories to some of the files I have memorized from GUI but not many.

Now I'm using Arch which has the same basic file structure, but is different from my Debian based distro, MC seems like a great idea.

Is using MC and any other CL tool just going to prolong learning the Bash shell?

Ok also I realize that some people probably use Unix, BSD, Linux in a work enviroment, and therefore "really know" the directory and file navigation without thinking about it. They may have a different opinion than a hobbiest coming from MS?

What are your CL tools and opinion on them? Recently from MS or a Unix vet?

Thanks, Jeff

Last edited by jeff story (2009-06-02 06:14:56)


Check out my website for info on the Arch Linux Installer

Offline

#2 2009-06-02 05:36:24

pharcyde
Member
From: Connecticut
Registered: 2009-03-13
Posts: 88

Re: Midnight Commander and Command Line Tools.......Yes or Don't Bother

For cli file browsers: mc and vifm seem to be popular choices around here. You could just use ls, cp, mv, etc. for file management.

Offline

#3 2009-06-02 06:17:37

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Midnight Commander and Command Line Tools.......Yes or Don't Bother

pharcyde wrote:

You could just use ls, cp, mv, etc. for file management.

These are which I mainly use. I have pcmanfm as well, but it is rather seldomly fired up. I am a lot faster on pure CLI nowadays.


To know or not to know ...
... the questions remain forever.

Offline

#4 2009-06-02 07:48:40

pauldonnelly
Member
Registered: 2006-06-19
Posts: 776

Re: Midnight Commander and Command Line Tools.......Yes or Don't Bother

I've tried to use mc. A file manager seems like a neat idea. But it never sticks. YMMV.

Offline

#5 2009-06-02 08:19:38

Vintendo
Member
From: Netherlands
Registered: 2008-04-21
Posts: 375
Website

Re: Midnight Commander and Command Line Tools.......Yes or Don't Bother

bernarcher wrote:
pharcyde wrote:

You could just use ls, cp, mv, etc. for file management.

These are which I mainly use. I have pcmanfm as well, but it is rather seldomly fired up. I am a lot faster on pure CLI nowadays.

I removed Pcmanfm and now I am a lot faster with the cli. Practice makes perfect.

Offline

#6 2009-06-02 09:18:28

sveri80
Member
Registered: 2008-11-12
Posts: 38

Re: Midnight Commander and Command Line Tools.......Yes or Don't Bother

Honestly, if you're looking for a tool, look at first if there is a CLI tool for it. And most of the times it is.
Unix and Linux are both based on command line tools. In fact, most of the gui tools are based on a CLI
tool, or mix some CLI tools together.

There are some advantages, at least from my point of view.
1. With the command line tool you have access to all options available whereas the gui counterpart
might not have everything implemented yet.

2. You're way faster if you get used to it. Until somebody started mc or dolphin or nautilus
and navigated to the desired path i can type 10 times my 'mv /src/ /dest' or 'cp ...' command
in the console and be done with it.

Of course there are examples there a gui is of big help. For me i find kfind very very
useful. I can quickly search for a file with a pattern and sort the output after file
size or file name or something else.
This is a point where i'd have to read much to long man pages to find out the
correct command to do that.

Offline

#7 2009-06-02 13:58:31

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Midnight Commander and Command Line Tools.......Yes or Don't Bother

My suggestion is to use whatever you want. Nothing wrong with just using GUI apps in arch, if you want to.

When it comes to command line file management, I use plain old coreutils most of the time, but sometimes I use mc or vim.

When it comes to a editor, if you like nano, then you will probbably be more at home in emacs than in vim.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#8 2009-06-02 14:27:13

Hrod beraht
Member
Registered: 2008-09-30
Posts: 186

Re: Midnight Commander and Command Line Tools.......Yes or Don't Bother

jeff story wrote:

...mostly GUI way of doing things with my previous distro don't work so well here.

I used to use Thunar as a GUI file-manager and still highly recommend it. However, over time, I started to find it more cumbersome to use than a terminal, and so now don't even have a file-manager loaded on my system. The "in-between' file managers like Midnight Commander never really worked for me.

But I would say that you should use whatever works best for you - GUI, terminal, or something in-between like Midnight Commander. Or heck, maybe all of them if your situation doesn't fit only one all of the time.

One question, though. What is it about Arch that you think doesn't lend itself so well to using a GUI file manager? What desktop environment/window manager are you using?

Bob

Offline

#9 2009-06-02 15:55:01

hatten
Arch Linux f@h Team Member
From: Sweden, Borlange
Registered: 2009-02-23
Posts: 736

Re: Midnight Commander and Command Line Tools.......Yes or Don't Bother

Yeah, i cannot believe that arch is agains gui, but rather the setup with DE's and VM's. I have never tested mc or anything similar, when i came to arch as a new i knew the basic mv/cp/cd from ubuntu, and i learn a few things a little now and then, and i will probably never use mc or something similar.

Offline

#10 2009-06-02 16:16:57

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Midnight Commander and Command Line Tools.......Yes or Don't Bother

GUI is great if you need some functionality not so often. It relieves you from studying long, possibly complicated man pages. All you have to do is point, add some basic info, and click.

But for any task needed to be done more often or rather complicated, CLI is first choice.

Over time you will grow used to a lot of CLI tools you may not even have dreamt of initially. This is the great thing about linux - you are allowed to grow in your capabilities.


To know or not to know ...
... the questions remain forever.

Offline

#11 2009-06-02 16:33:41

mianka
Member
From: BE LEUVEN
Registered: 2006-05-30
Posts: 229

Re: Midnight Commander and Command Line Tools.......Yes or Don't Bother

There is one point I haven't seen mentioned : MC has a rather decent text editor built in !

Offline

#12 2009-06-02 19:52:58

jeff story
Member
Registered: 2009-05-31
Posts: 237
Website

Re: Midnight Commander and Command Line Tools.......Yes or Don't Bother

Hrod beraht wrote:

One question, though. What is it about Arch that you think doesn't lend itself so well to using a GUI file manager? What desktop environment/window manager are you using?
Bob

I'm having problems in Gnome desktop trying to use Nautilus or Gedit as root. IE:

gksu nautilus

or

gksu gedit

See my thread http://bbs.archlinux.org/viewtopic.php?id=73208.

I was advised to use a CLI text editor......and that got me thinking about CLI tools.


Check out my website for info on the Arch Linux Installer

Offline

Board footer

Powered by FluxBB