02-06-2013
Add the following line to .bashrc (assuming count_0.1 is in your home directory)
alias count='~/count_0.1'
To call count_0.1 from bin as count
ln -s ~/count_0.1 /usr/bin/count
For using your $HOME/bin, export it along with other $PATH variables. (Add this line to your .bashrc file to make it available across login.)
export PATH=$PATH:~/bin
This User Gave Thanks to ./hari.sh For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi there. Linux newbie and I'm trying to find commands to:
Display number of executable files in a directory that i supply and list them in alphabetical order
Back up all the files in the current irectory to a directory i supply, creating that directory if it's not allready there
Cound... (5 Replies)
Discussion started by: indigoecho
5 Replies
2. Shell Programming and Scripting
Hello,
I used the command
osascript -e 'tell app "Finder" to display dialog "Hey!"'
to display a dialog box..it works fine, it displays a dialog box with 'OK' and 'CANCEL' buttons..i want to get the button returned value how can i do that using terminal command?
is there any command to get... (1 Reply)
Discussion started by: keshav.murthy@r
1 Replies
3. OS X (Apple)
I've seen the executable open in the application OmniOutliner, can I create an executable with this app? I'd like to be able to create the unix executable and insert it into terminal, but I'm not sure if the Omni app will allow me to create it.
Any one have any ideas or possibly familiar with... (10 Replies)
Discussion started by: unimachead
10 Replies
4. OS X (Apple)
Under Leopard, I like to conveniently open Terminal windows onto remote systems. I've created several settings files in Terminal, one for each remote system that I want to access. To open window, I right-click on the Terminal icon in the Dock, expand the "New Window" menu item, and select the... (0 Replies)
Discussion started by: siemsen
0 Replies
5. Shell Programming and Scripting
hi..
I have a small question...if I have a textfile..let say apple.txt and I want to
1. search for all strings that's 6 characters long, and contains the letters a,b,c,d.
2. search for all words that that begins with "sUn" and ends with "flower"
3. search for all the words beginning with the... (3 Replies)
Discussion started by: Oregano
3 Replies
6. UNIX for Dummies Questions & Answers
i am at home with a windows xp home, and i am using putty terminal to access my linux mathlab account, my task is to compile and run a C program, called a.c,
i used
gcc -Wall -g -o mycode a.c
to compile it into a mycode file
now when i want to run it, i was told i had to use
$... (2 Replies)
Discussion started by: omega666
2 Replies
7. Shell Programming and Scripting
Hi,
I am using putty client to connect to my remote Linux server box, and I am connecting through ssh. That system runs bash shell. So, if I use multiple putty terminal, how can I replicate those commands that I ran in other terminals to be available/shared in the current terminal window (i.e)... (1 Reply)
Discussion started by: royalibrahim
1 Replies
8. OS X (Apple)
How do I make terminal autorun commands at start up? For example, I have several windows of terminal, I want one to automatically run 'top' and a couple others autorun 'man' pages.
Is there any way I can do this? (1 Reply)
Discussion started by: randomtypos
1 Replies
9. Programming
Hi
I am trying to modify a C program to work for my needs. Problem is I don't know any real programming. I would really appreciate it if someone could help me!
Basically it is to get bandwidth speeds from a remote box. I have two terminal commands that get me the up and down speeds.
So how do... (8 Replies)
Discussion started by: milestails
8 Replies
10. Shell Programming and Scripting
I frequently use some commands, which I want to save in some file say myregularshell.shthese are the commands I use, I tried saving and executing, but couldn't get the preview of execution, and result is also not coming if I copy same commands and paste it on terminal result is coming
cd go... (2 Replies)
Discussion started by: Akshay Hegde
2 Replies
talk(1) General Commands Manual talk(1)
NAME
talk - talk to another user
SYNOPSIS
talk_party [ttyname]
DESCRIPTION
The utility is a two-way, screen-oriented communication program.
The command argument talk_party can take one the following forms:
user
where user is a login name and host is a host name.
The optional command argument, ttyname, can be used to specify the terminal to be used when contacting a user who is logged in more than
once. In absence of this argument, will try to contact the user on the user's most recently used terminal.
When first invoked, sends the following message to the party it tries to connect to (callee):
...
At this point, the recipient of the message can reply by typing:
Once communication is established, the two parties can type simultaneously, with their output displayed in separate regions of the screen.
Characters are processed as follows:
o Typing characters from LC_CTYPE classifications print or space will cause those characters to be sent to the recipient's terminal.
o Typing <control>-L will cause the sender's screen to be refreshed.
o Typing the erase, kill or kill word character will delete the last character, line or word on the sender's terminal, with the action
propagated to the recipient's terminal.
o Typing the interrupt character will terminate the local talk utility. Once the talk session has been terminated on one side, the other
side of the talk session will be notified that the session has been terminated and will be able to do nothing except exit.
o Other non-printable characters typed on the sender's terminal are converted to printable characters before they are sent to the recipi-
ent's terminal.
Permission to be a recipient of a message can be denied or granted by using the utility. However, a user may need other privileges to be
able to access other users' terminals. The utility will fail when the user lacks the appropriate privileges.
SEE ALSO
mesg(1), who(1), write(1).
STANDARDS CONFORMANCE
talk(1)