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
AWSETBG(1) AWSETBG(1)
NAME
awsetbg - awesome wrapper tool to set background
SYNOPSIS
awsetbg [-fctaFCTA wallpaper] [-uU wallpapersetter] [-m #] [-bB fbsetrootoptions ...] [-rR path] [-l]
DESCRIPTION
awsetbg is a wrapper that tries to find a suitable background setting application and then tries to set the wallpaper using that
application. You do not have to configure awsetbg, since it just uses the first application it finds.
Furthermore, it remembers the last wallpaper set, so you do not have to edit anything to change the wallpaper.
OPTIONS
-f file
Set fullscreen wallpaper.
-c file
Set centered wallpaper.
-t file
Set tiled wallpaper.
-a file
Set maximized wallpaper, preserving the aspect ratio. If the application chosen does not support this option, fullscreen is used as
fall back.
-u wallpapersetter
Use the specified wallpaper setter tool.
-r directory
Set a random wallpaper from this directory.
-F, -C, -T, -A, -U, -R
Same as the lowercase options, but without remembering.
-l
Set the previous wallpaper. If the random feature was the last used, it will set another random wallpaper from this same directory.
-i
Display useful information about the best application to set the wallpaper found.
-m #
Use montage to create a big image (image should fit screen size). Requires montage(1). # is the number of screens (columns in montage).
-p
Display useful tips.
-h
Display help message.
FILES
$XDG_CACHE_HOME/awesome/lastwallpaper or $HOME/.cache/awesome/lastwallpaper files contains the last wallpaper set to use with the -l
option.
ENVIRONMENT VARIABLES
wpsetters
Wallpaper setters to use.
DISPLAY
Display you want to set the wallpaper on.
SEE ALSO
awesome(1)
AUTHORS
Julien Danjou <julien@danjou.info[1]> and others. awsetbg is derived from fbsetbg which was written by Han Boetes <han@fluxbox.org[2]>.
WWW
http://awesome.naquadah.org
NOTES
1. julien@danjou.info
mailto:julien@danjou.info
2. han@fluxbox.org
mailto:han@fluxbox.org
07/16/2012 AWSETBG(1)