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
reboot(1M) reboot(1M)
NAME
reboot - reboot the system
SYNOPSIS
time] message]
time] message]
DESCRIPTION
The command terminates all currently executing processes except those essential to the system, then reboots the system, or halts, or makes
the partition ready for reconfiguration. When invoked without arguments, syncs all disks before rebooting the system.
Options
The command recognizes the following options:
Shut down the system and halt.
Shut down the system and reboot automatically (default).
Shut down the system to a ready-to-reconfigure state and reboot if possible.
If the partition is unable to reboot, it will stop at a ready-to-reconfigure state. However, if the option is also
specified, the system will always stop at ready-to-reconfigure state. This option is available only on systems that
support hardware partitions.
Shut down the system to a ready-to-reconfigure state and do not reboot.
This option can be used only in combination with the option. This option is available only on systems that support
hardware partitions.
Do not sync the file systems before shutdown.
The and options are ignored with this option.
Sync the file systems before shutdown;
for file systems that were cleanly mounted, modify the flag from to (default).
Quick and quiet.
Suppress broadcast of warning messages, terminate processes by brute force (with and immediately call with arguments
as indicated by the other options (see reboot(2)). No logging is performed. The and options are ignored with this
option.
Specify what time
will bring the system down. time can be the word (indicating immediate shutdown) or a future time in one of two for-
mats: and The first form brings the system down in number minutes; the second brings the system down at the time of
day indicated (based on a 24-hour clock).
Display message at the terminals of all users on the system at decreasing intervals as reboot time approaches. The message
must not contain any embedded double quotes.
At shutdown time a message is written in the file
(if it exists), containing the time of shutdown, who ran and the reason.
Only users with appropriate privileges can execute the command.
WARNINGS
does not invoke the shutdown scripts associated with subsystems to bring them down in a cautious manner. See shutdown(1M).
If the option is used in a virtual partition environment on a partitionable system, then the requested reconfiguration will not take place
until all the virtual partitions on that hard partition are shut down and the virtual partition monitor is rebooted.
AUTHOR
was developed by HP and the University of California, Berkeley.
FILES
Shutdown log
SEE ALSO
vpartition(1), reboot(2), partition(5).
reboot(1M)