Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-24-2013, 07:21 AM   #16
Senior Member
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380

Just to clarify about some of the commands inside vi, q I believe it is intuitive means quit, wq write and quit, q! means quit and not save where the symbol ! is used in many programming languages as a not like in != where it means not equal or different. And many other things in GNU/Linux system are that way, take as example common commands like cp copy, ls list, mv move, etc.

About editor it is good to know that are many available, just to mention some: ed, joe, jed, nano, mcedit which come with mc Midnight Commander a powerful file manager with many abilities, it is a must tool for daily use.

Here some links that will help you:

I believe those will be a good start, you do have a good goal, keep going that way and in no time will be knowing a lot.

Old 03-24-2013, 08:40 PM   #17
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,411

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
# use the esc key to get (back) into cmd mode then
# you have (at least) the following options

# to quit no save (it'll ask for confirmation)

# quit no save and don't ask me for confirmation

# exit with save

# save changes made so far; does not quit or exit
No need for ':wq'; that's cargo cult stuff
Old 03-24-2013, 09:58 PM   #18
Senior Member
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian
Posts: 2,207

Rep: Reputation: 341Reputation: 341Reputation: 341Reputation: 341
Originally Posted by chrism01 View Post
No need for ':wq'; that's cargo cult stuff
Actually, I use "ZZ" myself, so there!
Old 03-26-2013, 07:21 PM   #19
Registered: Mar 2005
Location: Texas
Distribution: slackware, slackware
Posts: 41

Original Poster
Rep: Reputation: 15
Well thanks a lot guys I have been reading some for dummies books thus far but I will check out the links you guys posted up. I appreciate ur support and hopefully soon I can provide some help to others and also be able to use my Linux box more appropriately. Thanks again everyone, you guys make me feel accepted
Old 03-26-2013, 10:23 PM   #20
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,218

Rep: Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517
for basic tasks
small edits on files and such .Vi is a bit of "overkill "

It is one of the best editors , BUT with a huge learning curve

i normally use " nano" for small edits

there is a handy "cheat sheet" on the bottom of the terminal screen

look into installing Nano


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
mkdir throws Permission Denied error in a directoy even with root ownership and 777 permission surajchalukya Linux - Security 14 09-03-2012 09:34 AM
Access denied for NFS - but hosts.allow and hosts.deny seem OK royce2020 Linux - Networking 4 10-17-2011 11:44 PM
hosts.allow - permission denied rainlinux Linux - Newbie 14 10-06-2010 02:57 AM
updating the change of /etc/hosts.deny in AIX 4.3.3 zepplin611 AIX 7 07-18-2004 03:31 PM
IP still denied, after removed from hosts.deny anth2oo1 Linux - Security 13 05-06-2003 08:31 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration