Advertise with Googlier.com Comments on: Mint 6: 3 new commands https://blog.linuxmint.com/?p=346 News from the Mint Team Fri, 02 Oct 2009 02:41:29 +0000 hourly 1 https://wordpress.org/?v=7.1.4 By: oes tsetnoc https://blog.linuxmint.com/?p=346#comment-11562 Fri, 02 Oct 2009 02:41:29 +0000 http://www.linuxmint.com/blog/?p=346#comment-11562 Does anyone know what I have to change for showing the thumbnail and just the excerpt with it?? on my /etc/samba/smb.conf

]]>
By: Angelo https://blog.linuxmint.com/?p=346#comment-6948 Sat, 18 Apr 2009 13:25:36 +0000 http://www.linuxmint.com/blog/?p=346#comment-6948 > {} works.

You’re right, in bash it works. In fish I need to escape them. Stupid me to not have tried in bash before asking…

]]>
By: Sorpigal https://blog.linuxmint.com/?p=346#comment-6828 Thu, 09 Apr 2009 10:08:27 +0000 http://www.linuxmint.com/blog/?p=346#comment-6828 @Angelo

{} works. Curly braces are not special enough that you need to escape them.

Also, consider using + instead of \; when you want to operate on a bunch of files and don’t need to do one at a time (as in your example). It works like piping to xargs instead of using -exec, but you avoid the extra process. man find for details.

]]>
By: Clem https://blog.linuxmint.com/?p=346#comment-6633 Wed, 01 Apr 2009 14:40:14 +0000 http://www.linuxmint.com/blog/?p=346#comment-6633 Angelo: We don’t do marketing hype, this has one purpose only: to simplify your usage or Mint and make it more comfortable. I personally use the search command A LOT, and that’s the reason it’s here.. because for simple things we shouldn’t have to google up complicated commands. Read the blog post and you’ll see, it’s no secret these commands are indeed just shortcuts but they make our life easier and yes, I do believe they add a lot to this particular release.

]]>
By: Angelo https://blog.linuxmint.com/?p=346#comment-6625 Mon, 30 Mar 2009 19:30:42 +0000 http://www.linuxmint.com/blog/?p=346#comment-6625 Nice marketing hype, but
apt content = dpkg -L
apt contains = dpkg -S
search for text in directory = find directory -type f -exec grep -iH text –color=auto -n {} \;
New commands? Hardly. “search” could be useful, but then, it could be better without “for” and “in”.
Sorry, I usually appreciate your work, but this thing looks really like a n00b bait.

P.S. Does “{}” work? Shouldn’t it be “\{\}”?

]]>
By: Eder https://blog.linuxmint.com/?p=346#comment-5121 Fri, 19 Dec 2008 17:39:04 +0000 http://www.linuxmint.com/blog/?p=346#comment-5121 Very good..
Thats features are realy util..
All distros maybe adopt this.. 😉

]]>
By: fosron.lt » Linux Mint 6 "Felicia" RC1 https://blog.linuxmint.com/?p=346#comment-4316 Tue, 11 Nov 2008 16:54:25 +0000 http://www.linuxmint.com/blog/?p=346#comment-4316 […] O komandinės eilutės megėjams atsirado trys naujos komandos – search, apt content ir apt contains. Apie jas plačiau – Linux Mint blog’e. […]

]]>
By: tim https://blog.linuxmint.com/?p=346#comment-3971 Sat, 11 Oct 2008 22:08:25 +0000 http://www.linuxmint.com/blog/?p=346#comment-3971 Thanks Clem for this useful new features
but for “apt contains” I don’t need a path?
{~._.~}
( Y )
()~*~()
(_)-(_)
tim@mint-felicia ~ $ apt contains GPL.txt
mintsystem: /usr/lib/linuxmint/mintSystem/GPL.txt
mintupdate: /usr/lib/linuxmint/mintUpdate/GPL.txt
I like the “search” command, because I’m not a big fan of tracker!
its powerful to find text also in binaries
Now I can find my stuff 😉
cheers
Tim

]]>
By: Roberto https://blog.linuxmint.com/?p=346#comment-3904 Mon, 06 Oct 2008 11:28:54 +0000 http://www.linuxmint.com/blog/?p=346#comment-3904 Hi,

Mint’s Review on Distrowatch (Overviews)

http://distrowatch.com/weekly.php?issue=20081006#feature

MINT GNOME MAIN EDITION COMMANDS TEST

Commands (3) – search – apt contains – apt content – has been added

Romeo enabled (sources.list) and – apt-get update
mintUpdate has installed mintUpload 2.0 – mintsystem 5.5

Test:

roberto@roberto-desktop ~ $ apt content mintsystem
/.
/usr
/usr/lib
/usr/lib/linuxmint
/usr/lib/linuxmint/mintSystem
/usr/lib/linuxmint/mintSystem/templates
/usr/lib/linuxmint/mintSystem/templates/preferences
/usr/lib/linuxmint/mintSystem/templates/apt.conf
/usr/lib/linuxmint/mintSystem/icon.png
/usr/lib/linuxmint/mintSystem/GPL.txt
/usr/lib/linuxmint/mintSystem/python
/usr/lib/linuxmint/mintSystem/python/configobj.py
/usr/lib/linuxmint/mintSystem/version
/usr/lib/linuxmint/mintSystem/version/mintInstall
/usr/lib/linuxmint/mintSystem/version/mintInstall/portals.list
/usr/lib/linuxmint/mintSystem/version/mintInstall/release.id
/usr/lib/linuxmint/mintSystem/version/mintInstall/sources.list
/usr/local
/usr/local/bin
/usr/local/bin/apt
/usr/local/bin/search
/usr/share
/usr/share/doc
/usr/share/doc/mintsystem
/usr/share/doc/mintsystem/copyright
/usr/share/doc/mintsystem/changelog.gz
roberto@roberto-desktop ~ $

——————————————————————-

roberto@roberto-desktop ~ $ apt contains /usr/lib/linuxmint/mintSystem/GPL.txt
mintsystem: /usr/lib/linuxmint/mintSystem/GPL.txt
roberto@roberto-desktop ~ $

——————————————————————

roberto@roberto-desktop ~ $ search –help
usage: search [arguments] [options]
arguments:
for text
in directory
options:
-c | –case-sensitive
-s | –show-filenames-only
roberto@roberto-desktop ~ $

———————————————————————-

roberto@roberto-desktop ~ $ search for workgroup in /etc/samba
/etc/samba/smb.conf:26:# Change this to the workgroup/NT-domain name your Samba server will part of
/etc/samba/smb.conf:27: workgroup = MSHOME
roberto@roberto-desktop ~ $

roberto@roberto-desktop ~ $ search in /etc/samba for workgroup –case-sensitive –show-filenames-only
usage: search [arguments] [options]
arguments:
for text
in directory
options:
-c | –case-sensitive
-s | –show-filenames-only
roberto@roberto-desktop ~ $

roberto@roberto-desktop ~ $ search in /etc/samba for workgroup -s
/etc/samba/smb.conf
roberto@roberto-desktop ~ $ search in /etc/samba for workgroup -c
/etc/samba/smb.conf:26:# Change this to the workgroup/NT-domain name your Samba server will part of
/etc/samba/smb.conf:27: workgroup = MSHOME
roberto@roberto-desktop ~ $

————————————————————————–

Please, take a look at my results.
Roberto

]]>