Stats: 3,243,679 members, 8,125,391 topics. Date: Saturday, 05 April 2025 at 08:03 AM |
Nairaland Forum / Tomisinuno's Profile / Tomisinuno's Posts
(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (of 12 pages)
![]() |
Reward is a thing given in recognition of service, effort, or achievement. In summary, success is also a reward. |
![]() |
1.350 |
![]() |
saxwizard: Nice, i apologize again, its my fault. Busyness is too much. However, all courses are ready for the "Learn Linux from scratch" series. No loosing touch again ![]() I will fulfill my words by God's grace. I haven't forgotten the cloud lessons. I am also cooking a lot of nice stuff. One is, how to create websites with wordpress but this may come with something. ![]() There are a lot of knowledge output I need to do to get more knowledge input. We soar high together by God's grace. |
![]() |
Flo-or , flo-wer and flo-ur. anyone with sharp eyes, what did you notice? |
![]() |
Owambe rice is dope, especially when you combine it with the leaf moimoi ![]() |
![]() |
vi / vim Modes There are three modes in using vim. They are the command mode, insert mode and visual mode. How To Use vi / vim In Insert Mode (Examples) 1. create the file, “amazing_love” in your home directory. The file should contain the following words. “ I’m forgiven, because You were forsaken I’m accepted, You were condemned I’m alive and well, Your Spirit is within me Because You died and rose again Amazing love, how can it be That You my King would die for me Amazing love, I know it’s true It’s my joy to honor You ” Steps 1. create the file, [root@rhel8 ~]# vim amazing_love 2. Enter the “Esc” key to leave the insert mode. you will notice that the “INSERT” will not show anymore meaning that you escaped out of the insert mode. enter wq! keys to write, save and exit, followed by the “enter” key w, represents write q , represents quit i, represents exit as mentioned in the “UNDERSTANDING THE SUBJECT MATTER” section above. Now you have the file, amazing_love created (https://tekneed.com/how-to-use-vi-vim-in-linux-understand-vim-examples/) https://www.youtube.com/watch?v=DMizW_1USTA&feature=youtu.be |
![]() |
Out of my life poverty, in Jesus name. I don't want to eat beans and bread and shock it with water all day. Wait a min, have u tried soft agege bread and "ewa agonyi" before? |
![]() |
Tarries, the plural of tarry. This thread is gonna tarry for a long time, if you agree, click like, if you don't click share. 1 Like |
![]() |
Module 3.0 – How To Use vi / vim In Linux What Is Text Editor In Linux? Writing is one of the key operations in an operating system. Writing also comes with editing, undoing, redoing searching and replacing words, lines, columns, tables, etc, which is what I am doing right now, immensely writing and editing. Hence why there must be a tool for all these activities. That tool is called a text editor. There are a couple of text editor tools or rather text editors in Linux and they all have their differences. The common thing among them, of course, is that they can do basic text editing. Some text editors are more robust than others, some can be used to edit programs, as such, programmers prefer those kinds of editors to others. At the same time, using a text editor is all about preferences. One will want to use what they are comfortable with and sometimes familiar with. Some of the text editors In Linux are vi, vim, nano, emac, gedit, pcode, vscode, atom, brackets, neovim, light table, etc. This tutorial will focus on vi and vim in Linux What Is vi In Linux? vi, as mentioned above, is a text editor, a tool used in editing files. What Is Vim In Linux? vim is also a text editor, but an improved version of vi. Hence the acronym vim (vi improved). More so, apart from editing a plain text, vim in Linux is specially used for editing programs, as such, it’s a tool for programmers and some programmers have testified and preferred vim to any other text editor in Linux. What is vim Editor Used For? vim editor is basically used for creating, writing, reading and editing files. Furthermore, advanced use of vim in Linux is by programmers, used in editing programs. Differences Between vi and vim vim is an amplified version of vi. Vim over vi has enhanced feature of syntax highlighting and multi level undo. In vim, a file opened, edited and exited can be reopened and a lot of the changes done can be undone again. There is multi level persistent undo feature. In addition, vim can edit almost any kind of file, it has only a few limit compared to vi. vi cannot manage nul characters and has limited line length. Furthermore, vim in Linux supports not just multiple screen splitting, It also allows you do the same or different work on the multiple screen that’s splitted and lastly, vim can browse the file system if configured. |
![]() |
Module 3.0 – How To Use vi / vim In Linux Revision We have treated these modules before, but just for revision sake before we go to the next module MODULE 2.0-BASIC LINUX COMMANDS, CREATING DIRECTORIES (https://tekneed.com/basic-linux-commands-how-to-create-directories/) https://www.youtube.com/watch?v=Dx_ky3p6mvk&feature=youtu.be Module 2.1-Basic Linux Command – Create Files In Linux (https://tekneed.com/basic-linux-command-create-files-in-linux-module-2-1/) https://www.youtube.com/watch?v=xb8JsxrVj70&feature=youtu.be Module 2.2-How To Move & Copy Files In Linux (https://tekneed.com/how-to-move-copy-files-in-linux-module-2-2/) https://www.youtube.com/watch?v=Nj61VdkNRyA&feature=youtu.be |
![]() |
![]() |
![]() |
Know thyself, man. That was a wise statement by Socrates |
![]() |
best11925: I know someone that can mentor you |
![]() |
julybaba: |
![]() |
I advise you start with HTML or PHP if you are just sliding into IT, esp programming for that matter. 2 Likes |
![]() |
Hi Saxwizard. In few weeks, it will be done and even better. So sorry for going AWOL. |
![]() |
joeysuki: My brother. Busy is an understatement for me right now. I hope you doing alright too? I have the next module prepared already, just that I have not got time to post it here. You can get it here https://tekneed.com/how-to-use-vi-vim-in-linux-understand-vim-examples/ |
![]() |
Yungbitz: With what I can see on the screen, installation is well done |
![]() |
saxwizard: The server is up |
![]() |
tomisinuno: @saxwizard, I have seen your work, I will give u my assessment probably later today |
![]() |
joeysuki: let me give an example. If you know Lagos road, If i am to go to VI from berger, I will get to secretariat first, then to 7up, then to ogudu, then to gbagada, then to third mainland bridge then to obalende, then to marina, then to VI. if i am to use the cd command to get to VI, These are the ways I can go 1. cd berger [means i am already in berger] then again do, cd secetariat [means i am in secetariat] then again do, cd 7up [means i am in 7up] then again do, cd ogudu [means i am in ogudu] then again do cd gbagada [means i am in gbagada] then again do cd third_mainland_brigde [means i am in third mainland bridge] then again do cd obalende [means i am in obalende] then again do cd marina [means i am in marina] then again do cd VI [then i am finally in VI] or I do 2. cd /berger/secetariat/7up/ogudu/gbagada/thrid_mainland_bridge/obalande/VI or I do 3. cd /berger/secetariat first [means i am in secetariat], then from secetariat i do, cd /7up/ogudu/gbagada/third_mainland_bridge/obalende/VI This also applies to the cat, mv, cp, and most commands you are using in Linux for example, I can do, cat /berger/secetariat/7up/ogudu/gbagada/thrid_mainland_bridge/obalande/VI That's how path works. That's why the "pwd" command is very useful. It will tell you your present working directory Hope you understand now!!! |
![]() |
Yungbitz: Sorry, the new address is freetraining@tekneed.com |
![]() |
joeysuki: Okay. I will do that before the next class |
![]() |
CLASS ACTIVITY 2.2 1. Copy the temp_file to IT_DIRECTORS directory. 2. Move the EMC_STORAGE_TEAM directory to DELL_SWITCH_TEAM directory. Cheers!!! https://tekneed.com/2019/12/28/module-2-2-copying-and-moving-files-using-the-basic-linux-commands/ Next module : using the vi and vim text editor. |
![]() |
4. Move the SAN_Team file to the STORAGE_TEAM directory
|
![]() |
you can see that –R is an option to copy directories recursively, so we use –R
|
![]() |
You can see that IT_DIRECTORS wasn’t copied. IT_DIRECTORS is a directory and not a file. The error was explicitly stated “cp: omitting directory “IT_DIRECTORS What next? From the previous module, module blab, It was mentioned that there are a lot of options associated with a command and there are ways help can be gotten. In this case, we need help. To get it, we do • cp - -help
|
![]() |
3. Copy the IT_DIRECTORS directory to the DELL_SWITCH_TEAM directory.
|
![]() |
2. In the NEXUS_STORAGE_TEAM directory, copy the Full_staff file to the DELL_SWITCH_TEAM directory • cp /home/tomisinuno/IT_DEPARTMENT/STORAGE_TEAM/NEXUS_STORAGE_TEAM/Full_staff /home/tomisinuno/IT_DEPARTMENT/NETWORK_TEAM/DELL_SWITCH_TEAM
|
![]() |
I hope by now, you understand the difference between the two. |
![]() |
Or cp /home/tomisinuno/IT_DEPARTMENT/NETWORK_TEAM/N_managers /home/tomisinuno/IT_DEPARTMENT/STORAGE_TEAM/EMC_STORAGE_TEAM
|
(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (of 12 pages)
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2025 Oluwaseun Osewa. All rights reserved. See How To Advertise. 36 |