Topic: learning the command line...

I found a good tutorial for the command line interface at [http://en.flossmanuals.net/gnulinux].

I've learned a lot, but there's still more to learn. For example [sudo apt-get autoclean] is something I do after updating the system, and it goes and does it's thing, but I don't know if I need to run it or not. Same with [fsck], where and when  do you run this,  or will the system run it when it needs it without your input?

Death and I have a working relationship.
Anyone touches my coffee I send him some business.  Sector11

My attempt at a blog; http://jims2011.blogspot.com/

Re: learning the command line...

I'm not sure you do need to run autoclean afterwords since the update itself *should* trigger the package list refreshing, but I'm not totally positive. Don't think it hurts anything though.

You normally don't need to run fsck unless there is a problem. After a certain amount of reboots as a self-check (or if something looks "dirty") it should run anyway at the next reboot anyway.

Re: learning the command line...

fsck just makes sure your harddrive is in good order (or the file system on it rather). Once every 30 boots is the default for ubuntu i think, and it is good to do it every so often. Once a month i guess would be a good idea. It kinda depends on your setup. autoclean shouldn't be necessary in most cases, unless something goes wrong with the update.

just call me...
~FSM~

Re: learning the command line...

http://tuxtraining.com/wp-content/uploa … 8383-1.png

Always a handy wallpaper to have, I have one of my two monitors set to this smile

Intel E8500 @ 3.2GHz, 4GB DDR2 RAM, 500 GB + 250 GB External, Nvidia GeForce 9800GT
Running a dual-boot of Windows 7 and #! 9.04

"It is by doing whatever that you become whoever" - Remi Gaillard

Re: learning the command line...

Reso wrote:

http://tuxtraining.com/wp-content/uploa … 8383-1.png

Always a handy wallpaper to have, I have one of my two monitors set to this smile

Some time ago I made #! style mods of this wallpaper that allow you to see the default conky better smile

Edit: The removal of my DeviantArt account sometime ago resulted in much of my artwork disappearing from posts on these forums. This was a poorly thought through decision at the time and for that I apologise to everyone.

I have salvaged much of it and placed it an archive here. When I get time I'll upload it somewhere a bit more visual like another  deviant art account dedicated to the purpose. For now I hope the archive will help members things.

http://crunchbanglinux.org/forums/topic … g-artwork/

A Creative Commoner | My images at Google+ | A Waldorf Review

Silence is sometimes the best answer - Dalai Lama.

Re: learning the command line...

omns wrote:
Reso wrote:

http://tuxtraining.com/wp-content/uploa … 8383-1.png

Always a handy wallpaper to have, I have one of my two monitors set to this smile

Some time ago I made #! style mods of this wallpaper that allow you to see the default conky better smile

http://fc05.deviantart.net/fs40/f/2009/ … y_omns.png
and
http://fc06.deviantart.net/fs40/f/2009/ … y_omns.png

Aww yeah, much thanks Omns

Intel E8500 @ 3.2GHz, 4GB DDR2 RAM, 500 GB + 250 GB External, Nvidia GeForce 9800GT
Running a dual-boot of Windows 7 and #! 9.04

"It is by doing whatever that you become whoever" - Remi Gaillard

Re: learning the command line...

A nice live training cd is " Is not X" inx v1.1
http://inx.maincontent.net/announce-inx.html

INX is a "Live CD" distribution of GNU/Linux, derived from Ubuntu 8.04.1 LTS, but using "ubuntu-minimal" and "ubuntu-standard" as a base. It is console only, without any graphical "X" programs.

INX is intended as a "tutorial" and introduction to the Bash command line, but is a fully capable, portable GNU/Linux system in its own right. It has a collection of easy-to-use menus, colour themes, easy configuration tools, music (and video on the frame buffer), some games, and several surprises for those who are not aware of what can be done in a console/tty.

INX is fun, and not intimidating for console beginners.

INX 1.0 also includes new features; you can now set up wireless with the "Ceni" tool from the INX "Net & Web" menu. You can use your mouse with programs like xlinks2, elinks, mc, and the jed text editor. In addition to the powerful GNU Screen program, INX now sports the "Dvtm" Dynamic Virtual Terminal Manager, a "tiled terminal manager.

http://inx.maincontent.net/album/vga/vga_1.png

GNu/Linux: Nu nog schoner: http://linuxnogschoner.blogspot.com/  Dutch

Re: learning the command line...

Reso wrote:

http://tuxtraining.com/wp-content/uploa … 8383-1.png

Always a handy wallpaper to have, I have one of my two monitors set to this smile

wish i had that when i was first introduced to linux lol would've saved time and headaches

$sudo apt-get install common-sense

Re: learning the command line...

pablokal wrote:

A nice live training cd is " Is not X" inx v1.1
http://inx.maincontent.net/announce-inx.html

InX looked fun, but when I tried it I couldn't find a way to get it to recognise my Japanese keyboard, so couldn't input certain necessary characters... sad

John
------------------------
( a boring Japan blog , and idle twitterings )
“Good morning sir, which way up would you like your reality today?”  "As it comes, Jeeves, as it comes..."

Re: learning the command line...

Thx for this great tip!

Re: learning the command line...

One of the most useful commands that I've found (mostly because the openbox GUI doesn't seem to have it)

[sudo pm-suspend]

Puts the machine to sleep. I haven't had to power down in weeks! Love it!!!

Death and I have a working relationship.
Anyone touches my coffee I send him some business.  Sector11

My attempt at a blog; http://jims2011.blogspot.com/

Re: learning the command line...

merelyjim wrote:

I dreamt once that I typed [tar -cvf everything.tar  //universe/*] into twitter, and backed-up EVERYTHING!

I once dreamed, that I downloaded the entire internet.  lol

Registered Linux User: #497030
LinuxMint Forum | DeviantART page | Lost-in-the-Box Forum  |  Ask.Debian
#!Crunchbang 'Statler' (Openbox) -- LinuxMint-Debian-Fluxbox Edition

Re: learning the command line...

Okay, this confirms it. We're Geeks. We're actually joking about command-line back-up methodology...

Death and I have a working relationship.
Anyone touches my coffee I send him some business.  Sector11

My attempt at a blog; http://jims2011.blogspot.com/

Re: learning the command line...

merelyjim wrote:

Okay, this confirms it. We're Geeks. We're actually joking about command-line back-up methodology...

Let the Geek in you come out of the closet, and you will be free!

#!, all else is but a shadow!

Re: learning the command line...

I'm ok with being a geek.  I got in touch with my inner computer nerd at school (ITT Tech).;)

The first Linux that I committed to use and learn was Xubuntu.  Thus my love for XFCE (thanks for including it in #! 10).  I found that I could use the computer, but to use the system, I needed the terminal.  The Ubuntu forums are a great resource for terminal assistance.

"Love should not fear or be feared."  --Josh Senic

Ubuntu 11.10 64-bit, switching back to #! 64-bit very soon
HP Probook Laptop, i3 (first gen), 8GB RAM

Re: learning the command line...

"autoclean" is the tool you use when "/var/cache/apt/archives" eats too much space, when it's full of obsolete packages you won't need anymore.

But seriously, it's "have a problem and find a solution" and not "have a solution and find a problem" big_smile
Just make sure you keep it in the back seat of your mind, so when you'll need it, you'll have it.

I'm so meta, even this acronym

Re: learning the command line...

Awebb wrote:

"autoclean" is the tool you use when "/var/cache/apt/archives" eats too much space, when it's full of obsolete packages you won't need anymore.

But seriously, it's "have a problem and find a solution" and not "have a solution and find a problem" big_smile
Just make sure you keep it in the back seat of your mind, so when you'll need it, you'll have it.


Cool. Thanks for the tip.

I kind of worry, though, on a lot of the CLI commands, that if I don't use it often enough, I'll forget it. *sigh* Won't someone please invent a chip that I shove into my head that'll make perfect memory back-up for later recall?!?

Death and I have a working relationship.
Anyone touches my coffee I send him some business.  Sector11

My attempt at a blog; http://jims2011.blogspot.com/

Re: learning the command line...

You also can try to think a little while solving problems. Scenario:

Your root partition is nearly full. You use your favorite tool to find the the responsible folder (baobab, gt5, treesize...). It'll show you that "/var/cache/apt/archives" is a really big folder with a huge ammount of data, growing every time you update your system or install applications. Delete it? No, it's not in your ~, so don't go nuts on it. Have a look at the path... it says "cache", so we might not really need it. It says "apt", you know apt? You use it all the time via "apt-get". What do we know about apt-get? Everything! We have the powerfull "man" command. So... "man apt-get" and voila... the command is in there.

If you want to learn how to handle the terminal, learn to think in structures of "problem -> tool -> solution" instead of "if $PROBLEM exists use $SCRIPT to solve it, without understanding what happens".

I'm so meta, even this acronym