12-10-2018
Thank you for simper solution!
Andrew ,
You suggested a simpler solution . I am a newbie and simpler alternatives are appreciated
Quote:
Stupid question, but why not:
sudo docker rm -f $(docker ps -aq)
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I currently run a script over a vpnc tunnel to back-up my data to a remote server. However for a number of reasons the tunnel often collapses. If I manually restore the tunnel then the whole thing can continue, but I want to add into my script a section whereby while the transfer is taking place,... (8 Replies)
Discussion started by: dj_bridges
8 Replies
2. Shell Programming and Scripting
Org file
192.168.1.10 d:\adir\xdir
192.168.1.11 d:\bdir\ydir
want to covert it into
robocopy \\192.168.1.10\d$\adir\xdir\log* some_localdir\adir
robocopy \\192.168.1.10\d$\adir\ydir\log* some_localdir\bbdir (5 Replies)
Discussion started by: ydk
5 Replies
3. Shell Programming and Scripting
Hi all,
I am working on a backup based script, in which it enters to a directory and check the sub-directories and copy the names into an array.
cd $CPFs
k=0
for i in *
do
if
then
ARRs="$i"
k=$(($k+1))
#echo "$i"
... (19 Replies)
Discussion started by: canishk
19 Replies
4. UNIX for Dummies Questions & Answers
I'm reading about debugging aids in bash and have come across the set command. It says in my little book that an addition to typing
set
you can also use them "on the command line when running a script..." and it lists this in a small table:
set -o option Command Line... (5 Replies)
Discussion started by: Straitsfan
5 Replies
5. Shell Programming and Scripting
Hi,
I am writing a script to split a log file - the log could contain multiple days worth of logs. The second line of the log contains the string "Version ". In my test log which comprises of two days worth of logs, this string appears twice - once each day.
Essentially I would like to split... (7 Replies)
Discussion started by: pmurray21
7 Replies
6. Shell Programming and Scripting
I am trying to look through one of my directories to remove certain files. I am pretty new to Unix and bash so I just need a little help in starting this. I know I would have to write two loops one to iterate the directories and one to iterate the files. How would I write the loops? (3 Replies)
Discussion started by: totoro125
3 Replies
7. Shell Programming and Scripting
Hi,
I am trying to do something similar to the for loop example from KSH For Loop Array: Iterate Through Array Values
$: cat y.ksh
#!/bin/ksh
# set array called nameservers
set -A nameservers 192.168.1.1 192.168.1.5 202.54.1.5
# print all name servers
for i in ${nameservers}
do
... (3 Replies)
Discussion started by: newbie_01
3 Replies
8. UNIX for Beginners Questions & Answers
I am trying to write a Bash Script using a couple of arrays. I need to perform a countdown of sorts on an array done once daily, but each day would start with the numbers from the previous day. This is what I'm starting with :
#!/bin/bash
days=(9 8 7 6 5)
for (( i = 0 ; i < ${#days} ; i++... (4 Replies)
Discussion started by: cogiz
4 Replies
9. Shell Programming and Scripting
Hello,
i have a script that should compare between ${ARRAY}
that contains all fstab record like this :
>>echo ${ARRAY}
/ /boot
between all mountpoints in my df that is stord in ${ARRAY2}
>>echo ${ARRAY2}
/ /boot /dev/shm /var/spool/asterisk/monitor
now i have this loop:
for i in... (6 Replies)
Discussion started by: batchenr
6 Replies
10. Shell Programming and Scripting
I am running plsql using printf on a shell, but i am getting some strange error, can someone point what exactly am i missing,
$ echo $SHELL
/bin/bash
$ printf "
> SET serveroutput ON trimspool on feed off echo off
> declare
> p_val number;
> d_val varchar2(10);
> begin
> SELECT... (1 Reply)
Discussion started by: kamauv234
1 Replies
LEARN ABOUT DEBIAN
docker
DOCKER(1) General Commands Manual DOCKER(1)
NAME
docker - System tray for KDE3/GNOME2 docklet applications
SYNOPSIS
docker [options]
DESCRIPTION
This manual page documents briefly the docker command. This manual page was written for the Debian distribution because the original pro-
gram does not have a manual page.
docker is a docking application (WindowMaker dock app) which acts as a system tray for KDE3 and GNOME2. It can be used to replace the panel
in either environment, allowing you to have a system tray without running the KDE/GNOME panel.
Docker was written and designed to work with Openbox 2, but it should work fine in any window manager that supports WindowMaker dock apps.
OPTIONS
-h-help
Show summary of options.
-display DISPLAY
The X display to connect to.
-border N
The width of the border to put around the system tray icons. Defaults to 1.
-vertical
Line up the icons vertically. Defaults to horizontally.
-wmaker
WindowMaker mode. This makes docker a fixed size (64x64) to appear nicely in in WindowMaker. Note: In this mode, you have a fixed
number of icons that docker can hold.
-iconsize SIZE
The size (width and height and height) to display icons as in the system tray. Defaults to 24.
-color COLOR
The background color to use for the tray. Defaults to whatever color the window manager specifies.
AUTHOR
This manual page was written by Ari Pollak <ari@debian.org>, for the Debian GNU/Linux system (but may be used by others).
November 2, 2002 DOCKER(1)