Solved

How to open vi to edit and save .profile file?

Posted on 2006-06-21
1
5,353 Views
Last Modified: 2013-12-16
How to open vi to edit and save .profile file?

Hello!!!

Thax
_Esam
0
Comment
Question by:_Esam
1 Comment
 
LVL 43

Accepted Solution

by:
ravenpl earned 50 total points
ID: 16953740
cd $HOME
vi .profile
then press i (will enter insert mode), change the file, press Ecs :wq Enter

Also visit http://www.google.com/search?q=vi+tutorial&lr=
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now