10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Gents,
I found this script to to launch a KDE Konsole window with multiple tabs..
#!/bin/bash
#
# Create my standard konsole windows.
if ]; then
profile=Shell
fi
sessions=(
sh1 $profile 'clear; bash'
sh1 $profile 'clear; bash'
su1 $profile 'clear; su'... (1 Reply)
Discussion started by: jiam912
1 Replies
2. Shell Programming and Scripting
hi guys i want a script manually copy all directories and files. Dont want to use cp-r, cp-R or any variant. How to do this, the piece of code i need is commented in the script
Code:
#!bin/bash
IFS=$'\n'
if test "$1" = ""
then
wd=pwd
else
wd=$1
fi
for file in... (1 Reply)
Discussion started by: Wolverine89
1 Replies
3. Shell Programming and Scripting
hi guys i want a script manually copy all directories and files. Dont want to use cp-r, cp-R or any variant. How to do this, the piece of code i need is commented in the script
#!bin/bash
IFS=$'\n'
if test "$1" = ""
then
wd=pwd
else
wd=$1
fi
for file in $(find $1)... (0 Replies)
Discussion started by: Wolverine89
0 Replies
4. Shell Programming and Scripting
Hi All,
I am faced with a problem. I came to know that large scale problems in MATLAB are very slow and with loops they are even slower.
I have the MATLAB script below that does some large scale computation for my school project work. I've been running this code for long now but all it did... (1 Reply)
Discussion started by: shoaibjameel123
1 Replies
5. Shell Programming and Scripting
Hi all! I just got done writing a script. The problem Im running into is I have to lanuch the script with:
sh SCRIPT.sh
Is there a way to launch it with by just entering
SCIPT
into the shell? (3 Replies)
Discussion started by: Grizzly
3 Replies
6. Linux
Hi all,
I installed RHEL on my machine and realized that firefox browser was not
included at installation. I went back and added it using the Add or Remove
Packages by inserting the dvd I used during installation. The icon is there
but for some reason I cannot lauch. Nothing returns when I... (12 Replies)
Discussion started by: jxh461
12 Replies
7. Programming
Hi, I have a situation where a C main program needs to call another C main program, my background is mostly Windows and I'm new to UNIX programming. I've read about system(), fork(), and exec() and I'm a little confused as to what the sequence of steps should be to launch another process. By the... (5 Replies)
Discussion started by: hr94131
5 Replies
8. UNIX for Advanced & Expert Users
Greetings all,
I'll just like to know if it is possible to launch a shell script automatically upon a user's successful login into ssh from a remote host, without adding a command parameter to the ssh command...
ie. after keying in ssh username@host (not ssh username@host "command") and upon... (1 Reply)
Discussion started by: rockysfr
1 Replies
9. UNIX for Advanced & Expert Users
dear all,
i got a pach file for ns 2.3 but it is not working properly i want to imlement those modification in the concering file manualy by onpening patches and write them in the orignal souce . Plz let me know how it is possible ?
thanks (1 Reply)
Discussion started by: sheilly_2k7
1 Replies
10. UNIX for Advanced & Expert Users
Hi!
I would launch this command:
tar -cvvf logswitch.tar `find *.log* -mtime +5` --remove-files
only if
find *.log* -mtime +5
find some files.
Thanks in advance. (10 Replies)
Discussion started by: Minguccio75
10 Replies
KDE-BUILD(1) User Contributed Perl Documentation KDE-BUILD(1)
NAME
kde-build - Updates and recompiles a tree of KDE CVS modules
SYNOPSIS
kde-build
DESCRIPTION
kde-build has been designed to keep a local copy of several KDE CVS modules up to date and recompile them. Those modules have to be saved
in a common directory, e.g. something like
~/kde-src/
|
+-> kdelibs/
|
+-> kdebase/
|
-> kdenetwork/
In this case, the KDE source directory would be ~/kde-src/. The script will take care of compiling them in the correct order, checks for
dependencies and resolves them as far as possible.
Please not that, prior to first invokation of the script, the configuration file 'kde-buildrc' has to be modified to reflect the local
environment, such as paths etc.
RETURN VALUE
The following error codes are returned by the script.
0 - No error seems to have occured.
1 - The script could not change into the directory of a module.
2 - The script could not open the file 'Makefile.in' of a module.
3 - The configuration of a module failed.
4 - The compilation of a module failed.
5 - The installation of a module failed.
6 - An invalid source directory was specified.
7 - An invalid Qt directory was specified.
8 - An invalid CVS client was specified.
9 - No cvsup server was specified.
10 - The temporary CVSUP configuration file couldn't be created.
11 - The configuration file kde-buildrc couldn't be loaded.
EXAMPLES
cd ~/scripts/; vi ./kde-buildrc; ./kde-build
BUGS
Lots, mostly that the script wasn't written with portability in mind and therefore won't run very nice on platforms other than Linux.
TODO
Add a DIAGNOSIS section to this man page.
AUTHOR
Frerich Raabe <raabe@kde.org>
3rd Berkeley Distribution perl v5.6.1 KDE-BUILD(1)