10-19-2014
10 More Discussions You Might Find Interesting
1. Solaris
just put blank harddisk in my ultra10. i see no display to show me the
boot> prompt. i don't know what happened....?? Got a third party graphic card. Display was ok. Monitor seems to be ok. i used different one with same result. (1 Reply)
Discussion started by: S26+
1 Replies
2. UNIX for Dummies Questions & Answers
Can anyone tell me what makes the current path appear in the prompt ?
thx (4 Replies)
Discussion started by: Leitwolf
4 Replies
3. Solaris
I have two Dell x86 machines on which I am attempting to install Solaris 10 from CD. I am not doing a Jumpstart install. This is my first experience in installing Solaris (or any other OS). I am following the instructions at How to Quickly Install the Solaris 10 1/06 OS
The first machine... (3 Replies)
Discussion started by: sarahsi
3 Replies
4. 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
5. Shell Programming and Scripting
Hi all,
Can you tell me how to change the prompt color (only the path part) when I chnange directory with "cd"?
I use the sequence below in ".bashrc" (Solaris 8) to change my prompt colors and I'd like to modify it to change the path color when I cange directory.
PSC() { echo -ne "\"; }... (0 Replies)
Discussion started by: majormark
0 Replies
6. UNIX for Advanced & Expert Users
HI ,
I am trying to wite a script that will prompt me saying " what is path that you want to find ?". once i specify the path, the script should put this path in the find command mentioned below and execute the script:
find <path> -ctime +200 -type f -exec ls -l {} \;
for example :
... (7 Replies)
Discussion started by: bsandeep_80
7 Replies
7. Shell Programming and Scripting
I am new to to unix and I want to make my own basic shell. What is the code I can use to change the unix cmd console display? For example my unix display prompt says MyCompterName~, I want it to say WhatEverMan~ (3 Replies)
Discussion started by: megaearth77
3 Replies
8. 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
9. UNIX for Dummies Questions & Answers
I don't understand the question below..any can help me? thanks
Display the absolute path of the executable used when a
'grep' command is entered on the command line:
---------- Post updated at 08:30 PM ---------- Previous update was at 08:29 PM ----------
absolute (2 Replies)
Discussion started by: wk9031
2 Replies
10. Shell Programming and Scripting
In the below bash function multiple variants are input and stored in a variable $variant, and each is written to an out file at c:/Users/cmccabe/Desktop/Python27/out.txt stored on a separate line.
# enter variant
phox2b() {
printf "\n\n"
printf "What is the id of the patient getting... (0 Replies)
Discussion started by: cmccabe
0 Replies
LEARN ABOUT DEBIAN
i3-input
I3-INPUT(1) i3 Manual I3-INPUT(1)
NAME
i3-input - interactively take a command for i3 window manager
SYNOPSIS
i3-input [-s <socket>] [-F <format>] [-l <limit>] [-P <prompt>] [-f <font>] [-v]
DESCRIPTION
i3-input is a tool to take commands (or parts of a command) composed by the user, and send it/them to i3. This is useful, for example, for
the mark/goto command.
You can press Escape to close i3-input without sending any commands.
OPTIONS
-s <socket>
Specify the path to the i3 IPC socket (it should not be necessary to use this option, i3-input will figure out the path on its own).
-F <format>
Every occurence of "%s" in the <format> string is replaced by the user input, and the result is sent to i3 as a command. Default value
is "%s".
-l <limit>
Set the maximum allowed length of the user input to <limit> characters. i3-input will automatically issue the command when the user
input reaches that length.
-P <prompt>
Display the <prompt> string in front of user input text field. The prompt string is not included in the user input/command.
-f <font>
Use the specified X11 core font (use xfontsel to chose a font).
-v
Show version and exit.
EXAMPLES
Mark a container with a single character:
i3-input -F 'mark %s' -l 1 -P 'Mark: '
Go to the container marked with above example:
i3-input -F '[con_mark="%s"] focus' -l 1 -P 'Go to: '
ENVIRONMENT
I3SOCK
i3-input handles the different sources of socket paths in the following order:
o I3SOCK environment variable
o I3SOCK gets overwritten by the -s parameter, if specified
o if neither are available, i3-input reads the socket path from the X11 property, which is the recommended way
o if everything fails, i3-input tries /tmp/i3-ipc.sock
The socket path is necessary to connect to i3 and actually issue the command.
SEE ALSO
i3(1)
AUTHOR
Michael Stapelberg and contributors
i3 4.1.2 01/01/2013 I3-INPUT(1)