I wonder if the script below is possible to write somehow more efficiently. It seems to me the problem is very common..
CreateFolders() # parameter: name of file with relative path with regard to directory $project_root
{
echo $1 | awk '{ n=split($1, array, "/");
... (2 Replies)
Good morning,
Can someone help to color a figure in columns if its exceeding a threshold using shell script .
ex. I have file contains 5 columns showing a value in % I need to show the value in red if it exceed 90 %
Appreciate your help (3 Replies)
Hi
#Testing for file existence
if ; then
echo 'SCHOOL data is available for processing'
else
echo 'SCHOOL DATA IS NOT AVAILABLE FOR PROCESSING'
:
i wrote a script, where it begins by checking if file exists or not.
If it exists, it truncates the database... (2 Replies)
I am trying to find case insensitive file names and then replace that particular file with other name.
if
then
ls | grep -i "update" | xargs -I {} mv {} LineItems.csv
echo "File moved from *update*"
elif
then
ls | grep -i "priority" | xargs -I {} mv {} ... (1 Reply)
Hello,
I am creating a file with all the source folders included in my git branch, when i grep for the used source, i found source included as relative path instead of absolute path, how can convert relative path to absolute path without changing directory to that folder and using readlink -f ? ... (4 Replies)
i have make file which i try to make them generic
but it keeps to compline it missing include directory
this is the makefile :
CXX=g++
CPPFAGS= -Wall -O0 -g -std=c++14
INCLUDES = -I/home/vagrant/libuv/include -Isrc
LIBS_DIRS = -L/home/vagrant/libuv/build
LDFLAGS=... (7 Replies)
Discussion started by: umen
7 Replies
LEARN ABOUT DEBIAN
mono-server4-admin
MONO-SERVER4-ADMIN(8) User Contributed Perl Documentation MONO-SERVER4-ADMIN(8)NAME
mono-server4-admin - mono-server4 hosts file creator, hosts file is part of the debianized mod_mono package
SYNOPSIS
mono-server4-admin [action] [args]
OPTIONS
Actions:
add Use 'add' if you want to create an application and want mono-server4 scripts to manage it
del If you want to remove an application
Args:
--path The path where you have your aspx files, MUST EXISTS!, required only with add action
--app The name of your application
--libs If you have dlls outside your path, you must use this!
--port Needed if you are running multiple virtual hosts in different ports in Apache
--vhost If you want to add asp.net support to a virtualhost you must use this. Example: foobar.com
DESCRIPTION
mono-server4-admin is a perl tool to adminstrate your ASP.NET webapps that will be executed with
mod_mono.
When you try to add an application, mono-server4-admin will verify that your path exists, if it is,
it will add a directory inside /etc/xsp/conf.d with the name of your app, and also as a file with the
filename format: 10_appname. This file will have the information (path, app).
So, when mono-xsp-update is executed it will read those dirs and create a debian.webapp in
/etc/xsp that the xsp daemon will read, also with a mono-server4-hosts that will have your
directory settings with apache directives. Apache will read mono-server4-hosts.conf!
AUTHOR
Pablo Fischer <pablo@pablo.com.mx>
perl v5.14.2 2012-01-18 MONO-SERVER4-ADMIN(8)