PDA

View Full Version : Cool things that can be done from terminal?



wie6Ein0
May 26th, 2007, 09:35 AM
I was just wondering... What are all the neat things that can be done from the terminal.

I've already figured out the following: wget, whois, time, uptime, date, etc.

Darkriser
May 26th, 2007, 09:48 AM
Try starting here (http://www.linuxcommand.org) and once done, continue here (http://www.google.com/search?hl=en&q=linux+command&btnG=Google+Search) ;)

Marcel

Spr0k3t
May 26th, 2007, 10:17 AM
sudo apt-get moo

bobbocanfly
May 26th, 2007, 10:27 AM
That is just too much fun in Ctl+Alt+F1

xyz
May 26th, 2007, 10:32 AM
Just a couple of concrete things I've learnt from members here:

dmesg > ${HOME}/Desktop/dmesg.txt

sudo /etc/init.d/networking restart

shred -fuzv 03FC4DE2d01 42FFC800d01 _CACHE_001_ _CACHE_002_ _CACHE_003_ _CACHE_MAP_

sudo aptitude update && sudo aptitude upgrade

sudo aptitude clean
sudo aptitude autoclean

sudo gedit /etc/popularity-contest.conf

gksudo gedit /etc/apt/sources.list

sudo touch forcefsck

kevinlyfellow
May 26th, 2007, 11:14 AM
vi
lynx
bash wildcards
aplay
bash scripting
http://www.terminally-incoherent.com/blog/2007/05/21/a-day-without-x/
tracepath
echo "hello world" >> ~/README
alias back='cd $OLDPWD' ; cd /usr/share/icons ; back
vim ~/.bashrc
lpr -o page-set=odd -o outputorder=reverse filetoprint.ps
lpr -o page-set=even filetoprint.ps

edit: more
sudo apt-get install bb; bb
telnet towel.blinkenlights.nl

jarvis13
May 26th, 2007, 12:28 PM
Lynx!

moma
May 26th, 2007, 12:29 PM
$ banner moo


##################
############################
################################
####################################
########################################
############################################
##############################################
############# #############
######### #########
####### #######
###### ######
##### #####
##### #####
#### ####
#### ####
#### ####
#### ####
##### #####
##### #####
##### #####
###### ######
####### #######
######### #########
############# #############
##############################################
############################################
########################################
####################################
################################
############################
##################

Bachstelze
May 26th, 2007, 12:33 PM
fortune ftw !

B0rsuk
May 26th, 2007, 12:34 PM
sudo apt-get install tree aview

tree
asciiview picture.jpg
telnet crawl.akrasiac.org

3rdalbum
May 26th, 2007, 12:46 PM
The "at" and "batch" commands are great - being able to schedule a task to run only when the system is at under 80% load is really cool.

cody50
May 26th, 2007, 01:33 PM
well, you can change the background of it to your favorite color or picture by going to Edit-> current profile (gnome terminal). thats sorta cool. Especially if you have a nice black and white picture of Maria Sharapova.

happy-and-lost
May 26th, 2007, 03:03 PM
jo@mithos:~$ cowsay -f sodomized -e 00 Moo?
______
< Moo? >
------
\ _
\ (_)
\ ^__^ / \
\ (00)\_____/_\ \
(__)\ ) /
||----w ((
|| ||>>

meng
May 26th, 2007, 03:06 PM
Um, okay...

I like batch converting/renaming files in shell! That's pretty darn cool.
ImageMagick is your friend.

v8YKxgHe
May 26th, 2007, 03:26 PM
jo@mithos:~$ cowsay -f sodomized -e 00 Moo?
______
< Moo? >
------
\ _
\ (_)
\ ^__^ / \
\ (00)\_____/_\ \
(__)\ ) /
||----w ((
|| ||>>


ahahahah :D:lolflag::lolflag:

icechen1
May 26th, 2007, 03:43 PM
aptitude moo
There are no Easter Eggs in this program.
aptitude -v moo
There really are no Easter Eggs in this program.
aptitude -vv moo
Didn't I already tell you that there are no Easter Eggs in this program?
aptitude -vvv moo
Stop it!
aptitude -vvvv moo
Okay, okay, if I give you an Easter Egg, will you go away?
aptitude -vvvvv moo
All right, you win.
/----\
-------/ \
/ \
/ |
-----------------/ --------\
----------------------------------------------

Happy?
aptitude -vvvvvv moo
What is it? It's an elephant being eaten by a snake, of course.

rolando2424
May 26th, 2007, 04:09 PM
--> sudo apt-get install ncmpc
--> ncmpc

And voilá, music player in the console :D

--> sudo apt-get install centericq
--> centericq

Instant messaging in the console

--> sudo apt-get install weechat-curses
--> weechat-curses

Irc in the command line (You can also use irssi)

--> telnet towel.blinkenlights.nl

Star Wars 4 in the terminal :D

And I can't remember anymore programs...

kevinlyfellow
May 26th, 2007, 08:30 PM
Learn cron and anacron

Master the program grep

bsd games! sudo apt-get install bsdgames

nalmeth
May 26th, 2007, 08:56 PM
mplayer -vo caca video.ogg

Watch videos in color Ascii Vision.


And pretty much everything else you can do from the terminal:
Browse web, ftp, ssh, file management, package management, text editing, ...

EDIT: I hope mods keep a close eye on this one, something nasty could slip in ;)

chili555
May 26th, 2007, 09:18 PM
ssh -l Sylvia@192.168.1.118
vim beer.txt
Sylvia, you know I love you, but I'll love you even more if you bring me a cold beer and some chips, oh, and salsa, too. Thanks, hon!
text2wave beer.txt beer.wav
aplay beer.wav

Assuming your Sylvia has her speakers turned up, a cold beer may appear in front of you. Try getting a cold beer from Vista!

tehkain
May 26th, 2007, 09:18 PM
the 'sl' train.

kevinlyfellow
May 27th, 2007, 12:07 AM
ssh -l Sylvia@192.168.1.118
vim beer.txt
Sylvia, you know I love you, but I'll love you even more if you bring me a cold beer and some chips, oh, and salsa, too. Thanks, hon!
text2wave beer.txt beer.wav
aplay beer.wav

Assuming your Sylvia has her speakers turned up, a cold beer may appear in front of you. Try getting a cold beer from Vista!

Instead of opening vim you could just

echo "Sylvia, you know I love you, but I'll love you even more if you bring me a cold beer and some chips, oh, and salsa, too. Thanks, hon!" > beer.txt

Tundro Walker
May 27th, 2007, 12:11 AM
sudo apt-get abs-guide

Advanced Bash-Scripting Guide

icechen1
May 27th, 2007, 04:10 AM
Here is an other:

telnet towel.blinkenlights.nl
and press 2 time [enter] enjoy the ASCII movie! :popcorn:

hakimaki
May 28th, 2007, 03:49 PM
amazing... lol

PatrickMay16
May 28th, 2007, 04:09 PM
Just a couple of concrete things I've learnt from members here:

dmesg > ${HOME}/Desktop/dmesg.txt

Just to let you know, that's a bit overdone. This does the same but with less stuf to type:

dmesg > ~/Desktop/dmesg.txt

Just so any newbies know, the > causes the output of a program to be written to a file, so as you see there the output of dmesg will become dmesg.txt. And >> appends the output of a program to an existing file.
I don't actually know this very well, so I've probably made some mistake or said something wrong. Hopefully I'll be corrected if that is the case.

Somenoob
May 28th, 2007, 06:07 PM
Putting "&" at the end for background jobs/tasks, so you can continue using your shell if you launch any GUI app from it.

energiya
May 28th, 2007, 07:20 PM
I was just wondering... What are all the neat things that can be done from the terminal.

I've already figured out the following: wget, whois, time, uptime, date, etc.

Well, you can do just about anything: watching movies, listening to music, programming with syntax highlight, read/write mail, surf the internet, chat or use IM, control any little thing that happens in you PC, and, well, the list goes on. I actualy boot to init 3 and only start X when I have to open a lot of windows at the same time.

darklemming54
May 28th, 2007, 09:10 PM
telnet towel.blinkenlights.nl