02-22-2011
Np
If you are using BASH, then another great tip to know is to use Ctrl-R, start typing and it will try and find a match in your history. Cycle through multiple 'finds' by using Ctrl-R again.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I can use history command in unix to view my last 50 commands. But how can I run the previous commands easily? Can history command help?
Firebird (2 Replies)
Discussion started by: firebirdonfire
2 Replies
2. UNIX for Dummies Questions & Answers
how do I make my arrow keys behave like they are on DOS.
ALSO i need editing on command promt like it is on DOS on my UNIX prompt
can anyone help pl.. (11 Replies)
Discussion started by: spotnis
11 Replies
3. UNIX for Dummies Questions & Answers
How could you put the output of two commands into one file using a single command? For example put the output of a grep command and a sort command into one file together.
Here is another rough explanation of what I am trying to do;
output of
$ grep pattern file1
plus output of
$ sort file... (8 Replies)
Discussion started by: enuenu
8 Replies
4. UNIX for Dummies Questions & Answers
Hi there again,
Running Solaris 10 with built-in Java. Seems to compile and run fine.
Problem is: Say I want to see contents of current directory. In a shell, I'd just write "ls" and it outputs the content.
When I write a Java file, I have the following line:
System.out.println("ls");
... (1 Reply)
Discussion started by: EugeneG
1 Replies
5. Solaris
hi friends,
I am working in Sun solaris unix 10 with shell commands and all these works properly.
Then i created a small function which includes these commands.
Now the problem arises. When the commands are run by calling this fuction.it
shows error.
Why i am not able to run the unix... (1 Reply)
Discussion started by: gjithin
1 Replies
6. Solaris
What settings should be done in order make UPARROW key to show previous commands on the shell prompt(Solaris)? (6 Replies)
Discussion started by: shafi2all
6 Replies
7. Solaris
I have to execute 2 commands everytime i reboot my Solaris machine.
Simple "share" and "chown" commands.
Is there anywhere (maybe a config file or something) where I can include these commands so that I do not have to manually run them everytime I reboot the machine?
Any help appreciated... (2 Replies)
Discussion started by: lydiaEd
2 Replies
8. Shell Programming and Scripting
Hi All
I have written the following script:
#!/bin/ksh
while read cmdline
do
echo `$cmdline`
pid="$cmdline"
done<commands.txt
===========
commands.txt contains:
ps -ef | grep abc | grep xyz |awk '{print $2};
My objective is to store the o/p of the command in a variable and do... (8 Replies)
Discussion started by: rahulparo
8 Replies
9. Shell Programming and Scripting
Hi This is continuation of previos thread
status=running
username=abc
password=123456
server=linux
The script was made which is used to capture the data from file
./scr test status
It will give result running
I have a case like
status = running
username=abc
password=123456... (14 Replies)
Discussion started by: parthmittal2007
14 Replies
10. UNIX for Dummies Questions & Answers
Hello,
I am new to this forum so any assistance would help.
I am currently trying to develop a script that extract all data from a log file with has the previous day's date.
$ <root@aixtest3> /var/log > more sudo.log
May 13 10:52:10 aixtest3 local2:notice sudo: tbrath : TTY=unknown ; ... (14 Replies)
Discussion started by: Kslew82
14 Replies
LEARN ABOUT HPUX
install-solaris
install-solaris(1M) install-solaris(1M)
NAME
install-solaris - install the Solaris operating system
SYNOPSIS
install-solaris
install-solaris invokes the Solaris Install program. Depending on graphical capability and available memory at the time of invocation,
install-solaris invokes either a text-based installer or a graphical installer.
The following minimum requirements for physical memory dictate which features are available during installation:
For SPARC machines:
128 MB
Minimum physical memory for all installation types
128 MB
Minimum physical memory required for windowing system
384 MB
Minimum physical memory required for graphical-based installation
For x86 machines:
256 MB
Minimum physical memory for all installation types
256 MB
Minimum physical memory required for windowing system
512 MB
Minimum physical memory required for graphical-based installation
In some cases, even if the minimum physical memory is present, available virtual memory after system startup can limit the number of fea-
tures available.
install-solaris exists only on the Solaris installation media (CD or DVD) and should be invoked only from there. Refer to the for more
details.
install-solaris allows installation of the operating system onto any standalone system. install-solaris loads the software available on the
installation media. Refer to the for disk space requirements.
Refer to the for more information on the various menus and selections.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcdrom (Solaris instal- |
| |lation media) |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
pkginfo(1), install(1M), pkgadd(1M), attributes(5)
It is advisable to exit install-solaris by means of the exit options in the install-solaris menus.
23 Sep 2005 install-solaris(1M)