Custom UNIX Shell Command


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Custom UNIX Shell Command
# 1  
Old 02-23-2012
Power Custom UNIX Shell Command

Hi, This may be a silly question. I have been searching for a while on this.

How can I create a custom unix command using C (a command similar to 'echo').
# 2  
Old 02-23-2012
you can get the source code from GNU coreutils.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Custom command and email

Hi All, I am having a program called emailstat which will send email based on the message we pass emailstat -email <email> now I am trying to run the vmstat and and pass the output to emailstat source in -message part. Is this possible ? Thanks Arun (8 Replies)
Discussion started by: arunkumar_mca
8 Replies

2. UNIX for Dummies Questions & Answers

Custom icons for shell script

Hi, Also posted in other forum. I have an application that I wrote in C using the GTK toolkit that runs on the Linux system. I have a shell script than when run executes two terminals to open a client and server application. I would like to know more on how to create custom start-up... (2 Replies)
Discussion started by: fedora18
2 Replies

3. Programming

Custom icons for shell script

Hi, I have an application that I wrote in C using the GTK toolkit that runs on the Linux system. I have a shell script than when run executes two terminals to open a client and server application. I would like to know more on how to create custom start-up icons for my program. ie. using... (1 Reply)
Discussion started by: fedora18
1 Replies

4. Shell Programming and Scripting

Ps and top in a custom shell

I am having a hard time wrapping my head around implementing top and ps in a custom shell. What I have is a shell that allows you to do basic commands as you would in a regular bash shell, but when I do the ps command, it gives me all of the processes within my regular bash shell rather than my... (2 Replies)
Discussion started by: Ziun
2 Replies

5. Shell Programming and Scripting

Custom Shell

I have a jump off server, which grants SSH access to a few other servers. I would like to create a custom shell which can be assigned to specific user accounts which runs a menu script upon login, where they can select which server they want to jump too, however should they hit ctrl-c or any... (1 Reply)
Discussion started by: JayC89
1 Replies

6. Shell Programming and Scripting

custom command

hi I am trying to make my own commands in my linux.I thought a command for changing directories will be easy. I made a simple file amd made the entries #!/bin/bash cd /opt/mydir I then made the file executable and then moved it to /usr/bin. But when i type the script name nothing... (2 Replies)
Discussion started by: born
2 Replies

7. Shell Programming and Scripting

Custom PS command

(0 Replies)
Discussion started by: goldfish
0 Replies

8. HP-UX

How to use more than one MPE command STREAM with Unix command in a single shell?

Hello, I have problem in writing the shell script involving MPE command STREAM related to HP-UX and Unix command. Script is sh "nlshCMD 'STREAM <job name1>' | 'SHOWJOB' | grep $HPJOBNUM" sh "nlshCMD 'STREAM <job name2>' | 'SHOWJOB' | grep $HPJOBNUM" sh "nlshCMD 'STREAM <job name3>' |... (1 Reply)
Discussion started by: bosskr
1 Replies

9. Shell Programming and Scripting

How to use more than one MPE command STREAM with Unix command in a single shell?

Hello, I have problem in writing the shell script involving MPE command STREAM related to HP-UX and Unix command. Script is sh "nlshCMD 'STREAM <job name1>' | 'SHOWJOB' | grep $HPJOBNUM" sh "nlshCMD 'STREAM <job name2>' | 'SHOWJOB' | grep $HPJOBNUM" sh "nlshCMD 'STREAM <job name3>' |... (0 Replies)
Discussion started by: bosskr
0 Replies
Login or Register to Ask a Question