Re: Vi / Nano SSH Programming Software Development by Unimportant Vi is a text editor, much like notepad. It has nothing to do with your question, probably... Check out the [locate](http://linux.die.net/man/1/locate) command. Using vi commands in Shell Script Programming Software Development by Rahul47 …if [ -e $flnm ] then vi $flnm `| "+y | esc | :x` # ERROR cd $dir vi $flnm `| p | esc | …(y/n)" read ch done vi commands are not working in shell script… Re: vi or nano Hardware and Software Linux and Unix by L7Sqr I'll comment as a `vi` (`vim`, actually) user. As mike_2000_17 mentions, …'notepad in the terminal' there is more overhead to `vi` - edit mode vs. command mode is a good …you prefer to do most editing in the terminal `vi` has a rich set of tools that are available…with. If you take the time to learn `vi` inside and out you will feel limited when you… vi or nano Hardware and Software Linux and Unix by pelle12 Hi all, What is the difference between vi or nano for editing a file? In your own opinion? I always used vi for editing files but some people say it's better to use nano. Is it just the user preference? Re: vi or nano Hardware and Software Linux and Unix by mike_2000_17 It's basically user preference. Vi is meant to be a very comprehensive editor, and it … at the bottom). I guess if you are used to vi (and know the commands) it is "better" than… vi editor creates bad data Hardware and Software Linux and Unix by JohnMcPherson … problem. I am entering data in a file with the vi editor, and the data is to be read by a…, the problem is something with the entering of data with vi. Any help with this is greatly appreciated. vi editor creates bad data Hardware and Software Linux and Unix by JohnMcPherson … problem. I am entering data in a file with the vi editor, and the data is to be read by a…, the problem is something with the entering of data with vi. Any help with this is greatly appreciated. Re: vi or nano Hardware and Software Linux and Unix by Assembly Guy Ohh crap, here we go with a potential flame/argument/back-and-forward/opinion thread. Oh well, it's been civilised so far, let's keep it that way. I've used both `vi` and `nano` and prefer nano simply because I find it more user friendly. Then again, I never do serious editing in a terminal. Re: vi or nano Hardware and Software Linux and Unix by JasonHippy … you have more complicated editing needs; I'd heartily recommend vi or vim! I'm currently taking the plunge and trying… Re: vi or nano Hardware and Software Linux and Unix by mike_2000_17 You cannot use sublime in the terminal. I think this discussion is about terminal-based text editors, such as nano, pico, vi, and emacs. Vi and ctags Programming Software Development by xyzt Hi I use ctags and vi integrated. It's fine for now but I wonder if it's possible to find usages of a function? May be someone helps. Thanks in advance. Re: Vi and ctags Programming Software Development by ShawnCplus You might want to use grep for that, use can use it inside vi/vim with the ! command :!grep funcname <dir> vi recent command history Hardware and Software Linux and Unix by COKEDUDE How do you get your recent vi command history to show up? I keep randomly getting like my previous 5 commands and can't figure out how I'm doing it. I think it has something to do with the shift key and another button. I know you can use the up and down arrows, but I know there's a way to see the recent commands. Re: vi recent command history Hardware and Software Linux and Unix by COKEDUDE …][/QUOTE] [QUOTE=COKEDUDE;1140995]How do you get your recent vi command history to show up? I keep randomly getting like… Vi / Nano SSH Programming Software Development by Siberian I hope this is the correct area for this post, I'm not to sure where it would fall into, regarding SSH ? Onto my question, is there a method to access Vi or Nano to find the exact path where a directory lies in the <root> directory ? Re: Using the Vi word processor Hardware and Software Linux and Unix by DLSieving …however, is all most people need to use vi productively. Once you learn how to use the …core set of features, vi is the most lightning-fast editor you're…the others bog me down. Another advantage of vi is that it's included in every Linux …easily installed for you by an admin. Learning vi is like learning touch typing. It takes a… Re: Using the Vi word processor Hardware and Software Linux and Unix by rproffitt vi is not Linux. There are so many text editors that …, why not learn ed too? PS: I would never call vi a "word processor. PPS: About the only hard thing… how to quit and optionally save. Last PS: vi is a screen-oriented text editor. Read https://en.wikipedia.… Re: Using vi commands in Shell Script Programming Software Development by Watael hi, useless use of vi. once the first `vi` is closed, its buffer disappear. instead: cat "$flnm" >> "$dir/$flnm" Re: Using the Vi word processor Hardware and Software Linux and Unix by tallship … with Androids or other tasks that involve using BusyBox, **vi** is going to be your ONLY editor. Most seasoned …of Linux systems ship with the **Vim** variant of **vi**, yet Debian GNU/Linux is a notable exception, and …;*visual mode*", which soon thereafter became known as **vi**, because ex opened in visual mode (displaying a full page… Re: How to delete a word using the vi editor in last-line command mode Hardware and Software Linux and Unix by JasonHippy …/end of the line (d0, d$) and plenty more besides! vi and vim are extremely powerful text editors. There are a… boost your productivity! Try out vimtutor, the built-in interactive vi/vim tutorial. That will give you a good headstart on… using vi/vim. Also read the man pages and browse vi/vim's built-in help (using… How to delete a word using the vi editor in last-line command mode Hardware and Software Linux and Unix by larin83109 … with is to delete word "and" using the vi last-line mode. I know hot do delet a word… do it. I have read the entire chapter on the vi section and I cannot find an example or the command… the "and." I have tried googling for a vi command and all I find is the 'x' option. Please… Re: How to learn vi and why can't i open vim Hardware and Software Linux and Unix by nonshatter … don't have vim, as this is an extension of Vi (although essentially it is the same thing). try this to….cs.uidaho.edu/~rinker/ed03.pdf"]cheat sheet for vi[/URL], but it will take practice to learn how to… effectively. Here are some of my most used commands for vi/vim: [CODE] i - enter input mode esc - escape input mode… Re: Using the Vi word processor Hardware and Software Linux and Unix by Thomas_38 You do not NEED vi, you may use any other text editor. You will be … do not work on multiple platforms with different configurations. BUT: vi is available on all linux systems. I personally like and…. There are well thought arguments for vi in the thread, I will not repeat them. vi is in the standard configuration for… operate VI(linux) with php Programming Web Development by severman hi im trying to build a program like windows commander on linux with php. is there any way that i can start vi with php? for example, im showing all the files of a certain folder and now i wanna edit with vi one of the files. how do i do if its even possible... thanks! Linking error in Vi Programming Software Development by atticusr5 Hello all I am trying to link a program using Vi for my class assignment and I am getting the following …error in Vi when I try to link: Assign4.o: In function `__static_initialization_and_destruction_0… How to learn vi and why can't i open vim Hardware and Software Linux and Unix by dspjm as the title. how to learn vi, bash, and i just cannot open vim. and ... what is ex in vi. Re: How to learn vi and why can't i open vim Hardware and Software Linux and Unix by dspjm Thank you...But after I have used vi for sometime, I still find it not as convenient as most graphical editors, isn't it? Especially there is no drag to us in vi. read a file from vi editor and sort alphabetically Hardware and Software Linux and Unix by endri_1 Hi eveyone. I am trying to read a file using vi editor and sort its content inside the file alphabetically which …:99:9 4:TYLER:Edward:89:5 This is my vi script: file="/home/students/domie/wine.txt" while… Re: read a file from vi editor and sort alphabetically Hardware and Software Linux and Unix by JasonHippy I've never really messed with vi/vim scripts, other than making a few minor modifications to … you'd go about calling the sort function in a vi/vim script. I really should look into scripting vim though… Project on Command Based text editor like vi. Programming Software Development by Rahul47 … the given topics. I find Command Based text editor like vi fascinating as others were boring. So, here is the project… command interface based editor, somewhat on the line of Unix vi editor. The editor should have features for creating, opening, editing…