LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-27-2014, 11:18 PM   #1
bbdynamite
LQ Newbie
 
Registered: Jun 2014
Posts: 12

Rep: Reputation: Disabled
Alternatives to Gedit


Hi everyone I am trying to figure out if there is an alternative to gedit. I would like to install hadoop onto my Mac and in order to do that, I have to disable IPv6, which involves gedit.

The command is: sudo gedit /etc/sysctl.conf

I am having issues installing gedit, so I would like to find some other way to achieve the same result without gedit.

Also, I don't quite understand where the path /etc/sysctl.conf is coming from.

Help would be appreciated. Thanks.
 
Old 06-27-2014, 11:33 PM   #2
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 813

Rep: Reputation: 264Reputation: 264Reputation: 264
Are you just looking for another text editor?

In that case...I use leafpad.

For a lot more suggestions...https://wiki.archlinux.org/index.php...s#Graphical_12
 
Old 06-27-2014, 11:53 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,776
Blog Entries: 17

Rep: Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313Reputation: 3313
My favorite text editor is kate, though I'm trying to learn more about vim.
 
Old 06-27-2014, 11:57 PM   #4
bbdynamite
LQ Newbie
 
Registered: Jun 2014
Posts: 12

Original Poster
Rep: Reputation: Disabled
Oh OK so I just did sudo vim /etc/sysctl.conf.

Thanks!
 
Old 06-30-2014, 03:16 AM   #5
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Ubuntu, Debian, OS X
Posts: 1,300

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by bbdynamite View Post
Oh OK so I just did sudo vim /etc/sysctl.conf.

Thanks!
Just a piece of advice, learn vi (or vim) mate. It works across all flavors of Unix.

Cheers
 
Old 06-30-2014, 04:14 AM   #6
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,226

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
Quote:
Originally Posted by bbdynamite View Post
Also, I don't quite understand where the path /etc/sysctl.conf is coming from.

Help would be appreciated. Thanks.
Quote:
Originally Posted by sysctl man page
sysctl is used to modify kernel parameters at runtime. The parameters
available are those listed under /proc/sys/. Procfs is required for
sysctl support in Linux. You can use sysctl to both read and write
sysctl data.
/etc/sysctl.conf is the default configuation file for sysctl
 
Old 06-30-2014, 08:55 AM   #7
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 5,831
Blog Entries: 12

Rep: Reputation: 2009Reputation: 2009Reputation: 2009Reputation: 2009Reputation: 2009Reputation: 2009Reputation: 2009Reputation: 2009Reputation: 2009Reputation: 2009Reputation: 2009
I agree with vikas027 in that you should be familiar with vi.

I personally use gnuemacs; have done so for probably 20 years and find that it's a very good code editor.

However I do use gedit, Notepad, Wordpad, and the editors for Visual Studio, and the Android Development Toolkit editor.

I recommend refining your capabilities to type.

My point there is that I feel there is no "end all; be all" editor; there are always new ones and I find that having the capability to type well has always served me.

Gnuemacs is my comfort level, I know it very well and wherever I can install and use it, I do.

But I'm never the type of person who sits down at an unfamiliar system/terminal and then abruptly complains that I can't do anything because I'm so tied to one particular editor.
 
Old 06-30-2014, 04:46 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 17,101

Rep: Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552
I think you need to sometimes use gksudo instead or some command like that.

I'd wonder why you have trouble installing gedit.


You can find maybe 25 or so good tools to use. A small group is here. http://www.linuxlinks.com/article/20...7/Editors.html
 
Old 06-30-2014, 09:37 PM   #9
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 813

Rep: Reputation: 264Reputation: 264Reputation: 264
Quote:
Originally Posted by rtmistler View Post
I agree with vikas027 in that you should be familiar with vi.
Then I should try to move on from nano?
 
Old 06-30-2014, 11:47 PM   #10
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Ubuntu, Debian, OS X
Posts: 1,300

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by maples View Post
Then I should try to move on from nano?
I would say yes. It is always better to learn what is common in all *nix flavors.
 
Old 07-01-2014, 10:11 PM   #11
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 813

Rep: Reputation: 264Reputation: 264Reputation: 264
Quote:
Originally Posted by vikas027 View Post
I would say yes. It is always better to learn what is common in all *nix flavors.
nano isn't included with most distros? And I think I recall seeing a how-to that told you how to install vi...

...but I've only been with Linux for a year, so your experience is definitely more broad than mine
 
Old 07-01-2014, 10:27 PM   #12
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Ubuntu, Debian, OS X
Posts: 1,300

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by maples View Post
nano isn't included with most distros? And I think I recall seeing a how-to that told you how to install vi...

...but I've only been with Linux for a year, so your experience is definitely more broad than mine
Nano may or may not included in all distros by default. And it is not the default editor of distros too. For example, cron uses vi by default in RedHat based distros, HP-UX, AIX and Solaris as well.

You might have seen a How-To to install vim (not vi).
 
Old 07-01-2014, 10:28 PM   #13
gor0
Member
 
Registered: Jun 2014
Distribution: quad BOOT!
Posts: 549

Rep: Reputation: 64
Quote:
Originally Posted by maples View Post
Linux is NOT Windows
http://postimg.org/image/5hzbsn8jf/
 
Old 07-02-2014, 08:34 AM   #14
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 813

Rep: Reputation: 264Reputation: 264Reputation: 264
Quote:
Originally Posted by vikas027 View Post
You might have seen a How-To to install vim (not vi).
That was probably it...and actually, it was part of a how-to on something else, and the author described how to install it if you didn't have it.
 
Old 07-02-2014, 09:11 AM   #15
NGIB
Member
 
Registered: Sep 2013
Location: Sumter SC, USA
Distribution: Manjaro, Sparky, Others...
Posts: 448

Rep: Reputation: Disabled
Back when I was writing code for a living (for DOS), the editor used was part of the programmer's "fingerprint" and we all liked something different. I used Qedit for nearly 20 years until I finally made the switch to Windows - and I quit coding about this time. I still have my directory of DOS programming tools, including my copy of Turbo C, Turbo Pascal and Turbo BASIC (yes, I liked Borland products), tucked away somewhere. Fond memories...
 
  


Reply

Tags
gedit, hadoop


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
[SOLVED] help with Gedit Gregg Bell Linux - Newbie 11 03-08-2014 08:48 PM
[SOLVED] update-alternatives: error: unable to read link `/etc/alternatives/editor': Invalid a ccc Debian 1 12-16-2013 02:51 AM
Gnome 3, Gedit 3.0.5, when I open file with gedit, it created one more unneeded tab Mr. Alex Linux - Software 1 06-18-2011 08:58 AM
gedit fakie_flip Linux - Software 1 08-17-2006 11:52 PM
Gedit JsCAMRY Linux - Software 10 11-06-2003 02:54 PM

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

All times are GMT -5. The time now is 06:49 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