CLI Magic: For geek cred, try these one-liners


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements UNIX and Linux RSS News CLI Magic: For geek cred, try these one-liners
# 1  
Old 07-23-2008
CLI Magic: For geek cred, try these one-liners

07-23-2008 01:00 AM
In this context, a one-liner is a set of commands normally joined through a pipe (|). When joined by a pipe, the command on the left passes its output to the command on the right. Simple or complex, you can get useful results from a single line at the bash command prompt.



Source...
Login or Register to Ask a Question

Previous Thread | Next Thread

2 More Discussions You Might Find Interesting

1. What is on Your Mind?

Those simple one liners

I wanted to say LOL and punch my face when I saw post#11 (where Don_Cragun even reduced the string manipulation with a simple regex) in the thread https://www.unix.com/shell-programming-scripting/220553-add-0-start-filename-2.html I mean, when things can be done with just a one liner, sometimes I... (6 Replies)
Discussion started by: ahamed101
6 Replies

2. Shell Programming and Scripting

awk - one liners

Guys, I have a requirement like this. A file has >5K records always. Separated by "|", it has 30 fields for each line. In some lines, I am getting an odd field. say, the 15th field is supposed to be 2 characters but comes in as >2. In this case, for resolving this I need to copy the value of... (6 Replies)
Discussion started by: PikK45
6 Replies
Login or Register to Ask a Question
MUMBLE-SERVER-CLI(1)						   User Commands					      MUMBLE-SERVER-CLI(1)

NAME
mumble-server-cli - allows calling methods of mumble-server from the shell SYNOPSIS
mumble-server-cli [options] [<method name>] [<method arguments>] DESCRIPTION
Each method argument has the form: [<data type: bool|int|float|string>:]value If you do not specify a data type, string will be assumed, otherwise `value' will be converted to the given type first. The bool conversion interprets each of 'True', 'true', '1', 'Yes', 'yes' as True, everything else as False. Example: int:4 float:3.5 string:oh:hai foobar bool:yes OPTIONS
-h, --help show this help message and exit -d DJANGO_SETTINGS, --django-settings=DJANGO_SETTINGS if specified, get connstring and slice defaults from the given Django settings module. Default: empty. -c CONNSTRING, --connstring=CONNSTRING connection string to use. Default is 'Meta:tcp -h 127.0.0.1 -p 6502'. -s SLICE, --slice=SLICE path to the slice file. Default is '/usr/share/slice/Murmur.ice'. -e ENCODING, --encoding=ENCODING Character set arguments are encoded in. Default: Read from LANG env variable with fallback to UTF-8. -v, --verbose Show verbose messages on stderr SEE ALSO
The full documentation for mumble-server-cli is maintained as a Texinfo manual. If the info and mumble-server-cli programs are properly installed at your site, the command info mumble-server-cli should give you access to the complete manual. AUTHOR
Mumble-Django and mumble-server-cli have been written by Michael Ziegler <diese-addy@funzt-halt.net>. mumble-server-cli February 2010 MUMBLE-SERVER-CLI(1)