[x] Welcome to LinuxSolved.com Linux help forums, here we are a community of Linux users helping each other. It is helpful to both ie. new linux users as well experienced one. We always have our experts to help you and ofcourse members help each other, so you can ask for help any time by Registering.: Click to Register

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Linux Forums - Linux Help,Advice & support community:LinuxSolved.com  |  Forum  |  Others  |  Miscellaneous  |  Topic: how to do these things in VI edit please some one
The LinuxSolved.com GNU/Linux User Communit - Forum
Welcome to LinuxCommunity You have just arrived to a friendly linux community which is helping Linux Users from Years.. You can be its part if you have not already joined it. Registration is FREE and is gateway to unlimited help and support to all your linux related needs. If you are an GNU/Linux supporter then you have come to the right place.
Pages: [1]
  Print  
Author Topic: how to do these things in VI edit please some one  (Read 673 times)
0 Members and 1 Guest are viewing this topic.
seanny
New Member

Offline Offline

Posts: 1


View Profile
« on: February 26, 2008, 09:08:49 PM »

.Login to your directory
2. make a subdirectory name with a "01" at the end of your name
USe your name as the subdirectory name with a "01" at the end of your name
Ie "your name "01"

Use the mkdir command to create the directory
3 make another subdirectory under your home directory and use 02 at the end of your name

4
change directory to the "yor name "01 directory

5 create a file in the "your name 01" directory

6 return to your home directory
How did you return to your home directory
7 Enter the command ls-1
how do you tell directory from an ordinary file

8 Enter the command ls
How do you a directory from a n ordinary file?

Part II
Type the command
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2215


View Profile
« Reply #1 on: February 27, 2008, 07:44:53 PM »

Do you want one of us to type commands for all instructions you posted ?
Seems like a question from a linux course.
Logged
voidwyzard
New Member

Offline Offline

Posts: 3


View Profile
« Reply #2 on: March 05, 2008, 06:55:10 PM »



Vi (vim) is an editor.  I'm not sure why you want to do these from an editor, but you can.

<li>how to do these things in VI edit please some one?
<li> 1. Login to your directory<br>
cd ; vi
#or, you can use 'netrw'...
vi ~/.

<li>2. make a subdirectory name with a "01" at the end of your name
USe your name as the subdirectory name with a "01" at the end of your name
Ie "your name "01"<br>
:!mkdir ${USER}01
#that is: colon exclamation-point mkdir space dollar{USER}01

<li>3 make another subdirectory under your home directory and use 02 at the end of your name<br>
:!mkdir ${USER}02

<li>4. change directory to the "your name "01 directory<br>
:cd ${USER}01
#or, using netrw, use down-arrow or "j" down to your directory, then enter

<li>5 create a file in the "your name 01" directory<br>
:e myfile
#make your changes
:w myfile

<li>6 return to your home directory<br>
:cd ..
#or :cd ~

<li> 7. Enter the command ls-1, how do you tell directory from an ordinary file<br>
:!ls -l |less
#colon ls dash (lowercase)L vertical-bar less
look for listings with permissions that begin "d", for directory

<li>8 Enter the command ls, how do you a directory from a n ordinary file?
Logged
Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
   

 Logged
Pages: [1]
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
HOW TO EDIT THE LINUX KERNEL Linux Kernel ozioma 4 1975 Last post July 07, 2004, 03:08:08 PM
by dalek
How to merge and edit mpeg2 files? Linux Development & Programming jeeva 1 870 Last post December 29, 2005, 01:07:39 PM
by Ricky
fstab edit GUI Linux Tutorials & How To's pedro 1 410 Last post April 02, 2008, 03:36:44 AM
by aktiwari4u
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 01, 2008, 08:47:13 PM

Login with username, password and session length
Navigation
Recent Discussions
[November 29, 2008, 02:23:49 PM]

[November 29, 2008, 02:14:14 PM]

[November 29, 2008, 04:00:36 AM]

[November 28, 2008, 07:05:28 AM]

[November 28, 2008, 07:04:39 AM]

[November 28, 2008, 06:58:16 AM]

[November 28, 2008, 06:47:09 AM]

[November 26, 2008, 11:53:32 AM]

[November 26, 2008, 04:00:22 AM]

[November 25, 2008, 06:44:47 PM]
Members
Total Members: 6252
Latest: rash31
Stats
Total Posts: 8285
Total Topics: 2257
Online Today: 34
Online Ever: 111
(June 28, 2007, 06:47:29 AM)
Users Online
Users: 0
Guests: 12
Total: 12
Privacy Policy| Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Theme & TinyPortal v0.9.8 © Bloc