Jun 23, 2006 #1 kiv Instructor Jan 22, 2003 91 GB Hi Guys, I'm a linux newbie. I would like to know what command do I use to edit/create a file in linux command prompt. I'm trying to edit the smb.conf file. Any help appreciated! Thanks
Hi Guys, I'm a linux newbie. I would like to know what command do I use to edit/create a file in linux command prompt. I'm trying to edit the smb.conf file. Any help appreciated! Thanks
Jun 23, 2006 #2 KenCunningham Technical User Mar 20, 2001 8,475 GB vi is the most common editor, though Linux might have a rather more newbie-friendly facility. Upvote 0 Downvote
Jun 23, 2006 #3 Annihilannic MIS Jun 22, 2000 6,317 AU There are a number of choices, here's some for starters: vi - powerful, but difficult to get used to at first emacs - also very powerful, probably easier to get used to at first? May be called gmacs if you have the GNU version. pico - a nice simple editor, the "pine composer" (pine is an email package) joe - another simple editor Some may or may not be available on your system. Annihilannic. Upvote 0 Downvote
There are a number of choices, here's some for starters: vi - powerful, but difficult to get used to at first emacs - also very powerful, probably easier to get used to at first? May be called gmacs if you have the GNU version. pico - a nice simple editor, the "pine composer" (pine is an email package) joe - another simple editor Some may or may not be available on your system. Annihilannic.
Jun 23, 2006 Thread starter #4 kiv Instructor Jan 22, 2003 91 GB Thanks, I realised that I can use emacs. One more question.... I'm learning fedora core. How do I find out things like the computer name, ip address, domain, etc? Many Thanks Upvote 0 Downvote
Thanks, I realised that I can use emacs. One more question.... I'm learning fedora core. How do I find out things like the computer name, ip address, domain, etc? Many Thanks
Jun 23, 2006 #5 Annihilannic MIS Jun 22, 2000 6,317 AU Have a look at the man pages (i.e. type man commandname) for uname, hostname and ifconfig. Annihilannic. Upvote 0 Downvote
Have a look at the man pages (i.e. type man commandname) for uname, hostname and ifconfig. Annihilannic.
Jun 23, 2006 Moderator #6 gbaughma IS-IT--Management Staff member Nov 21, 2003 4,773 US I use Pico. It rocks, but you only have it if you've installed the PINE package. Just my 2¢ "In order to start solving a problem, one must first identify its owner." --Me --Greg Upvote 0 Downvote
I use Pico. It rocks, but you only have it if you've installed the PINE package. Just my 2¢ "In order to start solving a problem, one must first identify its owner." --Me --Greg
Jun 23, 2006 Moderator #7 gbaughma IS-IT--Management Staff member Nov 21, 2003 4,773 US Oh... and if you just want to create a file, you can "touch" it..... touch will create a 0-byte empty file for you. Just my 2¢ "In order to start solving a problem, one must first identify its owner." --Me --Greg Upvote 0 Downvote
Oh... and if you just want to create a file, you can "touch" it..... touch will create a 0-byte empty file for you. Just my 2¢ "In order to start solving a problem, one must first identify its owner." --Me --Greg
Jun 25, 2006 #8 sedj Programmer Aug 6, 2002 5,610 You don't say if you are running in GUI mode or not ... If you are, there are graphical text editors that will have shipped with the distro (such as kate in KDE), which you may find easier than vi or emacs. -------------------------------------------------- Free Java/J2EE Database Connection Pooling Software http://www.primrose.org.uk Upvote 0 Downvote
You don't say if you are running in GUI mode or not ... If you are, there are graphical text editors that will have shipped with the distro (such as kate in KDE), which you may find easier than vi or emacs. -------------------------------------------------- Free Java/J2EE Database Connection Pooling Software http://www.primrose.org.uk
Jun 28, 2006 #9 ishnid Programmer Aug 29, 2003 1,422 IE I use Pico. It rocks, but you only have it if you've installed the PINE package. Click to expand... nano is a pico clone that works almost identically to it. It's generally installed by default these days. Upvote 0 Downvote
I use Pico. It rocks, but you only have it if you've installed the PINE package. Click to expand... nano is a pico clone that works almost identically to it. It's generally installed by default these days.