Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
1) if its a filesystem im familiar with then i tend to use the commandline but a gui can be quicker if you dont know what your looking for or if you dont have name completion (smbclient - grrr)
2&3) i dont think ive used an editor other than vim in the last few years, i carry the windows version on my usb pen just incase im at someone elses computer. i was in the mysql client earlier today just testing a new query before i copied it into a php file and i noticed i'd put "catagoories" instead of "catagories", by the time my brain caught up with me and i realised i wasnt in vim, i had already typed <ESC>2Fox$a so it is pretty fast once you can do it without concious thought.
for the majority of stuff i dont use X at all, i use a hardware terminal. this stops me from running the 3 evil programs mplayer, zsnes, and arnold(my cpc464 emulator) but ive not found a console email/news program i like so i use X for that and also general web browsing i do in X.
by jrdioko when editing code do you use a graphical editor with nice syntax highlighting or do you prefer command-line editors.
you seem to imply command-line editors dont have syntax highlighting, i can assure you that both vim and emacs have syntax highlighting and much more than any simple editor can offer but they both have steep learning curves, and are not particularly intuitive. hence the following quote
cant remember who said this is emacs a virus? its the only program i have ever run where the only way i could quit out of it was to reboot my computer
you seem to imply command-line editors dont have syntax highlighting, i can assure you that both vim and emacs have syntax highlighting and much more than any simple editor can offer but they both have steep learning curves, and are not particularly intuitive.
I created this post before I did enough research into vim/emacs, and I see now that they both have this functionality (and much more). At this point, I'm just trying to pick one to learn well and stick with. I mapped my Ctrl key to Caps Lock and I've tried both, but I still don't know which I prefer. They're both so different. Anyway, don't mean to start a vi vs. emacs war here, keep the replies coming.
i always use the tab way, but i am looking for a good gui file manager (anyone?) that doesn't crash on me. always use mozilla for web browsing. i use my ~/.fluxbox/keys file to launch every program i commonly use, cli for the rest.
i code lots and use jedit, little emacs, and no vi
linuxfond:
Quote:
OK. I really need to lock up my desktop to protect it from my kids.
In the KDE there is a button on the tastbar. What is the command for it? Can I lock my screen from fluxbox?
This is needed for the survival of this system - there are plenty of little hazards on and under the table.
im way far from guru, but i am willing to answere the questions as they apply to me.
Quote:
1. Do you use a graphical file manager/browser or do everything from the command line? If you're moving/copying several files involving long pathnames and filenames, do you type everything out or "cheat" and use an app in X?
i try and use as much CLI as possible, but if i am moving more then a few files around i am more then not coming from my winXP box, so i will use winSCP and sFTP over and move them that way.
Quote:
2. For the developers out there, when editing code do you use a graphical editor with nice syntax highlighting or do you prefer command-line editors.
not a dev, but i prefer to use vi/vim or gedit. gedit is basicaly notepad for gnome so im comfortable with it. my preferance is vim when dealing with HTML (im even newer to html then i am to linux) as the colors change as you type in the code to tell you if you goofed or not.
Quote:
3. And finally, speaking of command-line editors... does anyone really use vi/vim for all text editing? I understand the importance of knowing how to use it in case you're on a machine that doesn't have the more user-friendly editors, but it seems like it just takes too long to accomplish a task that way (what with jumping back and forth to the esc button, etc.).
VI/VIM are the ONLY 2 CLI editors i even know how to use.
Distribution: PCLOS, Fedora Core, Slackware and Mepis.
Posts: 54
Rep:
1. I use command line with tab completetion for 90% of everything I do.
2. n/a to me
3. I use vi when I'm in a non-gui run level...from the gui I prefer gedit or Kwrite and usually call it up from the command line.
Command line but I keep forgetting the commands cuz I dont use it everyday. I try to use drag and drop but most of the time I end up with permission problems so I have to use command line. I love Joe for an editor, its simple to use and learn.
"1. Do you use a graphical file manager/browser or do everything from the command line? If you're moving/copying several files involving long pathnames and filenames, do you type everything out or "cheat" and use an app in X?"
I use kfmclient or nautilus for file management. I use the CLI when I su root.
"2. For the developers out there, when editing code do you use a graphical editor with nice syntax highlighting or do you prefer command-line editors."
I use kwrite. I never use syntax highlighting.
"3. And finally, speaking of command-line editors... does anyone really use vi/vim for all text editing? I understand the importance of knowing how to use it in case you're on a machine that doesn't have the more user-friendly editors, but it seems like it just takes too long to accomplish a task that way (what with jumping back and forth to the esc button, etc.)."
I never use vi or vim. I don't even install them. I use mp for a command line editor.
4. I do almost all package management with CLI rpm. Occasionally I use kpackage. I consider the various automated package managers to be modern inconveniences.
5. When answering questions on LinuxQuestions I use a lot of CLI commands in my answers because it is simply easier to fix a broken system with CLI commands.
1) I use the command like for all sorts of tasks. It is just quicker. About the only thing I have a window manager open for is so I can just click to get another xterm (aterm actually) or for commonly run graphical programs like mozilla.
2) When editing code I usually use emacs. I used to be very hardcore for vi... but I have never been good fighting religious wars, I tend to see the positives for both.
3) For everything but coding I use vi[m]. That amounts to 90-95% of the time I spend in an editor these days -- I have tried to take a break from coding as it consumed too much of my life. It is small, efficient, and does what I need it to do. Oh, and if I have a paper for school and they want it in .doc format I'll open OpenOffice
Distribution: Red Hat 9, Ubuntu 10; Windows Server 2003 and XP
Posts: 34
Rep:
Always got a terminal open.
1. I do everything in a command line interface. It's ten times faster.
2. I'm about half and half when editing code. I like to use vi, and sometimes I use Kate because its just like an IDE except you compile with the built-in command line.
3. Anytime I edited a config file or anything I only use vi(m).
1. Installing rpm files.
2. Mplayer.
3. Editing config files using vi.
4. When I want to su to root (then open nautilus from command line).
5. Compiling something.
6. When my Linux box is broken.
7. To show how 'cool' Linux is to my friends.
Other than that, I do everything in Nautilus and WindowManager interface.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.