RichieStacker
Posts: 5
Joined: Sun Dec 30, 2012 7:09 pm
Location: Earth
Contact: Website

CLI recommendations

Sun Dec 30, 2012 9:46 pm

For the past couple of days I've been playing with command-line based software on my Pi for a few reasons, namely the desire to learn - I'm no stranger to the command line, but woefully inexperienced - and my ill-educated feeling that even LXDE is an excess I could do without for most purposes.

So far I've mucked about with:
  • Lynx
  • mplayer (seems to freeze momentarily every now and then, but... *shoves that to one side to worry about later*)
  • Vim (daunting, but I think finally bashing out a quick HTML page as a personal exercise has been a good first step... I hope :? )
  • Midnight Commander
And I battled with installing yt and Quake 3 with eventual success. I've also grabbed rtorrent, not that I've used it yet. Beyond that, though, I'm a little lost as to what else to try. I'm guessing a mail client and an RSS reader, maybe an IM client too (not that I really use IM much), but otherwise I'm stumped.

Any suggestions on what I could try? :shock:
Most likely to get lost before even reaching that first roundabout. :|

Cloudcentric
Posts: 982
Joined: Fri Sep 14, 2012 9:13 am

Re: CLI recommendations

Sun Dec 30, 2012 10:36 pm

Arch Linux Arm is likely the least resource hungry Command Line Distro:

http://downloads.raspberrypi.org/images/archlinuxarm

Though if you do try Arch update prior to use:

pacman -Syu


http://archlinuxpi.blogspot.co.uk/
I know everything about nothing"

sdjf
Posts: 1395
Joined: Fri Mar 16, 2012 5:20 am
Location: California
Contact: Website

Re: CLI recommendations

Mon Dec 31, 2012 6:15 am

You could try your hand at editing images and creating banners from the command line with ImageMagick. There is a command line driven genealogy program called Lifelines that is in the Arch User Repository you could compile, might be available already compiled for Raspbian, I do not know.

Or try modifying the color scheme for lynx to suit your taste. I prefer light gray background for mine, still trying to get the text choices to look like I want for regular text vs. inactive links vs. active links.
FORUM TIP: To view someone's posting history, sign in, click on their user name, then on "Search User's Posts." || Running ArchLinuxArm on Model 2B and 512MB Model B

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: CLI recommendations

Mon Dec 31, 2012 8:47 am

Perhaps create a youtube downloader in bash ?
Only using wget, curl , sed and a mediaplayer ?
sed might turn out to be the most interesting part.

ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6228
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: CLI recommendations

Mon Dec 31, 2012 9:04 am


RichieStacker
Posts: 5
Joined: Sun Dec 30, 2012 7:09 pm
Location: Earth
Contact: Website

Re: CLI recommendations

Mon Dec 31, 2012 1:37 pm

*crawls from the dreaded Pit of New Distro Experiences* Well, that was a bit of an adventure. I installed Arch on a spare SD and found myself spending the best part of the night downloading a lot of the software that was thrown in with Raspbian. I like it. :lol:

ImageMagick looks like fun, after looking up a tutorial on it. As for making a YouTube downloader, I'd have to wrap my head around sed first, I think. Like I said, woefully inexperienced here. :?
:shock:
Bookmarking those. Charm might particularly come in handy as I have a WordPress.com blog myself. Thanks. :D
Most likely to get lost before even reaching that first roundabout. :|

Cloudcentric
Posts: 982
Joined: Fri Sep 14, 2012 9:13 am

Re: CLI recommendations

Mon Dec 31, 2012 2:23 pm

Do you find Arch responsive in Command Line Mode ?
I know everything about nothing"

sdjf
Posts: 1395
Joined: Fri Mar 16, 2012 5:20 am
Location: California
Contact: Website

Re: CLI recommendations

Mon Dec 31, 2012 3:17 pm

I use sed all the time to do all sorts of stuff.

Get a copy of Eric Pemente's Sed One-Liners for quick list of examples. Best way to start is with simple stuff. There also is a mailing list at yahoo groups for sed help, probably also freenode chat channels too. That sed one-liners is a free file on the web, not a book.
FORUM TIP: To view someone's posting history, sign in, click on their user name, then on "Search User's Posts." || Running ArchLinuxArm on Model 2B and 512MB Model B

RichieStacker
Posts: 5
Joined: Sun Dec 30, 2012 7:09 pm
Location: Earth
Contact: Website

Re: CLI recommendations

Mon Dec 31, 2012 8:08 pm

Cloudcentric wrote:Do you find Arch responsive in Command Line Mode ?
Seems like it is. :)
One slight issue I've noticed, though, is that a few boot messages tend to crop up over the login prompt. :shock: It's not a problem, though, as I can still log in normally.
sdjf wrote:I use sed all the time to do all sorts of stuff.

Get a copy of Eric Pemente's Sed One-Liners for quick list of examples. Best way to start is with simple stuff. There also is a mailing list at yahoo groups for sed help, probably also freenode chat channels too. That sed one-liners is a free file on the web, not a book.
I'll have a looksee at it some time, thanks. :)
Most likely to get lost before even reaching that first roundabout. :|

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6228
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: CLI recommendations

Mon Dec 31, 2012 8:25 pm

kmandla's blog is especially worth a closer look if you're interested in being productive X-less. He has abandoned it, but it still has a lot of great information on it. It certainly has served me well at least.

User avatar
joan
Posts: 14887
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: CLI recommendations

Mon Dec 31, 2012 8:31 pm

The command line program I use most often is awk. If I was Amy Farrah Fowler (Big Bang) I'd say awk defecates sed. :D

JustThisGuy
Posts: 114
Joined: Thu Jan 05, 2012 11:22 pm

Re: CLI recommendations

Tue Jan 01, 2013 1:28 am

For moving stuff amongst my close knit home net and beyond I tend to use scp. The OpenSSH suite has been very usefull to me.

I've been successful in setting up four of my email accounts in mutt. It seems a bit confusing but does work, although I haven't been successful in bringing up all four (or even two) email accounts under the same login. So I just cheat and login to 4 of my virtual consoles.

For videos I'm using omxplayer, a separated out bit of XBMC I believe, and fully gpu accelerated.
Any conversation about a sufficiently complex subject is indistinguishable from babble.

Voltron43
Posts: 1
Joined: Thu Mar 14, 2013 7:55 pm

Re: CLI recommendations

Thu Apr 04, 2013 7:59 pm

A nice introduction to the command line is writing your own bash script. A good one to start out with is manually checking for an updated file online by comparing the local and online MD5 hashes. After the bash script is complete, you can muck around with scheduling the script to run using cron, or adding it to your updating command through your .bash_aliases file.

RichieStacker
Posts: 5
Joined: Sun Dec 30, 2012 7:09 pm
Location: Earth
Contact: Website

Re: CLI recommendations

Fri Apr 05, 2013 1:24 pm

Voltron43 wrote:A nice introduction to the command line is writing your own bash script. A good one to start out with is manually checking for an updated file online by comparing the local and online MD5 hashes. After the bash script is complete, you can muck around with scheduling the script to run using cron, or adding it to your updating command through your .bash_aliases file.
This sounds like it might actually come in handy. :shock:
Most likely to get lost before even reaching that first roundabout. :|

morlock
Posts: 1
Joined: Sun Apr 28, 2013 6:45 pm

Re: CLI recommendations

Sun Apr 28, 2013 6:51 pm

If you spent time learning Vim, then you may want to try cmus, a terminal music player. I use it exclusively now. Go away, bloated GUIs, all I need is to be able to browse my music folders architecture and select what I want to put in playlists, queues, and listen to my music :)

Have you ever played any roguelikes? If not, I would recommend trying crawl (in the terminal of course). Since you know Vim, once again this will be made easier.

In fact, vi and Vim have been very influential over the years in terms of UI design for programs that run in the terminal. Bash shortcuts, on the other hand, are more akin to what you will use if you learn some emacs.

Have fun!

Chinasaur
Posts: 116
Joined: Tue Sep 11, 2012 10:15 pm

Re: CLI recommendations

Wed May 08, 2013 4:44 am

If you are logging in and out a lot, GNU screen or tmux, etc are worth learning. Assuming you are on bash, bash_completion is probably worth installing, and you can play with writing your own completions for less standard commands that don't have them; probably something like yt might be a candidate?

Return to “General discussion”