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
CHEATMAKE(1) [FIXME: manual] CHEATMAKE(1)
NAME
cheatmake - fool make into not rebuilding certain files
SYNOPSIS
cheatmake [hidechangefile] [show] [whyfile]
DESCRIPTION
cheatmake is used to save time when recompiling. It can fool make into skipping files that haven't changed in a meaningful way. This can be
used for instance when you change a comment in a file but none of the actual code.
This utility is part of the KDE Software Development Kit.
OPTIONS
hidechange file
Hides the fact that file was changed by setting the timestamp into the past. Use with care!
show
Lists what files make currently needs to rebuild
why file
Explains why make must rebuild file
ENVIRONMENT
One of the following variables (but not both) should be set if the source directory is different from the build directory. If the build
directory is simply a subdirectory of the source directory, the simpler variable OBJ_SUBDIR should be used.
OBJ_SUBJDIR
Indicates that the build directory is in the given subdirectory of the source directory. For instance, if the source directory is
kdesdk and the build directory is kdesdk/obj-i386-linux, then OBJ_SUBDIR should be set to obj-i386-linux.
OBJ_REPLACEMENT
A sed expression that is used to transform the source directory into the build directory. For instance, if the source directory is
kdesdk/obj-i386-linux, then OBJ_REPLACEMENT should be set to s#kdesdk#kdesdk-obj#.
SEE ALSO
make(1)
AUTHORS
cheatmake was written by David Faure<faure@kde.org>. This manual page was prepared by Ben Burton<bab@debian.org> for the Debian
GNU/Linux(R) system (but may be used by others).
[FIXME: source] March 8, 2003 CHEATMAKE(1)