10 More Discussions You Might Find Interesting
1. BSD
I want to change my MAC at reboot, so making it a cron job like the following in BSD.
Can I do this in the jail for the user, setting it as a command or should it be a script?
I would set it as a command
openssl rand -hex 6 | sed 's/\(..)/\1:/g; s/.$//' just to test it, it works.
To... (0 Replies)
Discussion started by: 1in10
0 Replies
2. Solaris
Hi,
I am trying to build per 5.20.1 on solaris 10 and getting below compilation error.
Creating Makefile.PL in cpan/Archive-Tar for Archive::Tar
Running Makefile.PL in cpan/Archive-Tar
../../miniperl -I../../lib Makefile.PL INSTALLDIRS=perl INSTALLMAN1DIR=none INSTALLMAN3DIR=none... (1 Reply)
Discussion started by: vikrambhimbar
1 Replies
3. Shell Programming and Scripting
Hi,
I have a shell script which executes some sql. When the shell script executes the sql's logging is shown on the console. I need to grep some data from this output shown on console. So I do the following
hive -f load.adj.hql 2>&1 | tee c.txt
echo $?
A=`grep num_rows c.txt`
$? will... (1 Reply)
Discussion started by: wahi80
1 Replies
4. Shell Programming and Scripting
Hello to all,
The Regex below is supposed to match all strings except RR45. I've tested in regex101.com and it works, butwhen I try to use it with the perl command below I get the error shown.
Regex=(?<=^|RR45)(?!RR45).+?(?=RR45|$)
How to fix this? I'm using Cygwin.
$ echo... (9 Replies)
Discussion started by: Ophiuchus
9 Replies
5. Fedora
Okay, so I'm not a complete newb when it comes to using Unix/Linux. I've been using Ubuntu for a few years now and I've dipped my toes into a few other distros but now I want to get a bit serious.
I'm looking at becoming a sysadmin but the trouble is...I have no idea where to start. What I'm... (1 Reply)
Discussion started by: Tamachan87
1 Replies
6. Shell Programming and Scripting
Hi Buddies,
my pc has two CPU, so CPU1 and CPU2.
I have a perl "a.pl", when i "./a.pl", i can see the CPU1 is full or CPU2 is full, mean only one is full, another one is idle.
Wonderring what shall i do in order to let both CPU to process this a.pl.:(
Thanks (1 Reply)
Discussion started by: jimmy_y
1 Replies
7. HP-UX
Hi, I'm searching website where there is software for HP-UX operating system in free download because I must install Perl, Make and Gmake on HP-UX server. Have you goods URL for me ?
Thank you very much!
bye
Staaan (2 Replies)
Discussion started by: staaan
2 Replies
8. Shell Programming and Scripting
Say I have a single bin directory with Linux and SunOS executables, like this:
bin/myprog_lnx
bin/myprog_sun
Assume these programs read from stdin and write to stdout and, thus, are meant to be run like this:
myprog_lnx < filein > fileout
My users may log in from a Linux or Solaris... (3 Replies)
Discussion started by: gsal
3 Replies
9. Linux
found a few ffmpeg posts and after a few unsuccessful attempts, I have found a solution :)
to encode an avi to to an nokia e71 recognized mp4 format:
ffmpeg -y -i inputFILE.avi -acodec aac -ab 72k -s 320x176 -aspect 16:9 -vcodec h264 -b 300k -qcomp 0.6 -qmin 16 -qmax 51 -qdiff 4 -flags +loop... (2 Replies)
Discussion started by: mr_manny
2 Replies
10. News, Links, Events and Announcements
OMGosh!!!
PERL OWZORZ ME!!!!!!!
ok ok let me take a deep breath.....
altho i have just started learning perl and scripting in perl. this is like the BOMB!!!.
you remember when you started shell scripting and you felt limitless. this is how i feel now. how could i have ever lived my life... (4 Replies)
Discussion started by: Optimus_P
4 Replies
FBSETBG(1) Fluxbox Manual FBSETBG(1)
NAME
fbsetbg - Set a background wallpaper or pattern
SYNOPSIS
fbsetbg [-uU wallpapersetter] [-fFcCtTaA] wallpaper
fbsetbg [-uU wallpapersetter] -rR path
fbsetbg -bB fbsetrootoptions...
fbsetbg [-l|h|i|p]
DESCRIPTION
fbsetbg(1) is a wrapper that tries to find a suitable background-setting app and then tries to set the wallpaper using that app. You don't
have to configure fbsetbg. It just uses the first app it can find.
Furthermore it supports remembering the last set wallpaper so you don't have to edit the style or init-file to change the wallpaper.
It aims to provide clear error messages in a window that make debugging problems easy.
OPTIONS
-f file
Set fullscreen wallpaper.
-c file
Set centered wallpaper.
-t file
Set tiled wallpaper.
-a file
Set maximized wallpaper, preserving aspect (if your bgsetter doesn't support this option fbsetbg falls back to -f).
-u wallpapersetter
Use specified wallpapersetter, use no argument to forget.
-b fbsetrootoptions
Forward the options to fbsetroot(1). These can be used to set a solid, pattern, or gradient background texture.
-r directory
Set random wallpaper from a directory.
-F, -C, -T, -A, -U, -B, -R
Same as the lowercase option but without remembering.
-l
Set previous wallpaper. Or, if the random feature was last used, set another random wallpaper from the same directory.
-i
Display useful information about best wallpapersetter found.
-p
Display some useful tips.
-h
Display a help message.
FILES
~/.fluxbox/lastwallpaper
In this file the wallpaper you set will be stored, for the -l option.
ENVIRONMENT
wpsetters
Wallpapersetters to use. This can be a space-delimited list of the applications to try, or just a single name.
DISPLAY
The display you want to set the wallpaper on.
EXAMPLES
To use feh(1) as wallpapersetter and set wallpapper.jpg from the current directory as wallpaper.
$ wpsetters=feh fbsetbg wallpaper.jpg
Recall the last set wallpaper on display :0.0 with the stored options.
$ DISPLAY=:0.0 fbsetbg -l
BUGS
fbsetbg(1) is not foolproof.
AUTHORS
The author of fbsetbg is Han Boetes <han at fluxbox.org>
This manpage was converted to asciidoc format by Jim Ramsay <i.am at jimramsay.com> for fluxbox-1.1.2
SEE ALSO
fluxbox(1) fbsetroot(1)
AUTHOR
Jim Ramsay <i.am@jimramsay.com>
Author.
fbsetbg.txt 28 October 2011 FBSETBG(1)