09-03-2003
I have tried that...
I have tried that... but it just boot right into the sysinstall menu!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
how can I skip the new line of echo? In SH!!!!
echo "the date is :"
date
and result I want is
the date is : Tue Oct 11 22:24:37 WEST 2005
I've already tried including the \c inside the echo, but it didn't work.
Thanks! (2 Replies)
Discussion started by: pmpx
2 Replies
2. Shell Programming and Scripting
I have a file contents like this....
item1
item2
#item3
item4
#item5
item6
....
I have a KSH script to read this file into an array.
I have a for loop which will read each item...
I want to be able to skip those item start with # sign as first character in a if condiction inside the... (2 Replies)
Discussion started by: rwunwla
2 Replies
3. Programming
Hello there,
My mulithreaded application (which is too large to represent the source code here) is crashing after installing FreeBSD 7.1-RELEASE/amd64.
It worked properly on others machines (Dual Cores with 4GB of RAM - FreeBSD 6.2-RELEASE/i386).
The current machine has 2x Core 2 Duo... (1 Reply)
Discussion started by: Seenquev
1 Replies
4. Shell Programming and Scripting
Hi all
I have some script like this
#!/bin/bash
mv /tmp/file1 tmp/file2
if ] ; then
cp /tmp/filetest/ tmp/file3
if ] then
echo "succes"
else
echo "failed"
fi
else
echo "failed"
fi
i didn't try to see if it's work, the thing is that i don't care if... (4 Replies)
Discussion started by: naamas03
4 Replies
5. Programming
Hi,
I would like to read an input from keyboard using getchar. However, if no input (No Carriage return/new line none whatsoever) is given after say, 5 seconds, I would like to skip the getchar and move on. How do I do this in C. I'm using GNU compiler set.
Thanks, (5 Replies)
Discussion started by: cprogdude
5 Replies
6. Shell Programming and Scripting
Hi,
I have an awk code that reads an input file, checks the 4th column and tells if its fine.
#!/bin/ksh
{ if ($4 == 0)
print "fine"
else
print "some problem" }' FILENAME
My problem is that, I dont want to check the first 3 and last 3 lines.
This can be hard coded by using BEGIN and END... (9 Replies)
Discussion started by: gotam
9 Replies
7. Hardware
is there a way to skip RAM check on sparc boot before the ok prompt? (2 Replies)
Discussion started by: orange47
2 Replies
8. UNIX for Advanced & Expert Users
Hi all,
i'm trying to configure a script that will find and gzip the searched files,
this is easy enough,
find /var/log/myfolder/*.log -type f -mtime +1 -exec gzip {} \;
cd /var/log/myfolder/
mv *gz myzipped_folder/
but what it would be very handy is to skip the files in use,because tomcat... (13 Replies)
Discussion started by: charli1
13 Replies
9. Shell Programming and Scripting
Hi All
I have a sample file like below:
012312112
1372422843 1236712
1372422843 1275127
3109301010
from which I wan't to:
1.)delete... (10 Replies)
Discussion started by: swasid
10 Replies
10. Shell Programming and Scripting
Friends,
I have 1000 line like below
#formate Test.server.e01=http://111.22.33.23/
#test_server_west
Test.server.w01=http://112.123.123.22/
Test.server.w02=http://113.143.123.22/
Test.server.w03=http://112.183.123.22/
#test_server_east
Test.server.e01=http://115.123.123.22/... (6 Replies)
Discussion started by: jothi basu
6 Replies
LEARN ABOUT FREEBSD
brand.4th
BRAND.4TH(8) BSD System Manager's Manual BRAND.4TH(8)
NAME
brand.4th -- FreeBSD ASCII art boot module
DESCRIPTION
The file that goes by the name of brand.4th is a set of commands designed to draw the ASCII art BSD brand above the boot loader menu. The
commands of brand.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 brand.4th, it must be included through the command:
include brand.4th
This line is present in the default /boot/menu.rc file, so it is not needed (and should not be re-issued) in a normal setup.
The commands provided by it are:
draw-brand Draws the BSD brand.
The brand that is drawn is configured by setting the loader_brand variable in loader.conf(5) to one of ``fbsd''
(the default) or ``none''.
The position of the logo can be configured by setting the loader_brand_x and loader_brand_y variables in
loader.conf(5). The default values are 2 (x) and 1 (y).
The environment variables that effect its behavior are:
loader_brand
Selects the desired brand in the beastie boot menu. Possible values are: ``fbsd'' (default) or ``none''.
loader_brand_x
Sets the desired column position of the brand. Default is 2.
loader_brand_y
Sets the desired row position of the brand. Default is 1.
FILES
/boot/loader The loader(8).
/boot/brand.4th brand.4th itself.
/boot/loader.rc loader(8) bootstrapping script.
EXAMPLES
Set FreeBSD brand in loader.conf(5):
loader_brand="fbsd"
SEE ALSO
loader.conf(5), loader(8)
HISTORY
The brand.4th set of commands first appeared in FreeBSD 9.0.
AUTHORS
The brand.4th set of commands was written by Devin Teske <dteske@FreeBSD.org>.
BSD
May 18, 2011 BSD