I'm in a very strange status. Cause if i run this command from terminal:
the answer is correct:
But the same command in a bash script
The answer is that:
I don't know why but it different and certainly not the right path.
Note: The wmark_watermark.jpg pic name is generated by the imagemagick but i don't know why this is not it's business.
Last edited by Franklin52; 06-01-2011 at 04:57 AM..
Reason: Please use code tags
Hi:
I have a requirement as below:
I have some standard Unix commands modified and kept them in a directory say /usr/clsh/bin. For example I have a script named "ls" kept here which is modified version of "ls" (say it always gives long listing i.e. ls -l).
When any user logs on and types... (2 Replies)
I have a script in which i want to print absolute path of the same script irrespective of path from where i run script.
I am using
test.sh:
echo "pwd : `pwd`"
echo "script name: $0"
echo "dirname: `dirname $0`"
when i run script from /my/test/dir/struct as ../test.sh the output i... (10 Replies)
Hi All,
Can you please provide some pointers to move files from Base path to multiple paths in efficient way.Folder Structure is already created.
/Path/AdminUser/User1/1111/Reports/aaa.txt to /Path/User1/1111/Reports/aaa.txt
/Path/AdminUser/User1/2222/Reports/bbb.txt to... (6 Replies)
I want to pattern match only path part from below and replace them with new path string.
LoadModule jk_module /fldrA/fldrBaf/fldrCaa/modules/mod_jk.so
JkWorkersFile /fldrA/fldrBaf/fldrCaa/config/OHS/ohs1/workers.properties
JkLogFile... (4 Replies)
Hi experts,
I have multiple file names ending with .jsp located in $SOME_DIR, $SOME_DIR/f1/,$SOME_DIR/f2/test,$SOME_DIR/f3/fa
and there are equivalent class files in $SOME_DIR/WEB-INF/classes/_pages,$SOME_DIR/WEB-INF/classes/_pages/_f1,... (0 Replies)
Currently I am using this laborious command
lvdisplay | awk '/LV Path/ {p=$3} /LV Name/ {n=$3} /VG Name/ {v=$3} /Block device/ {d=$3; sub(".*:", "/dev/dm-", d); printf "%s\t%s\t%s\n", p, "/dev/mapper/"v"-"n, d}'
Would like to know if there is any shorter method to get this mapping of... (2 Replies)
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
exo-desktop-item-edit
EXO-DESKTOP-ITEM-EDIT(1) User Commands EXO-DESKTOP-ITEM-EDIT(1)NAME
exo-desktop-item-edit - Create icons on the desktop
DESCRIPTION
Usage:
exo-desktop-item-edit [OPTION...] [FILE|FOLDER]
Help Options:
-?, --help
Show help options
--help-all
Show all help options
--help-gtk
Show GTK+ Options
Application Options:
-c, --create-new
Create a new desktop file in the given directory
-t, --type
Type of desktop file to create (Application or Link)
--name Preset name when creating a desktop file
--comment
Preset comment when creating a desktop file
--command
Preset command when creating a launcher
--url Preset URL when creating a link
--icon Preset icon when creating a desktop file
-v, --version
Print version information and exit
--display=DISPLAY
X display to use
AUTHOR
Written by Benedikt Meurer <benny@xfce.org>.
exo-desktop-item-edit comes with ABSOLUTELY NO WARRANTY, You may redistribute copies of exo-desktop-item-edit under the terms of the GNU
Lesser General Public License which can be found in the exo source package.
Please report bugs to <http://bugzilla.xfce.org/>.
COPYRIGHT
Copyright (C) 2005-2006
os-cillation e.K. All rights reserved.
SEE ALSO
The full documentation for exo-desktop-item-edit is maintained as a Texinfo manual. If the info and exo-desktop-item-edit programs are
properly installed at your site, the command
info exo-desktop-item-edit
should give you access to the complete manual.
exo-desktop-item-edit 0.3.1.10rc1 September 2006 EXO-DESKTOP-ITEM-EDIT(1)