LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (https://www.linuxquestions.org/questions/general-10/)
-   -   What's Your 20 Most Used Commands As normal user and root? (https://www.linuxquestions.org/questions/general-10/whats-your-20-most-used-commands-as-normal-user-and-root-4175579957/)

maples 05-17-2016 08:58 AM

Quote:

Originally Posted by wells (Post 5546729)
oooh... You know that i use emacs rather than vi... Big whoop.

Burn the heathen!!!!!

:D

jamison20000e 05-17-2016 09:08 AM

Even "sensitive" commands show nada... ;)

Wells 05-17-2016 09:21 AM

Quote:

Originally Posted by maples (Post 5546730)
Burn the heathen!!!!!

:D

Well... given that, we are all heathens, for there is only one true editor....

“Ed is the standard text editor.”

Ed, the greatest WYGIWYG editor of all.

ED IS THE TRUE PATH TO NIRVANA! ED HAS BEEN THE CHOICE OF EDUCATED AND IGNORANT ALIKE FOR CENTURIES! ED WILL NOT CORRUPT YOUR PRECIOUS BODILY FLUIDS!! ED IS THE STANDARD TEXT EDITOR! ED MAKES THE SUN SHINE AND THE BIRDS SING AND THE GRASS GREEN!!

When I use an editor, I don't want eight extra KILOBYTES of worthless help screens and cursor positioning code! I just want an EDitor!! Not a “viitor”. Not a “emacsitor”. Those aren't even WORDS!!!! ED! ED! ED IS THE STANDARD!!!

TEXT EDITOR.

When IBM, in its ever-present omnipotence, needed to base their “edlin” on a Unix standard, did they mimic vi? No. Emacs? Surely you jest. They chose the most karmic editor of all. The standard.

Ed is for those who can remember what they are working on. If you are an idiot, you should use Emacs. If you are an Emacs, you should not be vi. If you use ED, you are on THE PATH TO REDEMPTION. THE SO-CALLED “VISUAL” EDITORS HAVE BEEN PLACED HERE BY ED TO TEMPT THE FAITHLESS. DO NOT GIVE IN!!! THE MIGHTY ED HAS SPOKEN!!!

jamison20000e 05-17-2016 09:36 AM

vi
i
Code:

oh lord
[Shift]:q!

DavidMcCann 05-17-2016 11:09 AM

Normal use
Code:

1        235  23.5%  man
    2        105  10.5%  cd
    3        79  7.9%  ls
    4        67  6.7%  ping
    5        60  6%    rpm
    6        50  5%    apropos
    7        47  4.7%  pdftk
    8        38  3.8%  whereis
    9        35  3.5%  wget
    10        20  2%    cat
    11        19  1.9%  su
    12        14  1.4%  pdftotext
    13        12  1.2%  unrar
    14        12  1.2%  md5sum
    15        9    0.9%  ifconfig
    16        8    0.8%  setserial
    17        7    0.7%  free
    18        7    0.7%  echo
    19        6    0.6%  openssl
    20        6    0.6%  lshal

and as root
Code:

    1        210  30.9278%  setenforce
    2        64  9.42563%  cp
    3        45  6.62739%  yum
    4        42  6.18557%  ifup
    5        36  5.30191%  ifdown
    6        31  4.56554%  ls
    7        29  4.27099%  cd
    8        24  3.53461%  man
    9        22  3.24006%  nano
    10        18  2.65096%  rm
    11        17  2.50368%  rpm
    12        16  2.35641%  ping
    13        16  2.35641%  ifconfig
    14        14  2.06186%  nautilus
    15        9    1.32548%  system-config-network
    16        6    0.883652%  setserial
    17        5    0.736377%  gedit
    18        4    0.589102%  whereis
    19        4    0.589102%  tune2fs
    20        4    0.589102%  system-config-services

I'm not sure how much this tells you. The low usage of "su" is because I use a keyboard shortcut for a terminal with root privilege. The high usage of "setenforce" is because I can't print without turning off SEL. "man" and "apropos" are mostly when checking something before posting here.

frankbell 05-17-2016 01:49 PM

OP, thanks for giving me an opportunity to start learning about the sort command.

This is from my desktop.

As user:

Code:

    ls
    cd
    vim
    su
    cat
    pwd
    mutt
    grep
    rm
    man
    locate
    apropos
    tar
    ps
    mv
    less
    whoami
    whereis
    podget
    ping

As root:

Code:

    ls
    cd
    pwd
    rm
    cat
    reboot
    apropos
    pkgtool
    df
    chown
    man
    grep
    slackpkg
    dmesg
    updatedb
    whoami
    whereis
    vim
    locate
    du


patrick295767 05-21-2016 12:03 AM

1 Attachment(s)
Quote:

"You really like doing things the hard way don't you? Get to your Terminal!"
cnc:
I use CNC which is today by far the most advanced terminal file manager. You can trust it, you can rely on it, it coded in C, you can use it as root for most tasks.

wim+:
a new generation of vim-like editor featuring windows (frames), such as turbo vision. As well coded in C.

vim:
time to time for configs and, mostly for editing TeX documents ; it has a fantastic spell.


For more funs, please visit our website: http://suckless.org/


/*
Re-learn coding: http://suckless.org/sucks/
Re-learn C and finally drop C#, python,... !!
*/


All times are GMT -5. The time now is 06:00 AM.