03-24-2011
can you suggest one solid link or book that covers these basics...?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
how do you show just the used disk space. using the cut and df command?? or does anyone have any other suggestions on how to do it a better way? (3 Replies)
Discussion started by: rookie22
3 Replies
2. Shell Programming and Scripting
Hi,
I want to cut from a particular position to a particular position and retain the rest.
I tried this
cut -c31-51 file1.txt > file2.txt
But The characters from the position 31 to 51 were only present in file2.txt.
Is there a way to reverse this i.e to retain the rest except from... (1 Reply)
Discussion started by: ragavhere
1 Replies
3. Shell Programming and Scripting
Gurus,
I need help with the cut command :
I have a file with garbage charaters at the beginning of each record; but these characters are not of the same length;
First record has 3 garbage chars to be removed; rest have 2;
If the length was consistent across all the records, I could have... (3 Replies)
Discussion started by: tru_tell
3 Replies
4. Shell Programming and Scripting
Hi
Can anyone what I am doing wrong while using cut command.
for f in *.log
do
logfilename=$f
Log "Log file Name: $logfilename"
logfile1=`basename $logfilename .log`
flength=${#logfile1}
Log "file length $flength"
from_length=$(($flength - 15))
Log "from... (2 Replies)
Discussion started by: dgmm
2 Replies
5. UNIX for Dummies Questions & Answers
hay
i am trying to get JUST the PID from the ps command.
my command line is:
ps -ef | grep "mintty" | cut -d' ' -f2
but i get an empty line. i assume that the delimiter is not just one space character, but can't figure out what should i do in order to do that.
i know i can use awk or cut... (8 Replies)
Discussion started by: ran ber
8 Replies
6. Shell Programming and Scripting
hi,
i have a file
abc,"an,ab",cde,efg
abc,anab,cde,efg and need to cut the second field so the output should be abc,cde,efg and i have used cut -d',' -f1-1,3- but its giving me
abc,ab",cde,efg
abc,cde,efg (4 Replies)
Discussion started by: ATWC
4 Replies
7. UNIX for Beginners Questions & Answers
I'm a complete beginner in UNIX (and not a computer science student either), just undergoing a tutoring course. Trying to replicate the instructions on my own I directed output of the ls listing command (lists all files of my home directory ) to My_dir.tsv file (see the screenshot) to make use of... (9 Replies)
Discussion started by: scrutinizerix
9 Replies
8. Shell Programming and Scripting
VARIABLE="jhovan 5259 5241 0 20:11 ? 00:00:00 /proc/self/exe --type=gpu-process --channel=5182.0.1597089149 --supports-dual-gpus=false --gpu-driver-bug-workarounds=2,45,57 --disable-accelerated-video-decode --gpu-vendor-id=0x80ee --gpu-device-id=0xbeef --gpu-driver-vendor... (3 Replies)
Discussion started by: SkySmart
3 Replies
9. Shell Programming and Scripting
im currently running the following command to grab all arguments in front of a script, directly from the process table.
# cat /tmp/allmyprocs
ubuntu 9933 27793 0 03:29 pts/0 00:00:00 /bin/sh ./prying.sh
ubuntu 9941 9933 0 03:29 pts/0 00:00:00 sh
ubuntu 9952 9941 0 03:29... (1 Reply)
Discussion started by: SkySmart
1 Replies
LEARN ABOUT DEBIAN
lilypond-book
LILYPOND-BOOK(1) User Commands LILYPOND-BOOK(1)
NAME
lilypond-book - manual page for lilypond-book 2.14.2
SYNOPSIS
lilypond-book [OPTION]... FILE
DESCRIPTION
Process LilyPond snippets in hybrid HTML, LaTeX, texinfo or DocBook document.
OPTIONS
-F, --filter=FILTER
pipe snippets through FILTER [default: `convert-ly -n -']
-f, --format=FORMAT
use output format FORMAT (texi [default], texi-html, latex, html, docbook)
-h, --help
show this help and exit
-I, --include=DIR
add DIR to include path
--info-images-dir=DIR
format Texinfo output so that Info will look for images of music in DIR
--left-padding=PAD
pad left side of music to align music inspite of uneven bar numbers (in mm)
--lily-output-dir=DIR
write lily-XXX files to DIR, link into --output dir
--load-custom-package=PACKAGE
Load the additional python PACKAGE (containing e.g. a custom output format)
-o, --output=DIR
write output to DIR
-P, --process=COMMAND
process ly_files using COMMAND FILE...
-s, --safe
Compile snippets in safe mode
--skip-lily-check
do not fail if no lilypond output is found
--skip-png-check
do not fail if no PNG images are found for EPS files
--use-source-file-names
write snippet output files with the same base name as their source file
-V, --verbose
be verbose
--version
show version number and exit
-w, --warranty
show warranty and copyright
Options only for the latex and texinfo backends:
--latex-program=PROG
run executable PROG instead of latex, or in case --pdf option is set instead of pdflatex
--pdf create PDF files for use with PDFTeX
EXAMPLES
$ lilypond-book --filter="tr '[a-z]' '[A-Z]'" BOOK
$ lilypond-book -F "convert-ly --no-version --from=2.0.0 -" BOOK
$ lilypond-book --process='lilypond -I include' BOOK
REPORTING BUGS
Report bugs via http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs
SEE ALSO
The full documentation for lilypond-book is maintained as a Texinfo manual. If the info and lilypond-book programs are properly installed
at your site, the command
info lilypond-book
should give you access to the complete manual.
lilypond-book 2.14.2 February 2013 LILYPOND-BOOK(1)