I'm trying to autogenerate a PATH variable from the output of a find command as follows:
PATH=`find $dir -name "*.jar" | sed 's/$/:/'`
The output looks similar like this if I echo it:
PATH=/path/to/1.jar:
/path/to/2.jar:
/path/to/3.jar:
I want the path to be on one line.
I'm on... (3 Replies)
Hi folks,
Please advise which command/command line shall I run;
1) to display the command and its output on console
2) simultaneous to save the command and its output on a file
I tried tee command as follows;
$ ps aux | grep mysql | tee /path/to/output.txt
It displayed the... (7 Replies)
I am looking to parse a text file output and set variables based on what is cropped from the parsing.
Below is my script I am looking to add this feature too.
All it does is scan a certain area of users directories for anyone using up more than X amount of disk space. It then writes to the... (4 Replies)
I am using UNIX to create a script on our system. I have setup my commands to append their output to an outage file. However, some of the commands return no output and so I would like something to take their place.
What I need
The following command is placed at the prompt:
TICLI... (4 Replies)
Dear All,
I would like to extract the file name without extension form a variable...
In particular I have a command like this one:
for file in path/to/file/example_number.ext
do something -input $file -output ${file%_number.ext}.new
done
means that in variable $file are saved all the path... (3 Replies)
So I created two shell variables: COLUMN1_HEADING, COLUMN2_HEADING.
They have values:
COLUMN1_HEADING="John"
COLUMN2_HEADING="123456789"
How would I use printf to get it to print an output like this: $COLUMN1_HEADING\t$COLUMN2_HEADING\nJohn\t123456789\n
Thanks! (3 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)
Discussion started by: royalibrahim
2 Replies
LEARN ABOUT DEBIAN
matchbox-panel
matchbox-panel(1) General Commands Manual matchbox-panel(1)NAME
matchbox-panel - a desktop panel for resource-limited systems
SYNOPSIS
matchbox-panel [options]
DESCRIPTION
matchbox-panel is a desktop panel, which can hold small `applets' such as a clock, system monitor and wireless monitor.
Matchbox is a base environment for the X Window System running on non-desktop embedded platforms such as handhelds, set-top boxes, kiosks
and anything else for which screen space, input mechanisms or system resources are limited.
OPTIONS -display display
X display to connect to
-geometry geometry
Use --size/--orientation instead
--id int
Panel number
--size int, -s int
Width/height of panel in pixels
--orientation north|east|south|west
--default-apps app list, -da app list
Comma-separated list of apps to add to a panel when no session starts
--margin-start +int
Initial app offset in pixels (panel start)
--margin-end +int
Initial app offset in pixels (panel end)
--titlebar
Request panel in titlebar
--no-session, -ns
Disable automatic session saving
--no-menu, -nm
Disable popup menu
--no-flip, -nf
Disable automatic panel rotation when display is rotated
--overide-bubbles, -o
Set override-redirect attribute on popup information windows
--help help
AUTHOR
matchbox-panel was written by Matthew Allum <mallum@o-hand.com>.
Jul 17 2004 matchbox-panel(1)