...
select 'ROWS '|| ' '||decode((count(Part_no)),0,'With greater values not found',count(part_no)) from log ...
... I am getting error as With: 0403-009 The specified number is not valid for this command. ...
To me, the err msg seems to be SQL originated. Pls post result of above query submitted interactively.
Hi
We had 3 server -hp112and hp146 here hp112 is production server and hp146 is staging server used for load.
when i am trying to run follwing command
rcp abc hp112:/dnbusr1/gbid/gbid02 it's trowing an error :-
remshd: Login incorrect.
But same command is working wise versa -
rcp abc... (1 Reply)
how can i make one script fail if some condition is not satisfied.i m writing if ..else logic in script.i need some standard command to do that ,, (1 Reply)
Hello,
while i was saving a web file directing on to usb location there was some network problem which result in error WRITE DELAYED on windows xp.
so pen drive is not getting completely formated(show as Windows was unable to complete format).From then onwords it is not allowing to copy... (0 Replies)
Hi Guys,
I am trying a simple for loop which is throwing an error.
Below is my code:
#/bin/sh
set -A array "are" "you" "there";
for ( i = 0 ; i < ${#array} ; i++ )
do
echo ${array}
done
I am getting this error
tci001wasd02 $ sh -vx array_for.sh
#/bin/sh
set -A array "are"... (6 Replies)
All ,
I am trying to install POCO lib on Solaris server.
When I do make -s,I am getting the following error.
make: Fatal error in reader: Makefile, line 10: Unexpected end of line seen
Few of the content:
#
# Makefile
#
# The global Makefile for POCO
#
#sinclude config.make
... (0 Replies)
Dear all,
I would like to count the no;of word "INFORMATION" in a file called alt.lst and output to a unix variable INFORMATION.so to do this I wrote the below code
INFORMATION=echo 'INFORMATION' | tr -cs 'A-Za-z' '\n' < /app/tisq005/01/home/tisq005b/scripts/alt.lst | grep -c "INFORMATION"... (2 Replies)
Hi All
I have two shell scripts where the second is getting invoked from the first. E.g.
test1.sh and test2.sh Within test1, the code is something like this:
#!/bin/bash
. test2.sh
usage() {
echo "..."
echo "....."
}
SRC=$1
DEST=$2
case "$3" in
tran) doTran ;;
*)... (7 Replies)
Hello Gurus,
I am writing one script at linux.
The logic is
There is a find command which will find some specific files daily and store at a variable
Then echo that variable .
Now when I am trying to read the variable by using for loop it is throwing error as below:cat: CKDT.dat: No such... (5 Replies)
Hi,
I have downloaded gzipped source tarball of python3.7. I have tried to compile like below,
./configure --prefix=/directory
Compiling seems to be ok..But when running make all..Getting too many missing initializer warnings
/python3.6/Python-3.6.0/Modules/_cursesmodule.c: At top level:... (1 Reply)
Hi,
Prustat is throwing error only in zones. But it is working fine in global.
dtrace: invalid probe specifier
/*
** The following is a trimmed version of two seperate DTrace scripts:
**
** socketsnoop.d - snoop TCP network socket traffic by process.
** This is intended to identify the... (3 Replies)
Discussion started by: Sumanthsv
3 Replies
LEARN ABOUT LINUX
resizecons
RESIZECONS(8) Console Support RESIZECONS(8)NAME
resizecons - change kernel idea of the console size
SYNOPSIS
resizecons COLSxROWS
resizecons -lines ROWS
DESCRIPTION
The resizecons command tries to change the videomode of the console. There are several aspects to this: (a) the kernel must know about it,
(b) the hardware must know about it, (c) user programs must know about it, (d) the console font may have to be adapted.
(a) The kernel is told about the change using the ioctl VT_RESIZE. This causes the kernel to reallocate console screen memory for all vir-
tual consoles, and might fail if there is not enough memory. (In that case, try to disallocate some virtual consoles first.) If this
ioctl succeeds, but a later step fails (e.g., because you do not have root permissions), you may be left with a very messy screen.
The most difficult part of this is (b), since it requires detailed knowledge of the video card hardware, and the setting of numerous regis-
ters. Only changing the number of rows is slightly easier, and resizecons will try to do that itself, when given the -lines option. (Proba-
bly, root permission will be required.) The command resizecons COLSxROWS will execute restoretextmode -r COLSxROWS (and hence requires
that you have svgalib installed). Here COLSxROWS is a file that was created earlier by restoretextmode -w COLSxROWS. Again, either root
permissions are required, or restoretextmode has to be suid root.
In order to deal with (c), resizecons does a `stty rows ROWS cols COLS' for each active console (in the range tty0..tty15), and sends a
SIGWINCH signal to selection if it finds the file /tmp/selection.pid.
Finally, (d) is dealt with by executing a setfont command. Most likely, the wrong font is loaded, and you may want to do another setfont
yourself afterwards.
BUGS
resizecons does not work on all hardware. This command used to be called resize, but was renamed to avoid conflict with another command
with the same name.
SEE ALSO setfont(8), stty(1), selection(1), restoretextmode(8), disalloc(8)Local 17 Jan 1995 RESIZECONS(8)