The file .profile in my home directory is getting sourced properly .
As I login I think the /.profile of root gets sourced gets sourced first
and then whatever i have mentioned below
My Prompt which should be the Directory path by default is changed to $ after I login. If I remove "PS1=$" from my .profile it changes to <Directory name>
By someway its not setting the vi editor . Correct me if I am wrong.
Today I logged as root on my HP-UX server and by mistake executed below command
# ksh -i vi
Then onwards for every root logging the ksh shell giving wired output to every command
e.g
# ls
kÚ
.brw_history
.brwpause
.brwtmp
: : :
1+~H4p+À+~KÑ
1+Ðè
d
15kÚ
1d+~èYÑd:ðè½h|À+~èY4:àh|À+
And so... (6 Replies)
Hi All,
I am running a script , working very fine on cmd prompt. The problem is that when I open do crontab -e even after setting editor to vi by
set EDITOR=vi it does not open a vi editor , rather it do as below.....
/////////////////////////////////////////////////////
$ set... (6 Replies)
Hi,
I have problem setting up environmental variables.
The idea is to start with main.ksh script that will run setting.ksh, and in side of it I'll set up variables.
Please take a look at my code, and help me to find my mistake.
Thanks,
Mila
Main.ksh look like this:
#!/usr/bin/ksh
#... (2 Replies)
Hi ,
I am having one TCL TK script , I am setting some variables in the GUI TK interface
set DI 1
set MODELS_PATH /a/d/path
but I want to make ksh shell understand the variables when I am running TK script
I tried to do like this
set a
but it is not working
... (1 Reply)
Hello Everyone,
I'm still trying to grasp many concepts in .ksh scripting, one of them being variables inside loops. My problem is the following:
* I'm trying to set a variable inside a while read loop to reuse it outside of said loop. My lines are the following :... (13 Replies)
I am trying to set a variable from this AWK command in KSH but I keep getting an error that says my variable cannot be found.
LOADNO = $(awk -F"|" 'NR==1{print $2}' file.txt)
If I just run awk -F"|" 'NR==1{print $2}' file.txt I get the right value but as soon as I try to assign this... (1 Reply)
I am facing a very strange issue. I have script in ksh with #!/bin/ksh as shebang.
This script has function which sets the env variable before running other functions of the script. by
set_up_env()
{
CONFIG_FILE="/opt/app/tools/deepmarking/latestVersion/script/UploadEnv"
if
then
... (7 Replies)
Hello All,
Last night I installed OpenSuSE 12.1 (i586) on a HP Mini 110 laptop. And I selected GNOME as my Desktop during install...
So I was trying to customize some things about the desktop, for example adding the Maximize/Minimize/Close options to the titlebar of a window.
I did this... (2 Replies)
I was wondering if it is possible to execute a script that will remove a certain search pattern from a file and save it?
Manually I would just hit escape to enter command mode then search and delete the pattern "./srv 135.0.0.1.11111 210;=1" then save & exit the file
vi command to search and... (3 Replies)
Discussion started by: seekryts15
3 Replies
LEARN ABOUT DEBIAN
colormgr
COLORMGR(1)COLORMGR(1)NAME
colormgr - Color Manager Testing Tool
SYNOPSIS
colormgr [ --verbose ]
DESCRIPTION
This manual page documents briefly the colormgr command.
colormgr allows an administrator to view and change color profile to device mappings.
OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included
below.
--help Show summary of options.
COMMANDS
This program takes commands with a variable number of arguments.
create-device
Creates a color managed device
create-profile
Create a color profile
delete-device
Deletes a color managed device
delete-profile
Deletes a color profile
device-add-profile
Add a profile to a device that already exists
device-get-default-profile
Gets the default color profile for a device
device-get-profile-for-qualifier
Returns all the profiles that match a given qualifier
device-make-profile-default
Makes a profile default for a specific device
device-set-kind
Sets the device kind
device-set-model
Sets the device model
device-set-serial
Sets the device serial
device-set-vendor
Sets the device vendor
find-device
Find a device from the device ID
find-device-by-property
Find a device with a given property value
find-profile
Find a profile from the profile ID
find-profile-by-filename
Find a profile from the filename
get-devices
Gets all the color managed devices
get-devices-by-kind
Gets all the color managed devices of a specific kind
get-profiles
Gets all the available color profiles
profile-set-filename
Sets the profile filename
profile-set-qualifier
Sets the profile qualifier
AUTHOR
This manual page was written by Richard Hughes <richard@hughsie.com>.
20 December,2008 COLORMGR(1)