10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I use the following command to print the current directory above the command prompt
set prompt="`exec pwd`\n$USER@`hostname -s` %B: % > "
The output is something like this
<current path>
$USER@hostname >
But when I try to CD to any other directory and press the return key, the... (6 Replies)
Discussion started by: aelhosiny
6 Replies
2. Shell Programming and Scripting
Hello All,
I would like to display the current time in prompt.
I tried using following command:
export PS1="$(date +%k:%M:%S) $ "
but it gave me a fixed time in prompt whereas my objective is to get the current time everytime.
$ export PS1="$(date +%k:%M:%S) $ "
17:42:42 $
17:42:42 $... (32 Replies)
Discussion started by: manishdivs
32 Replies
3. Solaris
Can anyone tell me the command to check all the hardware information in Ok boot Prompt. Like the hard disk space memory size ..... (3 Replies)
Discussion started by: newbi8321
3 Replies
4. Solaris
Greetings friends,
I would like to 'clone' the system/root hard disk with dd. (Solaris 10 on SPARC).
If I understood correctly, 'OK Prompt' can use dd command?
Can it mount drives? (to avoid any possibility of cloning the wrong drive, I'd like to output dd to file)
thanks. (3 Replies)
Discussion started by: orange47
3 Replies
5. Linux
Hi I have vista on c drive. and installed oracle enterprise linux on d: drive formated(EXT3) ... installation went fine. but when i start my laptop it directly boots vista . i do not get os selection menu.
Please help
Ankur:D (2 Replies)
Discussion started by: ankurk
2 Replies
6. Solaris
Server need to have the OS reinstalled (5.10 SPARC) and I cannot get it to the OK prompt. I also do not have the ALOM password and I've tried several different methods to zero out the NVRAM but to no avail. There is no ALOM battery that I can pull. I'm connecting via Cutecom (like minicom) and... (18 Replies)
Discussion started by: LittleLebowski
18 Replies
7. Solaris
Anyone know
How to configure solaris 8 to display hostname in command prompt , everytime when you open a terminal screen . (3 Replies)
Discussion started by: civic2005
3 Replies
8. Solaris
I want to install Solaris 9 on SUN ULTRA 10. The cdrom is attached to an ide controller. The server is currently running Solaris 2.6
I insert Solaris cd 1 of 2 and at the ok prompt I type boot cdrom i get the error below
Boot device: /pci@1f,0/pci@1,1/ide@3/cdrom@2,0:f file and args:... (11 Replies)
Discussion started by: Msororaji
11 Replies
9. SCO
Can I choose a kernel at 'boot:' prompt. (1 Reply)
Discussion started by: pacctono
1 Replies
10. Red Hat
my redhat 9 will not boot. We had a power failure and when the power came back, my redhat linux will not boot.
The machine come up to grub prompt.
I tried the following from grub prompt
root (hd0, then press tab key
partition num:0 filesystem type unknown, partition type 0x83... (7 Replies)
Discussion started by: hassan2
7 Replies