1. My teacher wants me to print a listing of the profile. Would I just do "touch .profile" and then append (using ">>") the commands to the file, then print it?
2. I am not sure if my alias is correct. Not sure how to find the exact location of the passwd file
I 1st take your 2nd question.
Your teacher wants to get your username from the passwd file. LOGNAME variable contains your username.
To take your 1st question. It seems she wants you to print that file. So, use
Also it may happen that she only wants to display the contents of the profile file. So, use
I am trying to create an alias for a frequently used directory path by using
alias xyz="/proj/dir_name"
and then trying to reach a sub-directoy by using
cd xyz/abc
but I get an error saying " No such file or directory "
plz tell me wats wrong with this ... (3 Replies)
I created a profile in HMC for a new LPAR and activated it but not yet installed AIX.
Is there a step to make this new LPAR available as vhostX from the VIO server after creating and activating an HMC profile?
I already shared the CD-ROM device from the HMC profile.
Thanks.
-... (1 Reply)
Hello,
I need the command to create alias for a file "FILE" (NOT for commands) ? And Is there any difference between creating alias for files and creating alias for commands ?
For info, i'm using Solaris 8
Thx,
http://www.unix.com/images/misc/progress.gif (5 Replies)
Hi,
We have a load of users which point to the same basic profile by a link:
.profile -> /export/home/dusers/INIT/dot.profile
I'd like to create a seperate profile for one user -testu12. If I remove the link from his profile will it delete the actual dot.profile file?
I've tried to do a... (4 Replies)
I am new in shell scripting. currently i am using cygwin. My problem is
i created a profile file in my own folder. file name is first.profile in which i gave following values to variable
export a=10
now i am executing this profile file by below command
./.first.profile
it executed... (4 Replies)
first i created a profile file(my_var.profile) which contains
export my_var=20
after that i created shell scripts(my_var.sh) which contains
#!/bin/bash
. ./my_var.profile
echo '$my_var='$my_var
but when i am executing sh my_var.sh it is showing error that no such file/directory .profile.... (6 Replies)
Hello,
I want to create an alias for this command:
grep -i "<keyword_to_search>" <path_to_search>
Here's the alias I intended to make:
alias k 'set ARGS1 =(\!1); set ARGS2 =(\!2); grep -i "$ARGS1" ARGS2'
So that next time, for example, if I want to search the keyword "Help" in the path... (5 Replies)
Hi,
I'm using Mac 10.9.1. I would like to create an alias for grep so that it won't print out messages like "grep: /Users/davea/workspace/myproject/subdir/: Is a directory" all the time. So in my terminal, I opened ~/.profile and entered
alias grep='grep -s'
However, when I close and... (5 Replies)
Discussion started by: laredotornado
5 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)