10-13-2003
vi editor not displaying?
Hi guys,
I have changed some path in the vi .profile and then i shutdown the system and when i reboot it i was unable to use
vi.
It is showing vi not found.Likewise for few other commands also.
How to solve this problem and make vi work again.
Plz. do provide the answer it is Urgent??
thanx,
m.ananthu
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
When I type date..I get the date, time ..etc displayed
...but can someone help me to display yesterdays date... some script to display back dates.
Thanks in advance
Minaz (7 Replies)
Discussion started by: minazk
7 Replies
2. UNIX for Dummies Questions & Answers
I would like to see what a command is doing. For example, say I move 10 files using mv * somedir. Can I use some other command to see a verification of each files movement. Like:
file1 moved to somedir
file2 moved to somedir
...
but, i'd to have this capability for all commands. it seems... (1 Reply)
Discussion started by: quantumechanix
1 Replies
3. UNIX for Dummies Questions & Answers
hi,
how can display year parameter also while listing files from a directory?it displyas only if last acces sis more than 1 yr i guess.can it be dispalyed using some option or some method?
thanks and regards
vivek.s (2 Replies)
Discussion started by: vivekshankar
2 Replies
4. Solaris
Hi,
Does anyone know what i need to do to get the 'é' character to display on a Solaris 9 server. When i try to cut and paste it onto some of my machines via telnet it displays an 'i' but other machines with the same OS version are ok. It also doesn't like Japanese Characters.
Any help would be... (0 Replies)
Discussion started by: mwfisher
0 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I knw its a silly question, but am a newbie to 'vi' editor. I'm forced to use this, hence kindly help me with this question.
How can i paste a chunk 'copied from' a different editor(gedit) in 'vi editor'?
As i see, p & P options does work only within 'vi'. (10 Replies)
Discussion started by: harishmitty
10 Replies
6. Shell Programming and Scripting
Hi All,
I am running a script , working very fine on cmd prompt. The problem is that when I open do crontab -e even after setting editor to vi by
set EDITOR=vi it does not open a vi editor , rather it do as below.....
/////////////////////////////////////////////////////
$ set... (6 Replies)
Discussion started by: aarora_98
6 Replies
7. Solaris
Epic Editor was not able to obtain a license for your use. Feature Epic Editor :License server is down (1 Reply)
Discussion started by: durgaprasadr13
1 Replies
8. UNIX for Dummies Questions & Answers
I'm unsure about the topic title, but this is what I want to do.
I have a directory, named /opt/extra and and I want it to be displayed when I issue df command. Just by using df only, not df /opt/extra.
OS: Solaris 10
Current df output
root@jebat10 # df -k
Filesystem kbytes ... (3 Replies)
Discussion started by: Olli.Lang
3 Replies
9. UNIX for Dummies Questions & Answers
Hi,
Is there a way to display the stdout of a script using vi editor without writing the stdout to a file.
I have a script (format.sh) which reads a file and displays it in a special format.
i want to see this displayed text using vi editor?
currently i am doing:
format.sh myfile> out.txt... (1 Reply)
Discussion started by: yakari
1 Replies
10. Shell Programming and Scripting
Hi I am kind of stuck
I need help with printing only the names of the folder in the format
LAST NAME, F
so last name and the first character of first name
using ls -l command in the /home directory
currently they are in the format firstname.lastname
please advice (4 Replies)
Discussion started by: classic
4 Replies
LEARN ABOUT MINIX
shutdown
SHUTDOWN(8) System Manager's Manual SHUTDOWN(8)
NAME
shutdown - graciously close the system down
SYNOPSIS
shutdown [-hrRmk] [-x code] [time-specification [message]]
DESCRIPTION
Shutdown is a program which allows a system operator to close down the system in an nice way. Shutdown informs the users why and when the
system is going down. This warning is issued 10 minutes before shutdown time and every minute in the last 5 minutes. At this time (5 min-
utes), shutdown creates a file /etc/nologin to prevent new users from logging in.
Shutdown keeps a logfile of shutdowns. Every shutdown is registered in /usr/adm/wtmp, if this file exists. After these actions, a call is
done to reboot(2) which actually brings the system down.
Time-specification may be something like 15:00, 15.00, +15, or now for a shutdown at 3pm (twice), 15 minutes from now, or immediately.
The message may be used to describe why the system is going down, it may also be typed on standard input with the -m option.
OPTIONS
-h This flag prevents the system from rebooting after the shutdown. The system can now be powered off. This is the default.
-r This flag indicates that the system should reboot after shutting down.
-R Reboot the system by resetting it. Normally the kernel will try to return to the Boot Monitor. With -R the system will receive a
hardware reset.
-x code
Halt the system and let the Monitor execute the given code as if typed at the monitor prompt. You can for instance use -x 'boot
hd0' as a very fast way to reboot "from the top."
-m Allows the operator to type a shutdown message on standard input, that will be added to the messages displayed on all terminals.
-k This option gives the possibility of terminating an already started shutdown. This is only possible if shutdown time has not yet
arrived.
-C Check if the system crashed. This option is not used at shutdown time, but at reboot time. It tells if the file systems should be
checked by testing if the last entry in the wtmp file is a shutdown entry. (A crude replacement for a file system clean flag.)
FILES
/usr/adm/wtmp, /etc/nologin, /usr/adm/authlog
SEE ALSO
reboot(2), wall(1), halt(8), boot(8).
AUTHOR
Edvard Tuinder (v892231@si.hhs.NL)
SHUTDOWN(8)