8 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello,
I am on a Mac and trying to clean up some monthly files with a very simple SED:
sed '3,10d;/<ACROSS>/,$d' input.txt > output.txt
(from the input, delete lines 3 - 10; then delete from the line containing <ACROSS> to the end of the file)
then output to output.txt
Even when I try... (2 Replies)
Discussion started by: verbatim
2 Replies
2. Red Hat
Hi,
:wall:
I am not able to run any utility command in Redat, Please see the below example and suggest me how I shall run this type of command.
$ su
Password:
# ifconfig
bash: ifconfig: command not found
# which ifconfig
/usr/bin/which: no ifconfig in... (3 Replies)
Discussion started by: pradipta_pks
3 Replies
3. AIX
Hi all,
We dont have access to aix source code and i have a doubt.
The flag SC_NO_RESERVE, is it got to do anything with the failover?
If the flag is set the paths are going to failed state. If flag is not set everything comes up fine after failover.
Thanks in advance for helping
... (2 Replies)
Discussion started by: gnakul
2 Replies
4. Shell Programming and Scripting
I need your help please.
In a production system, i've seen many running process as follow:
sh -c ./pathname/shellname
what exactly the flag option -c is used for?
ive tried to look at the man page, but it doesnt say much.
ill appreciate yor help. Thanks (4 Replies)
Discussion started by: alexcol
4 Replies
5. UNIX for Dummies Questions & Answers
I've used "mailx -r return@address" before many times for automated scripts, but when I try to use it on FreeBSD, I get "mailx: illegal option -- r". Is there another version of mailx I should be using to get this to work? The full command I'm trying to run is:
mailx -s "Load Results $(date... (1 Reply)
Discussion started by: superdelic
1 Replies
6. Solaris
Hi,
We are porting our application from 32bit to 64bit.
We tried -xarch=v9, -xarc=v9a and -xport64=full options so that compiler to issue 64bit porting warnings.
But we are not getting any porting warninings
WE are using CC 5.5 compiler on sparc-solaris m/c.
Please tell us some powerful... (0 Replies)
Discussion started by: shobhah
0 Replies
7. UNIX for Dummies Questions & Answers
I extracted the ISO files of Linux to CD-R's but when I rebooted my computer, the CD's can't be read ( I had changed the setup to boot from CD). What could be the possible reasons? (2 Replies)
Discussion started by: whutes
2 Replies
8. Linux
Hi,
I'm planning to move all my shell scripts from Unix to Linux.
currently in unix i have used the mailx command with the options -r & -s
eg., mailx -s "Hai" -r "xyz@abc.com" < abc.txt
But, if i move the scripts to linux i do not have the option -r in the mail command.
What should... (3 Replies)
Discussion started by: mpvenkat
3 Replies
INSTALL(1) General Commands Manual INSTALL(1)
NAME
install - install binaries
SYNOPSIS
install [-cs] [-f flags] [-g group] [-m mode] [-o owner] file1 file2
install [-cs] [-f flags] [-g group] [-m mode] [-o owner] file1 ... fileN directory
DESCRIPTION
The file(s) are moved (or copied if the c option is specified) to the target file or directory. If the destination is a directory, then
the file is moved into directory with its original filename. If the target file already exists, it is overwritten if permissions allow.
c Copy the file. This flag turns off the default behavior of install where it deletes the original file after creating the target.
f Specify the target's file flags. (See chflags(1) for a list of possible flags and their meanings.)
g Specify a group.
m Specify an alternate mode. The default mode is set to rwxr-xr-x (0755). The specified mode may be either an octal or symbolic
value; see chmod(1) for a description of possible mode values.
o Specify an owner.
s Install exec's the command strip(1) to strip binaries so that install can be portable over a large number of systems and binary
types.
By default, install preserves all file flags, with the exception of the ``nodump'' flag.
The install utility attempts to prevent moving a file onto itself.
Installing /dev/null creates an empty file.
Upon successful completion a value of 0 is returned. Otherwise, a value of 1 is returned.
SEE ALSO
chflags(1), chgrp(1), chmod(1), cp(1), mv(1), strip(1), chown(8)
HISTORY
The install utility appeared in 4.2BSD.
4.2 Berkeley Distribution February 20, 1996 INSTALL(1)