02-23-2010
There is typically a "at login" script which is executed only by a login shell.
Bourne Shell
~/.profile
Bash Shell
~/.bash_profile
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I just changed from windows NT to XP and I am no longer able
to connect to my unix system. I used to use hyper terminal -- which acts as dumb terminal to my main frame unix system. I think one of the options used to be "direct to comX". This option isn't listed now. I use a serial port and the... (2 Replies)
Discussion started by: michelle
2 Replies
2. UNIX for Dummies Questions & Answers
Hey everyone
I'm new to UNIX due to the new Mac OS X operating system and would like some help. I'm trying to send an email via the UNIX-Shell-Terminal i Mac OS X, (it's called darwin)
How do I do that? When I enter the Command mail I can send messages to root and with the command -forward... (4 Replies)
Discussion started by: onkel
4 Replies
3. UNIX for Advanced & Expert Users
I am trying to automate a SSH login using Keys using the following command
ssh -i id_rsa usernamw@ipaddr.
I am successful in doing this and i am getting the Warning Screen and I logon successfully.
but when I am executing the command
tail -1cf put.dat | ssh -i id_rsa username@ipaddr > get.dat ... (1 Reply)
Discussion started by: Shivdatta
1 Replies
4. OS X (Apple)
I have a file I need to run in Terminal. On my friend's computer it shows up under Get Info as a Unix Executable File, but on my computer it shows it as a Document file and doesn't run in Terminal. It doesn't show a file extension either. I also have a .cmd file it also thinks is a document. both... (2 Replies)
Discussion started by: bobknob
2 Replies
5. UNIX Desktop Questions & Answers
Hi, I'm new here, but I have a quick small question. I'm sorry if it sounds stupid, but I'm new to the UNIX world after using VMS (or Windows) my entire life. I my Mac runs Leopard, and I was wondering;
My friend me through Mac's "Terminal" you can create and program your own applications by... (2 Replies)
Discussion started by: Kcahintosh19
2 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I installed ubuntu recently on my pc. And I installed gnuplot as well.
When I first started working with gnuplot it was working . I did a plot and when I wanted to fit my data something happened and not the default terminal of gnuplot is xwt!
I changed it to: set terminal x11, but it... (0 Replies)
Discussion started by: cosmologist
0 Replies
7. UNIX for Dummies Questions & Answers
I've searched and searched but either I'm not using the right key words or the information isn't in print anywhere.
I'm running Cent 5.3 and I have a number of terminal profiles setup to ssh into some of my Unix servers at work, what I'm trying to do is setup shortcuts on my desktop to those... (3 Replies)
Discussion started by: nixnoob
3 Replies
8. UNIX for Dummies Questions & Answers
I am wondering if the DOS console works like the unix terminal? (1 Reply)
Discussion started by: vistastar
1 Replies
9. Shell Programming and Scripting
I have been having an extremely annoying problem. For the record, I am relatively new at this. I've only been working with unix-based OS's for roughly two years, mostly Xubuntu and some Kali. I am pretty familiar with the BASH language, as that's the default shell for debian. Now, I've made this... (16 Replies)
Discussion started by: Huitzilopochtli
16 Replies
10. Shell Programming and Scripting
Hello All,
I have a text file containing output from a command that contains lots of escape/control characters that when viewed using vi or view, looks like jibberish. But when viewed using the cat command the output is formatted properly.
Is there any way to take the output from the cat... (7 Replies)
Discussion started by: mrm5102
7 Replies
LEARN ABOUT XFREE86
setsid
SETSID(1) User Commands SETSID(1)
NAME
setsid - run a program in a new session
SYNOPSIS
setsid [options] program [arguments]
DESCRIPTION
setsid runs a program in a new session. The command calls fork(2) if already a process group leader. Otherwise, it executes a program in
the current process.
OPTIONS
-c, --ctty
Set the controlling terminal to the current one.
-w, --wait
Wait for the execution of the program to end, and return the exit value of this program as the return value of setsid.
-V, --version
Display version information and exit.
-h, --help
Display help text and exit.
SEE ALSO
setsid(2)
AUTHOR
Rick Sladkey <jrs@world.std.com>
AVAILABILITY
The setsid command is part of the util-linux package and is available from https://www.kernel.org/pub/linux/utils/util-linux/.
util-linux July 2014 SETSID(1)