Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Another one line command where I'd like to determine if Ubuntu or Red Hat when running command Post 303040349 by RudiC on Sunday 27th of October 2019 03:35:03 AM
Old 10-27-2019
Why not simply ls the /boot directory?
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

telnet shell script on red hat 9 cmd line only

i would like to make a shell script (red hat 9 cmd line only) to telnet to my local isp's webmail server on port 25 and send it commands such as helo :) help would be much appreciated, and i found no posts similar that answered my question... the closest i've gotten to an answer from about 8... (3 Replies)
Discussion started by: kypeswith
3 Replies

2. Red Hat

"SCRYPT" command in RED HAT 9

Hello, I wanted to simple command to encrypt a file. Using google I got a command "crypt". I could test it very well on Sun solaris. My red hat system says "command not found".Can you please tell me if I can find that package on the cd!!! (2 Replies)
Discussion started by: nsharath
2 Replies

3. Ubuntu

make Ubuntu and Red Hat boot partitions

Is it possible to make multiboot partitions of Ubuntu and red hat Linux? (4 Replies)
Discussion started by: sito
4 Replies

4. Ubuntu

WGET in Ubuntu( vistual img ) vs Red Hat

Hi I need to fetch a file using wget command. In read Hat I have the file I need without any problem while in Ubuntu ( installed on a virtual image ) it doesn't work. More precisely my wget need to fetch a page from a web site with secure authentication so teh syntax I am using is wget... (7 Replies)
Discussion started by: manustone
7 Replies

5. Ubuntu

[UBUNTU] mount.nfs fails in Ubuntu / Works on Red Hat!!!

Gurus, I want log in locally to my Lucid (10.04) workstation and have my code saved over the network on my samba account At work, all developers have samba user ids and when we were running Red Hat, we went thru the following procedure to get setup. * open a shell session to NFS server... (2 Replies)
Discussion started by: alan
2 Replies

6. UNIX for Dummies Questions & Answers

Running set options from the command line and bash command

I'm reading about debugging aids in bash and have come across the set command. It says in my little book that an addition to typing set you can also use them "on the command line when running a script..." and it lists this in a small table: set -o option Command Line... (5 Replies)
Discussion started by: Straitsfan
5 Replies

7. Shell Programming and Scripting

running variable on command line

Hi, I have a unix script, and I have problem, where I work out the variable I need. But it will not excute the variable from the script ? See my script below for details : #!/bin/sh ENVGRP=`hostname |cut -c1-3 | tr '' ''` ENVINST=${ENVGRP}`hostname -i |cut -d\. -f 4` echo... (4 Replies)
Discussion started by: fettie
4 Replies

8. UNIX Desktop Questions & Answers

Send Email from command line in Ubuntu 11.10

Have problem to send email from command line according to the posts like this one: To have the ability to send email from the command line, you will need to install the mailutils and postfix packages with the following commands. apt-get install mailutils apt-get install postfix Now... (1 Reply)
Discussion started by: yifangt
1 Replies

9. Shell Programming and Scripting

Red Hat and Ubuntu shell scripting

Are basic scripts in awk or bash or perl or other shell scripting languages the same in RHEL red hat as ubuntu? (1 Reply)
Discussion started by: cmccabe
1 Replies
LOADER.4TH(8)						    BSD System Manager's Manual 					     LOADER.4TH(8)

NAME
loader.4th -- loader.conf processing tools DESCRIPTION
The file that goes by the name of loader.4th is a set of commands designed to manipulate loader.conf(5) files. The default /boot/loader.rc includes loader.4th and uses one of its commands to automatically read and process the standard loader.conf(5) files. Other commands exists to help the user specify alternate configurations. The commands of loader.4th by themselves are not enough for most uses. Please refer to the examples below for the most common situations, and to loader(8) for additional commands. Before using any of the commands provided in loader.4th, it must be included through the command: include loader.4th This line is present in the default /boot/loader.rc file, so it is not needed (and should not be re-issued) in a normal setup. The commands provided by it are: boot boot kernelname [...] boot directory [...] boot -flag ... Boot as specified by the loader.conf(5) files read. Depending on the arguments passed, it can override boot flags and either the kernel name or the search path for kernel and modules. boot-conf boot-conf kernelname [...] boot-conf directory [...] boot-conf -flag ... Works like boot described above, but instead of booting immediately, uses autoboot, so it can be stopped. start Reads /boot/defaults/loader.conf, all other loader.conf(5) files specified in it, then loads the desired kernel and modules (if not already loaded). After which you can use the boot or autoboot commmands or simply exit (provided autoboot_delay is not set to NO) to boot the system. start is the command used in the default /boot/loader.rc file (see loader(8)). initialize Initialize the support library so commands can be used without executing start first. Like start, it reads /boot/defaults/loader.conf and all other loader.conf(5) files specified in it (but does not load kernel or modules). Returns a flag on the stack to indicate if any configuration files were successfully loaded. read-conf filename Reads and processes a loader.conf(5) file. Does not proceed to boot. enable-module module Enables the loading of module. disable-module module Disables the loading of module. toggle-module module Toggles the loading of module on and off. show-module module Shows the information gathered in the loader.conf(5) files about the module module. retry Used inside loader.conf(5) files to specify the action after a module loading fails. ignore Used inside loader.conf(5) files to specify the action after a module loading fails. try-include file [file ...] Process script files if they exist. Each file, in turn, is completely read into memory, and then each of its lines is passed to the command line interpreter. If any error is returned by the interpreter, the try-include command aborts immediately, without reading any other files, and silently returns without error. FILES
/boot/loader The loader(8). /boot/loader.4th loader.4th itself. /boot/loader.rc loader(8) bootstrapping script. /boot/defaults/loader.conf File loaded by the start command. EXAMPLES
Standard /boot/loader.rc: include /boot/loader.4th start Load a different kernel with the standard configuration: set kernel="kernel.old" unload boot-conf Read an additional configuration file and then proceed to boot: unload read-conf /boot/special.conf boot-conf Disable the loading of the splash screen module and bitmap and then proceed to boot: unload disable-module splash_bmp disable-module bitmap boot-conf SEE ALSO
loader.conf(5), loader(8) HISTORY
The loader.4th set of commands first appeared in FreeBSD 3.2. AUTHORS
The loader.4th set of commands was written by Daniel C. Sobral <dcs@FreeBSD.org>. BUGS
A British espionage series. BSD
November 13, 2013 BSD
All times are GMT -4. The time now is 06:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy