01-21-2009
Unix was before Linux. Linux for the most part is free and open source. Unix is not free and open for the most part. Unix is known to be more secure, more reliable, and better for high end or enterprise functions. But Linux now is in the high end as well.
I know the above is not 100% true and thats why I said for the most part on each example.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Alrigt, I need to write a shell script where it counts the number of folders and files and dispays "My home directory has 'x' files and 'y' directories."
So, I was thinking of doing this.
set x = `ls | wc`
so, if I have 8 files and folders in my home directory, x is not 8.
now, I was... (1 Reply)
Discussion started by: Lykathea Aflame
1 Replies
2. Programming
Anyone know where I can get started in C++ programming in unix?
Any good free tutorials or websites to start at?
I am okay in unix scripting but have never done c programming of any sort...
What are the main advantages of using C++ ? (2 Replies)
Discussion started by: frustrated1
2 Replies
3. Shell Programming and Scripting
I need to write a script to test a nsort c program. I have written 8 .txt files with different cases. Also 8 .txt files with expected outcome. The shell I have written always "test pass" for the first case but always "fail" for the rest... Here is a portion of my code (as I still don't know how to... (5 Replies)
Discussion started by: thibodeau
5 Replies
4. Shell Programming and Scripting
hy guys,
I have perl script provided to me but i need to convert it into shell .Can you help me in this using sed shell command.
cat /etc/passwd |perl -ne '/^(\w+):\w+: (\w+)/ and print "$1, $2\n";' (1 Reply)
Discussion started by: singh_king
1 Replies
5. Shell Programming and Scripting
i write a shell program and i execute that after i made a bin directiry in my home directory(i didnt give any permissions)
now i change to other directory.then i execute it bit it is saying " no such a file or directory"
can any one help me please (2 Replies)
Discussion started by: wkbn86
2 Replies
6. UNIX for Dummies Questions & Answers
Hi people....
I have just started to learn unix.I want to know which version of Unix to install plus how to install it.I need to practise and make myself aware of how unix works.My thread is from an educational point of view.Also please feel free to give your suggestions as I am... (3 Replies)
Discussion started by: amit.kanade1983
3 Replies
7. Shell Programming and Scripting
Hello,
I am trying to write a script that reads names from a file called input, removes names if they have the same letter next to each other and prints the others.
e.g. Colin & John would be printed
Garry & Lynn would be removed
My thinking is that I read in each name and... (3 Replies)
Discussion started by: colinireland
3 Replies
8. Programming
hii friends i m fairy new to c programming.can any one suggest some good websites and some good books for beginner (6 Replies)
Discussion started by: pankajchandel
6 Replies
9. Red Hat
i have windows 8 host on Dell Laptop
vmware 9
redhat 7.2 iso downloaded through redhat official site
after installation on vm it only boots into text dont show graphics
Please guide:( (1 Reply)
Discussion started by: hananabbas
1 Replies
10. UNIX for Beginners Questions & Answers
Hello so I've stored some csv data to be read into variables like this
Name,Team,Shop,Shoe
etc,etc,etc,etc
Code:
sep=","
{
while IFS=$sep read Name Team Shop Shoe
do
count=1
dirname=$Name
while
do
((count++))
dirname="${Name}$count" (4 Replies)
Discussion started by: darklord173
4 Replies
LEARN ABOUT OPENSOLARIS
kernel-install
KERNEL-INSTALL(8) kernel-install KERNEL-INSTALL(8)
NAME
kernel-install - Add and remove kernel and initramfs images to and from /boot
SYNOPSIS
kernel-install COMMAND KERNEL-VERSION [KERNEL-IMAGE]
DESCRIPTION
kernel-install is used to install and remove kernel and initramfs images to and from /boot.
kernel-install will execute the files located in the directory /usr/lib/kernel/install.d/ and the local administration directory
/etc/kernel/install.d/. All files are collectively sorted and executed in lexical order, regardless of the directory in which they live.
However, files with identical filenames replace each other. Files in /etc/kernel/install.d/ take precedence over files with the same name
in /usr/lib/kernel/install.d/. This can be used to override a system-supplied executables with a local file if needed; a symbolic link in
/etc/kernel/install.d/ with the same name as an executable in /usr/lib/kernel/install.d/, pointing to /dev/null, disables the executable
entirely. Executables must have the extension ".install"; other extensions are ignored.
An executable should return 0 on success. It may also return 77 to cause the whole operation to terminate (executables later in lexical
order will be skipped).
COMMANDS
The following commands are understood:
add KERNEL-VERSION KERNEL-IMAGE
kernel-install creates the directory /boot/MACHINE-ID/KERNEL-VERSION/ and calls executables from /usr/lib/kernel/install.d/*.install
and /etc/kernel/install.d/*.install with the arguments
add KERNEL-VERSION
/boot/MACHINE-ID/KERNEL-VERSION/ KERNEL-IMAGE
The kernel-install plugin 50-depmod.install runs depmod for the KERNEL-VERSION.
The kernel-install plugin 90-loaderentry.install copies KERNEL-IMAGE to /boot/MACHINE-ID/KERNEL-VERSION/linux. It also creates a boot
loader entry according to the boot loader specification in /boot/loader/entries/MACHINE-ID-KERNEL-VERSION.conf. The title of the entry
is the PRETTY_NAME parameter specified in /etc/os-release or /usr/lib/os-release (if the former is missing), or "Linux KERNEL-VERSION",
if unset. If the file initrd is found next to the linux file, the initrd will be added to the configuration.
remove KERNEL-VERSION
Calls executables from /usr/lib/kernel/install.d/*.install and /etc/kernel/install.d/*.install with the arguments
remove KERNEL-VERSION /boot/MACHINE-ID/KERNEL-VERSION/
kernel-install removes the entire directory /boot/MACHINE-ID/KERNEL-VERSION/ afterwards.
The kernel-install plugin 90-loaderentry.install removes the file /boot/loader/entries/MACHINE-ID-KERNEL-VERSION.conf.
EXIT STATUS
If every executable returns 0 or 77, 0 is returned, and a non-zero failure code otherwise.
FILES
/usr/lib/kernel/install.d/*.install /etc/kernel/install.d/*.install
Drop-in files which are executed by kernel-install.
/etc/kernel/cmdline /proc/cmdline
The content of the file /etc/kernel/cmdline specifies the kernel command line to use. If that file does not exist, /proc/cmdline is
used.
/etc/machine-id
The content of the file specifies the machine identification MACHINE-ID.
/etc/os-release /usr/lib/os-release
The content of the file specifies the operating system title PRETTY_NAME.
SEE ALSO
machine-id(5), os-release(5), Boot loader specification[1]
NOTES
1. Boot loader specification
https://www.freedesktop.org/wiki/Specifications/BootLoaderSpec
systemd 237 KERNEL-INSTALL(8)