10-26-2010
Please show us what you get on screen & the code of somepgm.
Is someoutputfile a normal file ?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
2. HP-UX
Hi,
I have small script written in korn shell. When it is called from different script, its dumping core, but no core dump when we run it standalone.
And its not dumping core if we run the script using "/bin/sh" instead of "ksh"
Can some body please help me how to resolve this issue.
... (9 Replies)
Discussion started by: simhe02
9 Replies
3. Shell Programming and Scripting
Hi all,
I´ve already searched the forum but can´t find what i am doing wrong.
I am trying to compare two variables using ksh under red hat. The error I get is:
-ksh: .: MDA=`md5sum /tmp/ftp_dir_after_transfer | cut -d' ' -f1 `
MDB=`md5sum /tmp/ftp_dir_before_transfer | cut -d' ' -f1 `... (3 Replies)
Discussion started by: old_mike
3 Replies
4. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
5. Shell Programming and Scripting
Hi,
Could anyone please shed some light on the following script lines and what is it doing as it was written by an ex-administrator?
cat $AMS/version|read a b verno d
DBVer=$(/usr/bin/printf "%7s" $verno)
I checked that the cat $AMS/version command returns following output:
... (10 Replies)
Discussion started by: dbadmin100
10 Replies
6. Shell Programming and Scripting
Which one of the following are more accurate and why?
nohup myScript.sh 1>nohup_$(date +%Y%m%d%H%M%S).out 2>&1 &
nohup myScript.sh 1>>nohup_$(date +%Y%m%d%H%M%S).out 2>&1 &
nohup myScript.sh >nohup_$(date +%Y%m%d%H%M%S).out 2>&1 &
nohup myScript.sh >>nohup_$(date +%Y%m%d%H%M%S).out 2>&1 &... (3 Replies)
Discussion started by: kchinnam
3 Replies
7. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
8. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
9. AIX
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
LEARN ABOUT DEBIAN
gnome2::wnck::screen
Gnome2::Wnck::Screen(3pm) User Contributed Perl Documentation Gnome2::Wnck::Screen(3pm)
NAME
Gnome2::Wnck::Screen - an object representing a screen
HIERARCHY
Glib::Object
+----Gnome2::Wnck::Screen
METHODS
window = $screen->get_active_window
workspace = $screen->get_active_workspace
unsigned = $screen->get_background_pixmap
$screen->change_workspace_count ($count)
o $count (integer)
screen = Gnome2::Wnck::Screen->get_default
screen = Gnome2::Wnck::Screen->get_for_root ($root_window_id)
o $root_window_id (unsigned)
$screen->force_update
screen = Gnome2::Wnck::Screen->get ($index)
o $index (integer)
integer = $screen->get_height
$screen->move_viewport ($x, $y)
o $x (integer)
o $y (integer)
boolean = $screen->net_wm_supports ($atom)
o $atom (string)
integer = $screen->get_number
window = $screen->get_previously_active_window
$screen->release_workspace_layout ($current_token)
o $current_token (integer)
boolean = $screen->get_showing_desktop
$screen->toggle_showing_desktop ($show)
o $show (boolean)
integer = $screen->try_set_workspace_layout ($current_token, $rows, $columns)
o $current_token (integer)
o $rows (integer)
o $columns (integer)
integer = $screen->get_width
string or undef = $screen->get_window_manager_name
list = $screen->get_windows
Returns a list of WnckWindow's.
list = $screen->get_windows_stacked
Returns a list of WnckWindow's.
integer = $screen->get_workspace_count
workspace = $screen->get_workspace ($workspace)
o $workspace (integer)
list = $screen->get_workspaces
SIGNALS
active-window-changed (Gnome2::Wnck::Screen, Gnome2::Wnck::Window)
active-workspace-changed (Gnome2::Wnck::Screen, Gnome2::Wnck::Workspace)
window-stacking-changed (Gnome2::Wnck::Screen)
window-opened (Gnome2::Wnck::Screen, Gnome2::Wnck::Window)
window-closed (Gnome2::Wnck::Screen, Gnome2::Wnck::Window)
workspace-created (Gnome2::Wnck::Screen, Gnome2::Wnck::Workspace)
workspace-destroyed (Gnome2::Wnck::Screen, Gnome2::Wnck::Workspace)
application-opened (Gnome2::Wnck::Screen, Gnome2::Wnck::Application)
application-closed (Gnome2::Wnck::Screen, Gnome2::Wnck::Application)
class-group-opened (Gnome2::Wnck::Screen, Gnome2::Wnck::ClassGroup)
class-group-closed (Gnome2::Wnck::Screen, Gnome2::Wnck::ClassGroup)
background-changed (Gnome2::Wnck::Screen)
showing-desktop-changed (Gnome2::Wnck::Screen)
viewports-changed (Gnome2::Wnck::Screen)
window-manager-changed (Gnome2::Wnck::Screen)
SEE ALSO
Gnome2::Wnck, Glib::Object
COPYRIGHT
Copyright (C) 2003-2006 by the gtk2-perl team.
This software is licensed under the LGPL. See Gnome2::Wnck for a full notice.
perl v5.14.2 2011-11-16 Gnome2::Wnck::Screen(3pm)