can someone explain the meaning of the following shell commands:
1. who / wc -l
2. who / sort > user_names
3. cat students > new_students
4. current_day='date / cut -cl-3'
i would also appreciated if you could tell me some things about the umask
1. what is a good umask value and why?
2.... (2 Replies)
What is the basic syntax for a script that says
do you want to do this?
y - execute this
n - end
not y or n - end and print this
for example if I want to run this:
"Do you want to start this process?"
answer
if y,Y, or yes
then
run the following script (do I put the script with... (10 Replies)
hi all
plese clarify me in the following area.
1. What is the default NFS version in solaris 5.10. If it is 3, then why it asks me to specify "-o vers=3" keyword while i am mounting a share from a RHEL 5.1 Server?
2. Can someone give the link to download packages for accessing "ntfs"... (4 Replies)
1. Write a shell script to print the file names of all files having .txt extension of a given directory after converting to uppercase letters. The input (directory name) should be given as command line argument. The script will also check whether sufficient arguments are passed or not and whether... (1 Reply)
1. Write a shell script to print the file names of all files having .txt extension of a given directory after converting to uppercase letters. The input (directory name) should be given as command line argument. The script will also check whether sufficient arguments are passed or not and whether... (2 Replies)
hello guys!! need 1 favour from u all..
Can u jst tell me the answers for these ques??
1. ls - l _____ : command to return all files that end with single digit and those with TXT extension
2. ls -l report* _______ : command to return all files that start with the word RPT except those with LOG... (1 Reply)
Hi Unix geniuses,
I need your help for the answers of few objective Q&A.
i dont know if my answers are correct or not.
So i really need your help to provide the answers which will help me in unix programming. (1 Reply)
Discussion started by: Vivekit82
1 Replies
LEARN ABOUT NETBSD
factor
FACTOR(6) BSD Games Manual FACTOR(6)NAME
factor -- factor a number
SYNOPSIS
factor [number ...]
DESCRIPTION
The factor utility factors integers larger than 1. When a number is factored, it is printed, followed by a ``:'', and the list of (prime)
factors on a single line. Factors are listed in ascending order, and are preceded by a space. If a factor divides a value more than once,
it will be printed more than once.
When factor is invoked with one or more arguments, each argument will be factored.
When factor is invoked with no arguments, factor reads numbers, one per line, from standard input, until end of file or error. Leading
white-space and empty lines are ignored. Numbers may be preceded by a single +. Integer less than 2 are rejected. Numbers are terminated
by a non-digit character (such as a newline). After a number is read, it is factored. Input lines must not be longer than LINE_MAX - 1
(currently 2047) characters.
By default, factor is compiled against the OpenSSL bignum implementation openssl_bn(3), which lets it handle arbitrarily large values. (Note
however that very large values can take a very long time to factor.) If factor is compiled without OpenSSL it is limited to the maximum value
of unsigned long.
DIAGNOSTICS
Out of range or invalid input results in an appropriate error message being written to standard error.
BSD May 15, 2010 BSD