Hello All,
I just wanted to know what are the different ways of using commands in combination.
The most common one which i know is using pipes.
Also grouping is also done like ( ls; date) where output of both the commands is displayed.
Are there any other ways of combining various... (2 Replies)
I want to show a output like this
Lee Ballancore
PID TTY TIME CMD
31799 pts/3 00:00:00 vim
31866 pts/3 00:00:00 vim
2495 pts/7 00:00:00 vim
8368 pts/0 00:00:00 vim
9544 pts/2 00:00:00 ps
Alistairr Rutherford
PID TTY TIME CMD
8368 pts/0 00:00:00 vim
9544 pts/2 00:00:00 ps
... (3 Replies)
Dear all,
I have to calculate sum of record count of files of the specified directory.
First I tried the following way which prints one or more outputs.
How can I sum of this output?
find /home/work/tmp/1/O/ -type f -print0 | xargs -0 wc -l | grep total
1666288 total
1073908 total
... (4 Replies)
I have been reading for a few hours trying to educate myself enough to accomplish this task, so please know I have performed some research. Unfortunately, I am not a *NIX scripting expert, or a coder. I come from a network background instead.
SO, here is my desired outcome. I have some Cisco... (5 Replies)
Hi All,
Hope someone can advise here as I have been struggling to find a syntax that works here. I have tried a stack of combination I have seed in the forums but I think because I have needed to use "" and `` in the statments another method is found.
I am reading in lines with the following... (1 Reply)
I am learning to build from SVN and other tools, with a lot of copying and pasting from forums. I like to append && echo "success" to all commands so that I can see at a glance if things went all right. Is there a way that I can have the bash shell append this to all commands?
Thanks! (5 Replies)
Dear All,
Please advice about this issue.
when i run this line in a script if && || && || && if i enter $x = test3 and $y = test1 the If condition apply while it should not
Best Regards (2 Replies)
Im currently running this command to satisfy a particular task. it works for my purposes. but i want to be able to optimize this string of commands and have it be reduced to 1 or 2 commands, if at all possible:
head -4 datafile 2>/dev/null | cut -c1-400 | wc | awk '{print $2$1$3}' (5 Replies)
Discussion started by: SkySmart
5 Replies
LEARN ABOUT DEBIAN
zile
ZILE(1) User Commands ZILE(1)NAME
Zile - Zile Is Lossy Emacs
SYNOPSIS
zile [OPTION-OR-FILENAME]...
DESCRIPTION
Zile is a lightweight Emacs clone that provides a subset of Emacs's functionality suitable for basic editing.
Run Zile, the lightweight Emacs clone.
Initialization options:
--no-init-file, -q
do not load ~/.zile
--funcall, -f FUNC
call Zile Lisp function FUNC with no arguments
--load, -l FILE
load Zile Lisp FILE using the load function
--help display this help message and exit
--version
display version information and exit
Action options:
FILE visit FILE using find-file
+LINE FILE
visit FILE using find-file, then go to line LINE
Exit status is 0 if OK, 1 if it cannot start up, for example because of an invalid command-line argument, and 2 if it crashes or runs out
of memory.
FILES
~/.zile -- user's Zile init file
/usr/share/zile/dotzile-extra.el -- which contains some useful code for the init file.
AUTHOR
Zile was written by Sandro Sigala, David A. Capello and Reuben Thomas. The Lisp interpreter is based on code by Scott Lawrence.
REPORTING BUGS
Report bugs to bug-zile@gnu.org.
COPYRIGHT
Copyright (C) 2010 Free Software Foundation, Inc. GNU Zile comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of Zile under
the terms of the GNU General Public License. For more information about these matters, see the file named COPYING.
SEE ALSO emacs(1)Zile 2.3.20 November 2010 ZILE(1)