Linux - NewbieThis 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
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.
Hello all, I am very new to Linux and I think I am getting the hang of it. My question is.... how do I find and edit a .conf (if I know the path)? I come from the windows world and I know how to edit these files but for the life of me, I can't get to this file.
Do I need to have an interface or is this a command line type of editing I need to do at the server level?
I just installed ClarkCOnnect and am experimenting on the different modules. One happens to be the FTP Server which uses ProFTPD.conf.
If there is documentation that simplifies the most basic commands, I would appreciate the info.
Depends on the distro ...
... and the Desktop manager ...
... and the security model ...
... and file manager (if any) ...
You get the idea. If you are in a (GUI) file manager, generally double-clicking should launch a GUI full-screen editor. Just like that other place. Saving it will usually be a problem in that you won't be authorised. That can be rectified a couple of different ways - depending on the distro ...
Easiest way I find is through a terminal, usually as root since root can save most configs.
Next question is choise of editor. I use vim, as a lot of people here do, but there is nano, emacs, plus more. For vim, you would type
vim /path_to_config/config_file.conf
Then edit away. You will want to find a decent tutorial on vim (or vi) since it's probably not like anything you've used. nano is pretty self explanetory from the couple of times I've had to use it.
Get used to vi(m) - it's commands are actually used quite a bit in *nix world.
Hello all, I am very new to Linux and I think I am getting the hang of it. My question is.... how do I find and edit a .conf (if I know the path)? I come from the windows world and I know how to edit these files but for the life of me, I can't get to this file.
Do I need to have an interface or is this a command line type of editing I need to do at the server level?
I just installed ClarkCOnnect and am experimenting on the different modules. One happens to be the FTP Server which uses ProFTPD.conf.
If there is documentation that simplifies the most basic commands, I would appreciate the info.
Hi,
and welcome to LQ!
You could try
locate -i ProFTPD.conf
or, if (s)locate isn't installed,
find / -iname ProFTPD.conf
Chances are that it's the capitalisation that throws you off
in your attempts to find it - mixed case in Linux is VERY uncommon
since Linux (like Unix) is case-sensitive.
I was able to locate the file (through the "locate" command) and by process of ellimnation, I was able to open it up to edit. This brings me bacl to my DOS years. (Oops! Sorry, I didn't mean to mention the other OS.)
One of the posts (syg00)mentions:
Depends on the distro ...
... and the Desktop manager ...
... and the security model ...
... and file manager (if any) ...
This is what I am looking for - a desktop manager. I am using ClarkCOnnect for my server. I did not see an option for a desktop. Is this something I need to install (or as you call "distro")?
Also, if there are any "Linux for Dummies" book that you would recommend, please let me know.
Having no experience of it, ClarkConnect appears to be a bit of a "niche" market. If you are merely looking for an intro to Linux, there are likely to be better options. Else maybe pay for their support - not that I'm in favour of that generally.
If you want that/need that particular distro (distribution - ClarkConnect in your case), you don't get to play with a GUI desktop. Your (best) edit options appear to be vim or nano - I like the latter.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.