Sponsored Content
Top Forums UNIX for Dummies Questions & Answers a program which linux things is a directory?? Post 23081 by Luftwaffe on Sunday 16th of June 2002 10:32:15 PM
Old 06-16-2002
that's because after you untar the file a directory is created. You have to go into that directory not run it. read the installation notes, it helps a lot.
 

6 More Discussions You Might Find Interesting

1. OS X (Apple)

Installation directory structure for downloaded program

OS X 10.3.9 I downloaded RealPlayer into my ~/download folder, clicked install and everything works just fine. My question has to do with just my trying to understand where OS X keeps the files. So, I opened terminal and said: find / -name RealPlayer 2>/dev/null To my utter... (0 Replies)
Discussion started by: migurus
0 Replies

2. UNIX for Dummies Questions & Answers

Find the directory in which a program is running

Hi, I'm wondering if this is possible. I run several FORTRAN programs in different directories that have the same name (say program_X). I use the command 'top' to find the programs running and the time taken. I'm wondering if it's possible to the directory in which these programs are... (1 Reply)
Discussion started by: lost.identity
1 Replies

3. Shell Programming and Scripting

[SOLVED] <<EOT to program in different directory

Hello, I am new to shell scrip. I have written a .sh file that goes ./myprogram << EOT 14 file.name EOT and works as expectecd - it passes 14 and file.name to the program being run as it askes for command line input. When I try and keep myprogram in a different directory and do the same... (4 Replies)
Discussion started by: jimbo_cambridge
4 Replies

4. UNIX for Dummies Questions & Answers

Help with a few misc. admin things. LINUX

Hey guys, I've been doing some study guides and practice exams for some certs, had some friends give me some things to do in preperation as well. I have compiled a few of the questions I was unable to figure out:wall:, I was hoping to get some help here. I am running Fedora16. If you need any... (2 Replies)
Discussion started by: jahburmski
2 Replies

5. UNIX for Dummies Questions & Answers

Remove all things from directory

Which command will be good to use when I want to remove all files and directories from the directory (i want to have empty derictory). Sorry for my English :p ... (3 Replies)
Discussion started by: WrzaSQN
3 Replies

6. Shell Programming and Scripting

Trying to make a bash script that goes through directory files and changes things

I'm trying to write a script in a directory that goes through the column the user specifies of 4 files that are inside the directory and calculates the min and the max values. This means that if the user specifies column 5, the script will go through column 5 of all 4 files and all that should give... (2 Replies)
Discussion started by: Eric1
2 Replies
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)
All times are GMT -4. The time now is 06:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy