08-10-2001
uname -X
Last edited by Optimus_P; 08-10-2001 at 11:49 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I want to run the 'locate' command and then remove what the command finds.
My guess was, locate blahblah |rm -f
but this does not work.
Thanks! (3 Replies)
Discussion started by: jasonr
3 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
Here is an example, I would wan to search for all string consists of IMP but not IMP-00015. Values other than 00015 is fine, is there anyone knows how to do that?
Thanks. (2 Replies)
Discussion started by: *Jess*
2 Replies
3. Solaris
Hi.
When i execute
which passwdit is showing /usr/bin/passwd, eventhough i set my path as
PATH=/etc:$PATH
i just checked the permission for the passwd under /usr/bin
-r-sr-sr-x
what exactly happening? and what is that s signifies
Thanks. (5 Replies)
Discussion started by: shahnazurs
5 Replies
4. Shell Programming and Scripting
Hi,
I am new to unix.Can you please tell me whether there is any command to search for a file in all the directories... and also i want to search for an expression in all the directories.
Thanks in advance.
Regards,
Harika Mamidala (3 Replies)
Discussion started by: harikamamidala
3 Replies
5. UNIX for Dummies Questions & Answers
Hi Guys,
This one is, seemingly, a very simple question.
I am on HPUX1572. The shell used is ksh.
I used to locate a command using esc-K '/' followed by a few letters of the command.
I tried to search my command history using ESC-K, it works fine. But the old trick of esp+K '/' doesnt... (0 Replies)
Discussion started by: n_rajitr
0 Replies
6. UNIX for Dummies Questions & Answers
Hi
I want to search in file such that
suppose file A which has keyword # Query_time: 12.080983
Query_time: 5.233292
Query_time: 5.298892
Any command to search top 10 Query_time (5 Replies)
Discussion started by: kaushik02018
5 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I wanted to replace the character '~' with \n (carraige retrurn or new line character)
I am tried the commands like
s/~/\n/g
s/~//\n/g
but the commands says that no "No match exists for the substitute pattern". (7 Replies)
Discussion started by: atlantis_yy
7 Replies
8. Shell Programming and Scripting
how can i search each line for ROCT and ROCT1.ROCT1 will be always 1 line after ROCT.
Both the patterns will be found at the end of the line (in alternate lines)
<pattern file>
(rising edge-triggered flip-flop clocked by ROCT)
Endpoint:... (2 Replies)
Discussion started by: dll_fpga
2 Replies
9. Shell Programming and Scripting
I need to search the file using strings "Request Type" , " Request Method" , "Response Type" and by using result set find the xml tags and convert into a single line?. below are the scenarios.
Cat test
Nov 10, 2012 5:17:53 AM
INFO: Request Type
Line 1.... (5 Replies)
Discussion started by: laknar
5 Replies
10. Shell Programming and Scripting
I have a multiple csv files which have different network time. The files are in sequance,
The Files Look like..
csv 1
network time
1348177401922972
1348177401949917
1348177401959150
1348177401964104
1348177401964258
1348177401964289
1348177401969053
1348177401970286
1348177401971174... (1 Reply)
Discussion started by: rakesh_arxmind
1 Replies
LEARN ABOUT CENTOS
openvt
OPENVT(1) Linux 1.x OPENVT(1)
NAME
openvt - start a program on a new virtual terminal (VT).
SYNOPSIS
openvt [-c vtnumber] [OPTIONS] [--] command
DESCRIPTION
openvt will find the first available VT, and run on it the given command with the given command options, standard input, output and error
are directed to that terminal. The current search path ($PATH) is used to find the requested command. If no command is specified then the
environment variable $SHELL is used.
OPTIONS
-c, --console=VTNUMBER
Use the given VT number and not the first available. Note you must have write access to the supplied VT for this to work;
-f, --force
Force opening a VT without checking whether it is already in use;
-e, --exec
Directly execute the given command, without forking. This option is meant for use in /etc/inittab;
-s, --switch
Switch to the new VT when starting the command. The VT of the new command will be made the new current VT;
-u, --user
Figure out the owner of the current VT, and run login as that user. Suitable to be called by init. Shouldn't be used with -c or -l;
-l, --login
Make the command a login shell. A - is prepended to the name of the command to be executed;
-v, --verbose
Be a bit more verbose;
-w, --wait
wait for command to complete. If -w and -s are used together then openvt will switch back to the controlling terminal when the com-
mand completes;
-V, --version
print program version and exit;
-h, --help
show this text and exit.
-- end of options to openvt.
NOTE
If openvt is compiled with a getopt_long() and you wish to set options to the command to be run, then you must supply the end of options --
flag before the command.
EXAMPLES
openvt can be used to start a shell on the next free VT, by using the command:
openvt bash
To start the shell as a login shell, use:
openvt -l bash
To get a long listing you must supply the -- separator:
openvt -- ls -l
HISTORY
Earlier, openvt was called open. It was written by Jon Tombs <jon@gtex02.us.es or jon@robots.ox.ac.uk>. The -w idea is from "sam".
SEE ALSO
chvt(1), doshell(8), login(1)
19 Jul 1996 V1.4 OPENVT(1)