Hi, I am i new Unix linux user. I've installed the linux 9 and i uninstall it. the first time i install the linux, the GRUB show the graphical interface. But after i reinstall it again, the GRUB change to command line. I can't boot my comp now. What should I do? And i don't know how to deal with... (1 Reply)
Hi, I am i new Unix linux user. I've installed the linux 9 and i uninstall it. the first time i install the linux, the GRUB show the graphical interface. But after i reinstall it again, the GRUB change to command line. I can't boot my comp now. What should I do? And i don't know how to deal with... (4 Replies)
How do I change IP addresses in command mode? i need to assign custom (non DHCP) addresses from the command line. Actually I also need to know how to change the subnet mask, the gateway and the primary, secondary, ... dns servers. (6 Replies)
Hi,
When working in vi, the CTRL+j command for merging lines is very convenient. Is there an equivalent for splitting them (inserting a line break)? I often find myself pressing "i" + "return" + "esc", which I find a bit lengthy.
Thanks in advance! (3 Replies)
Hi,
I'm trying to execute my program from $prompt by passing many parameters which is more than 300 charecters in line but unix not accepting those many charecters, could some one help me how to increase the size?
thanks (7 Replies)
I am looking to change a data file into a javascript string and this is the code that I am using:
sed -i '' -e 's/^/str += "/' -e 's/$/";/' file.xml
The first part
-e 's/^/str += "/'
works as intended, but the second part
-e 's/$/";/'
adds an additional newline to my file, so that instead of... (3 Replies)
I want to change the extensions of a folder full of files (some of the files are located in subfolders as well) to another extension, but instead of replacing the files I want the new files to be copied into a newly created folder.
Here is the folder structure:
/Downloads/3eb... (3 Replies)
Hi All,
Can please let me know what is the difference between the single line mode and multi line mode in regular expresions?
Thanks,
Chidhambaram B (3 Replies)
Hello,
I am using RHEL 6.1 on VMware
I am searching for a way to change background color (not line by line color wich one can using tput command)
basically changing the color of the whole screen to white instead of the default black and changing font color to black and alos would like to... (2 Replies)
Hi All,
Please let me know that how to start Fedora 11 in command line mode and skip damaged programs ??
Scenario being:
I have Fedora 11 ( pretty ole... eh !! ). If I try to start the PC , then after some steps of startup... it just hangs and does not boots. I tried entering the mode... (4 Replies)
Discussion started by: dipanchandra
4 Replies
LEARN ABOUT SUNOS
install
install(1B) SunOS/BSD Compatibility Package Commands install(1B)NAME
install - install files
SYNOPSIS
/usr/ucb/install [-cs] [-g group] [-m mode] [-o owner] filename1 filename2
/usr/ucb/install [-cs] [-g group] [-m mode] [-o owner] filename... directory
/usr/ucb/install -d [-g group] [-m mode] [-o owner] directory
DESCRIPTION
install is used within makefiles to copy new versions of files into a destination directory and to create the destination directory itself.
The first two forms are similar to the cp(1) command with the addition that executable files can be stripped during the copy and the owner,
group, and mode of the installed file(s) can be given.
The third form can be used to create a destination directory with the required owner, group and permissions.
Note: install uses no special privileges to copy files from one place to another. The implications of this are:
o You must have permission to read the files to be installed.
o You must have permission to copy into the destination file or directory.
o You must have permission to change the modes on the final copy of the file if you want to use the -m option to change modes.
o You must be superuser if you want to specify the ownership of the installed file with -o. If you are not the super-user, or if -o is
not in effect, the installed file will be owned by you, regardless of who owns the original.
OPTIONS -c Copy files. In fact install always copies files, but the -c option is retained for backwards compatibility with old shell
scripts that might otherwise break.
-d Create a directory. Missing parent directories are created as required as in mkdir -p. If the directory already exists, the
owner, group and mode will be set to the values given on the command line.
-s Strip executable files as they are copied.
-g group Set the group ownership of the installed file or directory. (staff by default.)
-m mode Set the mode for the installed file or directory. (0755 by default.)
-o owner If run as root, set the ownership of the installed file to the user-ID of owner.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscpu |
+-----------------------------+-----------------------------+
SEE ALSO chgrp(1), chmod(1), chown(1), cp(1), mkdir(1), strip(1), install(1M), attributes(5)SunOS 5.10 14 Sep 1992 install(1B)