10-23-2013
Quote:
Originally Posted by
mattrm
similarly & is fork.
Incorrect, there is no 'fork' shell command, & is all there is. fork is what it does, rather.
Quote:
How can I list all these special character aliases? Or does a list exists online somewhere?
I don't think there are many, if any, more. 'source' is not in all shells, but
. is in any bourne shell.
Last edited by Corona688; 10-23-2013 at 05:52 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Sorry, anybody here knows how to make a shortcut in unix?
Thanks.
Sebastian. (4 Replies)
Discussion started by: seba
4 Replies
2. UNIX for Dummies Questions & Answers
Dear Friends
How i make shortcut in Tru64 unix for example make a shortcut for mail , i want to make a shortcut under / root
the bath for mail # cd /var/spool/mail
Regards, (1 Reply)
Discussion started by: fmmq
1 Replies
3. Shell Programming and Scripting
Is there a key board shortcut in vi editor to allow me to find the next ( or { that are corresponding to the first one?
Thanks!
It's % sign. (1 Reply)
Discussion started by: whatisthis
1 Replies
4. Shell Programming and Scripting
If I had a word list with a large amount of words in it, how would I (using a unix command) add, say, 123 to the end of each word?
EDIT: The word list is stored in a large text file. I need a command that applies the ending to each word in the file and saves the result in a new text file. (7 Replies)
Discussion started by: evillion
7 Replies
5. Shell Programming and Scripting
Hi,
I'm fairly new to UNIX, but hopefully some-one can help me with this:
I am using the following code to find files with the name "example.xml":
find . -name "example.xml" -print
that would print me a list like the example here:
./dir1/dir2/example.xml... (5 Replies)
Discussion started by: boijie
5 Replies
6. UNIX for Dummies Questions & Answers
done some homework on this--
after i remove up to and including the ) i want to take newfile.txt and use that list to remove the files from a file in my the directory pwd
i have a input.txt file
cat input,txt
1)mary.jpg
12)john.jpg
100)frankkfkdf .jpg
i want to remove the characters in the... (1 Reply)
Discussion started by: plener
1 Replies
7. UNIX for Dummies Questions & Answers
Morning Guys & Gals,
I am trying to figure out a way to remove lines from a file that have more than
2 identical characters in sequence..
So if for instance the list would look like ;
the output would be ;
I can't seem to get my head around perl (among many other... (7 Replies)
Discussion started by: TAPE
7 Replies
8. Shell Programming and Scripting
I have a list of strings, for example:
set strLst = "file1 file2 file3 file4"
I want to log an error if some of the fields happen to begin with -, or have characters like ; : ' , ? ] { =
Which means for example setting
set ierr = 1 (2 Replies)
Discussion started by: kristinu
2 Replies
9. Shell Programming and Scripting
Hi, I want to match a column of one file with many others and take the average of each one and put them into one file (I know sounds complicated).
so the 1st file is just a list of names that I want to match with the 2nd file that have names along with rows of values.
awk... (4 Replies)
Discussion started by: kylle345
4 Replies
10. Shell Programming and Scripting
Hi,
I am trying to script the below, but I am not very good at it :(
Your help would be greatly appreciated.
1. read all files in the directory in strings
strings *.*
2. in each file, for each line that contains "ABCD", store characters located at position 521 and 522 of this line... (9 Replies)
Discussion started by: clippertm
9 Replies
LEARN ABOUT MOJAVE
system
SYSTEM(3) BSD Library Functions Manual SYSTEM(3)
NAME
system -- pass a command to the shell
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <stdlib.h>
int
system(const char *command);
DESCRIPTION
The system() function hands the argument command to the command interpreter sh(1). The calling process waits for the shell to finish execut-
ing the command, ignoring SIGINT and SIGQUIT, and blocking SIGCHLD.
If command is a NULL pointer, system() will return non-zero if the command interpreter sh(1) is available, and zero if it is not.
RETURN VALUES
The system() function returns the exit status of the shell as returned by waitpid(2), or -1 if an error occurred when invoking fork(2) or
waitpid(2). A return value of 127 means the execution of the shell failed.
SEE ALSO
sh(1), execve(2), fork(2), waitpid(2), popen(3)
STANDARDS
The system() function conforms to ISO/IEC 9899:1990 (``ISO C90'') and is expected to be IEEE Std 1003.2 (``POSIX.2'') compatible.
BSD
June 4, 1993 BSD