08-06-2001
thanks...that is exactly what i needed to know...
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
My problem is as follows:
I have to write a korn shell script which will run mutiple java applications one after one. For example,
I will execute the java application A first, after it is done I will run application B.
My question is how do I do this? How does my korn shell script know that... (1 Reply)
Discussion started by: madhab99
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
i'm dealing with a script and I have one question. If I have these:
#!/bin/bash
wget http://somesite/file.tar
tar xvf file.tar
exit
I need the line that contains the command tar to wait until file.tar is completly downloaded, but it doesn't and continues with the next line... (6 Replies)
Discussion started by: piltrafa
6 Replies
3. UNIX for Dummies Questions & Answers
Does anyone have detailed info on how to download the files. I go to www.freebsd.com and then i dont know what to do. I dont know why i dont know but im drawing a complete blank so is there anyone that can provide a step by step procedure for downloading/installing Linux? :confused: :confused: (3 Replies)
Discussion started by: Corrail
3 Replies
4. AIX
Guys, ive been looking about , but obviously not hard enough, Where do i get AIX 5.3 from ?
DO i need to purchase it or is it free to download on a single user license ?:confused:
Thanks (2 Replies)
Discussion started by: wmccull
2 Replies
5. UNIX for Dummies Questions & Answers
Probably a really easy one for you guru's out there...:rolleyes:
I need to make sure the reverse address lookup daemon in rarpd, is running. How do I do so? :confused:
Did a grep for the process but couldnt find it, also looked in all the normal places, /bin etc...
Cheers (1 Reply)
Discussion started by: JayC89
1 Replies
6. UNIX for Dummies Questions & Answers
When getting a listing of files using "ls -l", my output shows the permissions, #oflinks???, owner, group, size, month-day-time, and file.
In the example below, how would I know what year the file was last modified?
-rw-rw-r--, 28, root, root, 2048, Oct 28 15:10, somefile.txt (2 Replies)
Discussion started by: KGee
2 Replies
7. UNIX for Dummies Questions & Answers
hi,
when we do an "ls -l" on a directory, we get the listing of the contents of that dir...
what is the meaning of some numbers...example in ;
-rw-r--r-- 1 idr supp 0 Feb 18 19:41 dmesg
drwxrwsrwx 2 root sys 96 Dec 27 15:31 test09
drwxr-xr-x 3 bin ... (1 Reply)
Discussion started by: cromohawk
1 Replies
8. UNIX for Dummies Questions & Answers
All,
For some reason I can't figure out why I can't wildcard my find statement to check for anything with a wildcard after. I can before the -name but not after.
ie. find . -name *test works
but find . -name test* gives me the error: find: paths must precede expression
Usage: find ... (1 Reply)
Discussion started by: markdjones82
1 Replies
9. Shell Programming and Scripting
can anyone please suggest what is wrong with this command:
for i in ;
do
cat ~/Downloads/Project/p0s0n15.tcl>>~/Downloads/Project/p0s0n15_$i.tcl;
./setdest -n 15 -p 0 -M 5 -t 100 -x 500 -y 500 >>~/Downloads/Project/p0s0n15_$i.tcl;
cat... (3 Replies)
Discussion started by: amithkhandakar
3 Replies
10. UNIX for Dummies Questions & Answers
Hi,
Im trying to do move a file like this as mart of my script on Solaris
mv /path/to/file/file.txt ..
mv: cannot rename /path/to/file/file.txt to ../file.txt: Permission denied.
Im just trying to move it up one level using the following command on a bunch of directories:
find... (4 Replies)
Discussion started by: ideal2545
4 Replies
LEARN ABOUT POSIX
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)