10-14-2010
Don't forget you may not see your .profile file if you just do an ls. You have to do something like an ls -la to view files starting with a '.'
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have some basic doubts. Can someone clarify in this forum?
1)if
then
eval ' tset -s -Q -m ':?hp' '
else
eval ' tset -s -Q '
what does it exactly mean in .profile?
2) what are 'nobody' and 'noaccess' usernames in /etc/passwd file.
... (3 Replies)
Discussion started by: asutoshch
3 Replies
2. UNIX for Dummies Questions & Answers
How to know if my AIX 5.2 is running at 64bits?
THANKS (5 Replies)
Discussion started by: GermanSkull
5 Replies
3. UNIX for Dummies Questions & Answers
Hello all. Let me start off by saying I know a little more then it seems by me asking this question... here goes
I have an old 486 box and I want to start messing around with unix. I've been taking classes for 3 or 4 years in c programming in unix, so I am used to the commands and such, but I... (1 Reply)
Discussion started by: robherms
1 Replies
4. HP-UX
Could someone tell me the command to find out the OS version which will give 12 character not the 9 characters(which is usually machine id).
uname -i gives machine id and uname -a is more comprehensive way to look.
Thanks! (4 Replies)
Discussion started by: catwomen
4 Replies
5. Programming
Hi there.
I've got 12 years experience writing C++ on Windows, and 3 years C# on Windows. Now my boss wants me to write a C++ app to run on Unix as a multithreaded 'service' (i.e. a program that runs with no user intervention).
Some quick questions for The Experts:
* Whats the best C++... (3 Replies)
Discussion started by: Rutland Gizz
3 Replies
6. Shell Programming and Scripting
hi,
I have a basic question,,
i am in a directory called
/intas/OCU_3.9.1/sbin
ocuut1@france>mv itsa_tcs itsa_tcs_old
mv: itsa_tcs_old: rename: Permission denied
i am logging as the owner of the file.
when i am doing this i am getting the above error of permission denied.
I know... (3 Replies)
Discussion started by: namishtiwari
3 Replies
7. UNIX for Dummies Questions & Answers
Hello everyone,
Just started UNIX today! In our school we use solaris. I just want to know how do I setup Solaris 10 not the GUI one, the one where you have to type the commands like ECHO, ls, pwd, etc... I have windows xp and I also have vmware.
I hope I am not missing anything! :p (4 Replies)
Discussion started by: Hanamachi
4 Replies
8. Shell Programming and Scripting
Hello everyone,
I am having to do a lot of perl scripting these days and I am learning a lot.
I have this problem
I want to move files from a folder and all its sub folders to one parent folder, they are all .gz files..
there is folder1\folder2\*.gz
and there are about 50 folders... (1 Reply)
Discussion started by: xytiz
1 Replies
9. UNIX for Dummies Questions & Answers
what is a assembler
what isa interpreter
what is a compiler
what is a socket
what is a port
what is meant by listening to a port how we do it
how to know version and standard of unix one is using when one is on public access unix account
how to see a jobid in... (1 Reply)
Discussion started by: scimitar
1 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I was trying to change the value of the 4th column (put '1' in the 4th column of each row). My awk command is:
awk -F, '{$3=1;}1' OFS= input.txt > ./test_out.txt
My input file is:
a 1 2 31
b 4 5 61
c 7 8 91
My output file (test_out.txt)is:
a 1 2 31
b 4 5 61
c 7 8 91
What... (4 Replies)
Discussion started by: pc2001
4 Replies
LEARN ABOUT DEBIAN
muttprofile
MUTTPROFILE(1) User Contributed Perl Documentation MUTTPROFILE(1)
NAME
muttprofile - Choose a Mutt Profile
SYNOPSIS
muttprofile [-a|--active string] [-d|--dir directory] [-h|--help] [-p|--profile regexp] [-v|--view] [-V|--Version] [profile]
DESCRIPTION
muttprofile is a simple utility to choose a profile to be used with Mutt email-client. It has two operating modes: command-line and inter-
active. Muttprofile goes to interactive mode if no command-line arguments are present or option -v|--view is present without profile name.
Muttprofile looks for profile files in the Mutt directory, opens them and looks for NAME and DESC definitions. It then creates a symbolic
link to the profile chosen by the user. The rest of the work is done with a Mutt macro.
USAGE
Interactive mode:
Type the name of the profile and the program creates a symlink to load the profile. Press <tab> to complete, <ctrl-d> to see list of
choices.
Command-line options:
-a | --active Set the name for active profile symlink, default is profile.active
-d | --dir Set the Mutt directory, default is ~/.mutt
-h | --help prints a short help and exits
-p | --profile (Perl) Regexp to match profile files in Mutt directory
-v | --view Instead of creating a symlink, view profile contents
-V | --version prints the version information and exits (use --version for long and -V for short version)
profile if profile exits, create the symlink to load it from Mutt, otherwise exit with error
INSTALL
Muttprofile requires no installation, but you might have to check the first line of the file ("#!/usr/bin/perl -w") and change the path to
perl if needed ('which perl' might be useful here :-)
SETTING UP PROFILES
Muttprofile checks the profile files for the following information:
# NAME: name for your profile
# DESC: description of your profile
This information is used for choosing and displaying available profiles. DESC is optional, but if NAME is missing, filename is used
instead.
USING MUTTPROFILE FROM MUTT
Perhaps the easiest way to invoke muttprofile from mutt is to bind a key with mutt macro command. For example, adding this to your mut-
trc-file
macro index <F10> "!muttprofile
:source ~/.mutt/profile.active
m" "New message with profile"
binds the function key <F10> to start muttprofile, load the profile and start a new message
EXIT CODES
The default exit codes for muttprofile are:
0 OK
1 PROFILE ALREADY ACTIVE
2 ERROR
These codes can be used in shell scripts etc.
FURTHER INFORMATION
Discussion of profiles with Mutt: http://www.iki.fi/martti.rahkila/mutt/
Mutt home page: http://www.mutt.org
MODULES
muttprofile uses the perl modules "Term::Complete" and "Getopt::Long" that both come with the Perl distribution.
LICENCE
muttprofile is distibuted under GNU General Public Licence (GPL), same as Mutt. For details, see http://www.gnu.org/copyleft/gpl.html
BUGS
None known so far. Inevitably to appear sooner or later.
VERSION
1.0.0 (current)
First public release.
2000-05-10 Martti Rahkila
AUTHOR
Martti Rahkila
martti.rahkila@iki.fi
http://www.iki.fi/martti.rahkila/mutt
SEE ALSO
mutt(1), perl(1)
perl v5.8.0 2003-01-15 MUTTPROFILE(1)