LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-31-2014, 08:58 AM   #16
Habitual
LQ Addict
 
Registered: Jan 2011
Location: Youngstown, Ohio
Distribution: LM17.1/Xfce4.11.8
Posts: 7,166
Blog Entries: 10

Rep: Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979

su : substitute user, switch user, or superuser, they all have the same power...

Start a blog, or keep a notebook of your journey through getting familiar with Linux commands.
toodledo.com is free and supports multiple notebooks. No spam on signup.

I also use zim, or zim-wiki for my personal note-taking.
I keep ubiquitous notes on everything.
QuickFox notes, zim-wiki, my DorkBlog

The new stuff keeps pushing out the old stuff, so I have to keep notes.

Use it or lose it.

Various Linux Guides I have collected.

Don't fret however, I've been at this for 20 years+ now, and I couldn't awk my way out of a paper bag.
 
Old 03-31-2014, 09:04 AM   #17
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Debian Sid. Arch. In the process of converting to and learning FreeBSD
Posts: 1,023
Blog Entries: 6

Rep: Reputation: 237Reputation: 237Reputation: 237
Quote:
Originally Posted by mddesai View Post
ROFL!!! This came as surprise... never knew that command existed... wtf!! Its not available in Redhat, but enjoying in Arch. Man i love linux... Microsoft is not this humorous. Thanks.
Not in Debian either

Code:
anthony@serenity: ~ $ wtf man
bash: wtf: command not found
 
Old 03-31-2014, 09:21 AM   #18
mddnix
Member
 
Registered: Mar 2013
Location: Bangalore, India
Distribution: Redhat, Arch, Ubuntu
Posts: 508

Rep: Reputation: 139Reputation: 139
Quote:
Originally Posted by goumba View Post
Not in Debian either
http://pkgs.org/search/?query=wtf&type=smart
 
Old 03-31-2014, 10:00 AM   #19
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
It's included in Slackware by default:
Code:
bash-4.2$ wtf man
man: man []               (1)  - format and display the on-line manual pages
man []               (7)  - macros to format man pages
man []               (7)  - pages - conventions for writing Linux man pages
bash-4.2$ wtf wtf
WTF: {what,where,who,why} the fuck
bash-4.2$
 
Old 03-31-2014, 10:57 AM   #20
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Debian Sid. Arch. In the process of converting to and learning FreeBSD
Posts: 1,023
Blog Entries: 6

Rep: Reputation: 237Reputation: 237Reputation: 237
Quote:
Originally Posted by mddesai View Post
Yup there it is. I had used apt-cache and it wasn't there. From that site it's in everything but jessie (what I use) and squeeze.
 
Old 03-31-2014, 01:24 PM   #21
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US, Earth, end border$! ◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest, has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,101
Blog Entries: 2

Rep: Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840
Quote:
Originally Posted by goumba View Post
Not in Debian either

Code:
anthony@serenity: ~ $ wtf man
bash: wtf: command not found
I'm with Debian (Jessie:)
Code:
wtf
usage: wtf [-f dbfile] [-t type] [is] <acronym>
+1 for running lots of commands, setup VirtualBox or something and get out what you put in...
http://www.linuxquestions.org/questi...4/#post5049376
 
Old 04-01-2014, 08:39 AM   #22
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Debian Sid. Arch. In the process of converting to and learning FreeBSD
Posts: 1,023
Blog Entries: 6

Rep: Reputation: 237Reputation: 237Reputation: 237
Quote:
Originally Posted by jamison20000e View Post
I'm with Debian (Jessie:)
Interesting... not that this is a critical app, but now I'm curious why I don't have, it's not in my cache (just updated, main contrib and non-free).

Code:
~ $ apt-cache search wtf
bsdgames - collection of classic textual unix games
python-flaskext.wtf - Simple integration of Flask and WTForms
libwt-dev - C++ library and application server for web applications [development]
libwt35 - C++ library and application server for web applications [runtime]
libwtfcgi-dev - FastCGI connector library for Wt [development]
libwtfcgi35 - FastCGI connector library for Wt [runtime]
python-wtforms - flexible forms validation and rendering library for Python
Like wtf, man?
 
Old 04-01-2014, 08:55 AM   #23
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,604

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
Quote:
Originally Posted by mddesai View Post
ROFL!!! This came as surprise... never knew that command existed... wtf!! Its not available in Redhat, but enjoying in Arch. Man i love linux... Microsoft is not this humorous. Thanks.
It isn't always complete...

Code:
$ wtf cd
CD: compact disc
cache disable
$
And it missed "change directory".

Though it was trivial to add (edit /usr/share/misc/acronyms.comp and put it in the alphabetical list - the key is in upper case, tab, one line definition).
 
Old 04-01-2014, 09:16 AM   #24
Smokey_justme
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 534

Rep: Reputation: 203Reputation: 203Reputation: 203
That's because wtf translates acronyms. If it doesn't find acronyms then it searches the man-pages (btw, you can run it as wtf is to be more "human-like")

You can use whatis to get your desired output.

Isn't the CLI wonderful sometimes.. !?

Last edited by Smokey_justme; 04-01-2014 at 09:49 AM.
 
Old 04-01-2014, 12:14 PM   #25
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
Quote:
Originally Posted by Smokey_justme View Post
You can use whatis to get your desired output.
Yeah, think you might have to run (as root):
Code:
updatedb
first, then:
Code:
makewhatis
Quote:
Originally Posted by Smokey_justme View Post
Isn't the CLI wonderful sometimes.. !?
Can't understand why so many people seem scared of it, or want to avoid it.
 
Old 04-01-2014, 12:23 PM   #26
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US, Earth, end border$! ◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest, has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,101
Blog Entries: 2

Rep: Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840
My source.list
Code:
deb http://http.us.debian.org/debian/ jessie contrib non-free main
 
Old 04-02-2014, 08:54 AM   #27
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Debian Sid. Arch. In the process of converting to and learning FreeBSD
Posts: 1,023
Blog Entries: 6

Rep: Reputation: 237Reputation: 237Reputation: 237
Quote:
Originally Posted by jamison20000e View Post
My source.list
Code:
deb http://http.us.debian.org/debian/ jessie contrib non-free main
That's mine as well. Meh, it's not critical, just of curiosity why I'd get different results. Thanks.
 
Old 04-02-2014, 10:12 AM   #28
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US, Earth, end border$! ◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest, has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,101
Blog Entries: 2

Rep: Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840
I have installed a lot of stuff like every game (mostly with Synaptic\APT...)
Code:
ls -1 /usr/games | wc -l
1184

Last edited by jamison20000e; 04-02-2014 at 10:19 AM.
 
Old 04-02-2014, 11:03 AM   #29
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
From the wtf man page:
Quote:
wtf first appeared in NetBSD 1.5.
This version of wtf was created on Slackware Linux 9.0.0
 
Old 04-02-2014, 04:43 PM   #30
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 810

Rep: Reputation: 264Reputation: 264Reputation: 264
Quote:
Originally Posted by NotionCommotion View Post
Please don't bash me for this question.
Please, tell me that you knew that you were punning when you wrote this.


As for the question, for me I had to look up even the most basic of commands (how to rename a directory??? ). If you use them enough, you just remember them. At least, I do.

Last edited by maples; 04-02-2014 at 04:44 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How do you remember the commands used in Linux From Scratch? TheIndependentAquarius Linux From Scratch 5 04-21-2012 12:35 PM
LXer: 15 Ways Nokia’s N900 Is Better Than Apple’s iPhone (and 5 ways it’s not) LXer Syndicated Linux News 0 11-14-2009 09:20 AM
Cant remember my commands for linux! dracable Linux - Newbie 4 11-19-2006 08:10 AM
I cant remember all these Linux commands!! BajaNick General 7 04-05-2004 05:29 PM


All times are GMT -5. The time now is 09:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration