[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Your most frequently used commands

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 249
Thread images: 32

File: images (1).jpg (3KB, 200x200px) Image search: [Google]
images (1).jpg
3KB, 200x200px
history | awk '{print $2}' | sort | uniq -c | sort -rn | head -10
>>
>>56868324
uninstall linux.exe
>>
>>56868324
6373 git
860 z
374 ./sbt
265 awsin
189 ssh
143 vim
135 ls
134 npm
122 rm
103 cd
>>
ls and cd pretty much
>>
File: Untitled.png (22KB, 675x424px) Image search: [Google]
Untitled.png
22KB, 675x424px
>>
>>56868351
wat? yum, dir, etc?

whats that?
>>
'history' is not recognized as an internal or external command,
operable program or batch file.
>>
>>56868358
not him
dir is a alternative for ls
yum is the apt(-get) for fedora
>>
>>56868358
btfo ubuntu cuck
>>
>>56868366
>xDddddd lol im so funnay
>>>/v/
>>
>>56868324
ls -lah
cd ..
cd..
cd..: command not found
ls -lah
cd.
cd.: command not found
ls -lah
cd ..
ls -lah
cd .
ls -lah
cd ..
sl -lah
sl: command not found
ls -lah
cd /
cd /every/where/else/I/intended/to/go
ls -lah
nano fileToEdit.txt
nano: command not found
vim fileToEdit.txt
vim: command not found
vi fileToEdit.txt
^d
^c
q
ESC
q!
>>
>>56868419
Nice reference ;)
>>
>>56868440
literally not even a reference, i just can't type.
as for the karli kode klub, i don't think think they even know what a terminal is.
>>
vim
gcc
ls
cd
clear
git
mpc
cat
pass
>>
File: gdgfr.png (187KB, 500x375px) Image search: [Google]
gdgfr.png
187KB, 500x375px
>>56868324
>he has to memorize thousands of commands because he doesn't have any good graphical utilities.
>>
>>56868805
>he has to memorize how to spell words because his language is so retarded that it isn't phonetically written
it's just second nature, faggot.
>>
vim, git, ssh
>>
>>56868419
alias cd..="cd .."

;)
>>
reset
>>
nano
ncmpcpp
mpd
>>
File: 1467759685462.jpg (181KB, 1024x967px) Image search: [Google]
1467759685462.jpg
181KB, 1024x967px
>she will never answer OP
>>
>>56869291
Why does she change directories?
>>
nano
clear
cd
ls
pacman
>>
>>56869315
She's trying to reach the root of reality
>>
File: 717.jpg (34KB, 600x539px) Image search: [Google]
717.jpg
34KB, 600x539px
>>56869291
>command not found: cd..
>>
>>56868324
>>
72 sudo
64 dwarffortress
43 vim
43 mpsyt
39 ls
21 cd
18 pacaur
10 ncmpcpp
9 sudoedit
9 cat
>>
>>56869369
what's the diff between primary and tertiary? desktop vs server?
>>
>>56868324
kek
>>
File: 1467759685462.jpg (9KB, 351x76px)
1467759685462.jpg
9KB, 351x76px
>>56869291
Just noticed this
>>
>>56869415
>even she is more employable than you
>>
>>56869415
:scream:
>>
    374 eix
366 sudo
261 vim
166 mpv
160 equery
122 cd
113 uguush
95 feh
88 ls
57 scp
>>
Probably cd, ls, grep, cat, man, nano, git and clear
>>
>>56869415
kek'd
missed that too :~)
>>
>>56868324
    147 cd
93 vim
79 git
77 curl
76 cat
52 grep
43 rm
30 zathura
24 valgrind
21 man
>>
   1 775vpk3qo775vpk3qo775vpk3qo
528 brew
431 cd
245 man
200 ls
196 echo
148 cat
114 open
110 node
79 sudo


whoa, i do use 775vpk3qo775vpk3qo775vpk3qo a lot
>>
File: 2016-10-01-105727_722x386_scrot.png (27KB, 722x386px) Image search: [Google]
2016-10-01-105727_722x386_scrot.png
27KB, 722x386px
>>56868324
Am I normal guys?
>>
>>56869541
>man 3rd most used
have you no shame
>>
>>56869392
yes
>>
File: .png (97KB, 2890x2890px) Image search: [Google]
.png
97KB, 2890x2890px
>>56869553
not everyone knows everything man
>>
>>56869649
man man man
>>
ping, ipconfig.
>>
>>56868351
Why do you use dir?
>>
File: harvey_headshake.gif (528KB, 260x194px) Image search: [Google]
harvey_headshake.gif
528KB, 260x194px
>>56869342
>>
>>56869722
>exactly half of a clap
How did you do this
>>
>>56869755
No clue, I just found it here a while back.
>>
>>56868324
    214 ls
127 cd
90 vim
57 sudo
38 rm
26 pip
25 npm
25 g++
22 touch
21 cat
>>
>>56868324
141 sudo
103 cd
70 vim
53 ls
45 git
19 yaourt
14 alsamixer
13 startx
10 jekyll
9 python
>>
File: hist.png (107KB, 638x211px) Image search: [Google]
hist.png
107KB, 638x211px
muh hate machine
275 ssh
147 sudo
77 exit
69 ls
54 cd
36 scp
30 less
24 rm
19 ip
17 ping
>>
    399 sudo
121 ls
93 clear
51 cd
44 htop
36 ssh
24 nano
17 less
16 temp
15 scp

i'm such a casual
>>
wat

    383 dnf
366
86 search
82 install
80 -r
61 clone
57 npm
49 apt-get
46 \
37 -c

>>
>>56869369
>>56869379
>>56869398
>>56869440
>>56869815
>>56869821
>>56869915
>>56869847


why do you guys use sudo so often ?
>>
# ignore duplicates in bash history
export HISTCONTROL="ignoredups"

# ignore specific commands in bash history
export HISTIGNORE="&:cd:ls:history*:[bf]g:clear*:screen*:exit"

>rekt
>>
>>56869963
Because you have to be root for most system maintenance.
>>
>>56868390
Yum is pretty much for most rpm based distros.
>>
>>56869999
>chekt
>>
>>56870002
>Because you have to be root for most system maintenance.
how often do you do that ? i run a apt-get update/upgrade once in a while, but that's it. once everything i set up i hardly ever need a root
>>
>>56868324
     98 ghci
29 cc
29 ./a.out
27 vim
27 man
26 ls
26 cd
25 sudo
20 rm
19 mount
>>
>>56870106
True, but it's different for different distributions, too. Some require more maintenance, and often sudo is used for some certain applications like GParted or something. You also need it for package installation.
>>
>>56869963
because i don't sit in root all day and i don't have doas installed....
>>
I'll be perfectly honest with my most used commands

ls -l
sudo pacman -S
sudo pacman -Rs
sudo pacman -Syu
ps -ef | grep
cat
cd


I pretty much only use it for basic shit.
>>
>>56870106
even performing an operation like checking iotop needs root, changing things in unowned fresh mounted drives needs root

lots of things need sudo

nmap needs to be run as root
>>
>>56869963
Because su doesnt work idk y
>>
>>56869553
Linux community in the 2000s:
>READ THE MAN NOOB STOP ASKING DUMB QUESTIONS
Linux community in the 2010s:
>HE USES MAN HE DOESN'T EVEN HAVE INTRINSIC KNOWLEDGE OF GNU TOOLS
>>
>>56870313
Linux community in the 2020s (Torvalds Dead):
>HE DOESNT USE *BSD
>>
File: file.png (42KB, 1838x1020px) Image search: [Google]
file.png
42KB, 1838x1020px
>>56869366
that’s valid on wangblows
>>
>>56870308
su means you're choosing the user su root ... rly?
>>
>>56870313
You've been using unix for 10 years and you're still a noob?
>>
>>56870126
>often sudo is used for some certain applications like GParted or something
>You also need it for package

>>56870161
>even performing an operation like checking iotop needs root, changing things in unowned fresh mounted drives needs root

yeah, but those aren't things you do regularly, and doesn't explain things like using sudo 400 times.
i'm really curiouse what people do on their system that constantly requires root.
>>
>>56869291

You forgot pwd. She knows other commands beside cd and ls.
>>
>>56870333
wishful thinking, his hate won't die with him and he won't die before 2030
>>
>>56870373
I said package installation.
>>
I can't tell you that since my history doesn't record duplicates. Fuck off and make a google survey and post it on reddit faggot.
>>
>>56870371
>>56869553

the manpages are a perfect reference for the libc and posix api
>>
>>56870373
you're a moronic person not willing to listen to explanations

i said their are many reasons to use root.

file owned by another user? I don't know their password? at least i can root >>sudo

like seriously, you use a multi user OS and don't understand what not being another user is?
>>
>>56870393
again, thats a thing you usually do once when setting up the system, and after that you just update them.
or do you mean packages outside of your repo ?
>>
>>56870430

Even mkdir needs sudo in places not owned by your user, stop pretending it's an exotic command
>>
>>56870430
I still install new packages now and then.
>>
new to loonix
>>
>>56868324
    109 pacman
52 systemctl
49 sensors
33 nano
24 cd
17 ls
12 reboot
11 pacman-key
11 exit
8 su
>>
>>56870463
control + L = clear
>>
>>56870373
>using linux for 3 years
>sudo * 400
i wonder why
>>
>>56870414
>file owned by another user?
how often does that happen on your box(not at work / whatever) that some user magically owns a file you need
>I don't know their password?
wth are you doing ?
>like seriously, you use a multi user OS and don't understand what not being another user is?
again, how often do you _manually_ run applications as an other user ? you usually set up services / scripts for that stuff.

i'm not saying that there aren't reasons to use sudo, but stuff like having sudo as one of the top 3 most used commands ?
>>
    257 ./main.py
88 git
86 killall
15 sudo
11 ls
7 cd
5 rm
5 fuser
5 dmesg
5 cp


I delete my .bash_history frequently
>>
>>56870333
Given the levels of fictional fantasy in this post, I'm almost certain you meant to type LSD and not BSD. Although, if you were experiencing a trip (as your post number indicates) you may just be, whacked out of your gourd enough to suggest BSD. Really makes you think.....
>>
File: 1475157843978.png (9KB, 480x480px) Image search: [Google]
1475157843978.png
9KB, 480x480px
>>56870484
>>
>>56870525
want to take a port on port like... 4000 5000 or less or whatever? you need root

want to talk to hardware? normally need root

need to change something in /etc? root?

it's not what are we doing, it's apperantly you do nothing

you do know linux can do things other than anime and 4chan right?
>>
>>56870525
Literally everything involving system maintenance or applications that need elevation need sudo.

>sudo pacman -Syu
>sudo parted
>sudo vim /etc/pacman.d/sources.list
>sudo nmap
>sudo useradd
>sudo /etc/init.d/service start

It goes on and on.
>>
>>56870590
thank you

i'm not able to articulate when people ask stupid questions anymore, i need better socialization
>>
>>56870570
>it's not what are we doing, it's apperantly you do nothing
yeah, configured everything once after set up and everything runs perfectly fine. more time for doing my job.
after the initial set up it touch the files in /etc maybe once a year
>>
>>56870463
control +R = exit
>>
>>56870590
You shouldn't run some services as root though

root is essential of course
>>
>>56870371
I don't use Unix. I just observe and make fun of freetards.
>>
>>56870636
Yeah, I know, it was just for the sake of the example.
>>
>>56870623
again... just because you're needs are static and you don't use the flexibility that's there, doesn't make it the only use case for linux, this user >>56870590
was able to put it into better words

the way you use it is alright though, it actually makes the yotld seem like less of a joke

thank you for sharing your static user needs scenario, now be mindful your system, as everyone's is, is unique

sudo halt -p
>>
>>56870636
nmap needs the port control but could also simply grant to the current user... sudo is advisable either way
>>
$
sudo sudo man man
>>
>>56870692
privilege and knowledge infinite, you are now a white male
>>
3131 git
1084 cd
873 ls
520 npm
494 gulp
348 node
245 code
218 typings
216 mkdir
205 atom
>>
>>56868390
yum has been replaced with dnf
>>
>>56870709
uh oh /g/ we got a webdev

be careful or he'll resalt our passwords and we'll need to set up our creds again

jk hi fren
>>
>>56870724

You don't have to tell me web dev is shit friend, I already know. Every codemonkey has his price though.
>>
>>56870748
and the bottom line is the most pertinent one, oh i know

im a different dept so i get to raz you people. i think it's part of the rules or something
>>
gc (git commit)
vim
cd
sudo
rm
mv
ssh
scp
ls
cat
>>
>>56870671
that was exactly the reason why i asked, because i wanted to know what you guys do.
on our shared boxes at work using sudo is common too, but thats different from my workstation where i hardly ever need root after the initial setup.
>>
>>56870815
it's because of reasons and things


why don't you make changes all the time needing sudo? don't you like doing things and making things happen?
>>
>>56868324
  49 sudo
40 ls
39 cd
35 pkg
30 hg
19 nvidia-settings
17 echo
14 zip
14 mpv
13 youtube-dl
[\code]
>>
$ vrms
>>
File: putty_2016-10-01_12-04-10.png (10KB, 661x418px) Image search: [Google]
putty_2016-10-01_12-04-10.png
10KB, 661x418px
am I hacker?
>>
>>56871263
unless primus run opens up clay no you're a memester and a cuckold
>>
>>56871301
no it launches a program on a separate X session that uses my discrete graphics instead of integrated (it's displayed on my main X session though)
>>
>>56871320
ahahahahahahahahahhaahahahahahahahaahahahahahahaha


aaaahhahahahahahahahahahahahaahahahahahahahahahaha
>>
>>56871339
so...not hacker?
>>
>>56871352
no you are not, not yet

doesn't matter you saw their email. time to take their money
>>
 277 sudo
193 clear
98 exit
93 cd
86 update
86 ls
33 uptime
19 nano
15 vnstat
15 htop
>>
>>56871263
>sudo

No, you are a fucking casual.
>>
1 history


I don't use that black and white garbage piece of shit as I ain't a primitive virgin. I've evolved to use advanced GUI environment like Windows and Ubunchu. Now lick my foot lower lifeforms.
>>
>>56871410
What's wrong with sudo?
It provides more granular control over which users can do certain things versus just giving everyone the root password.
>>
>>56871036
>why don't you make changes all the time needing sudo? don't you like doing things and making things happen?
why would i ? everything works as expected. the last time i needed sudo was when i added a new gpu and had to blacklist it in grub which was ~3 weeks ago
>>
>>56871512
you're shitting in your own bed and rolling around in it and you dont care?

no wait, you are a casual user talking about casual user things, proceed
>>
I use a superior shell that doesn't keep command history :^)
>>
>>56871585
>not writing your own shell
I can share mine if you'd like.
>>
>>
>>56870366

~$ su
Password:
su: Authentication failure

dont werk

~$ sudo aptitude update
[sudo] password for user:

werk
>>
>>56871429
>he is managing his server with a GUI
very stupid

>he is using linux as daily use OS
very stupid too
>>
>>56869291
Kode is such cancer.
>>
>>56872090
sudo su
>>
Who's su?
>>
>>56872146
oh, thanks.
>>
>>56868335
>what
>>
>>56868324
ls
ls
ls
ls
clear
ls
clear
ls
cd
ls
clear
ls
>>
>>56872191
clear this
>>
Personally I dont get it why you wouldn't want to be root all the time.
>>
>>56872090
No sane distro gives the root account a password.
>>
   2068 git
941 cd
745 make
577 sudo
531 l
446 ls
362 aptitude
317 vim
300 cat
244 rm
>>
>>56868324
     40 sudo
23 make
20 ping
19 cd
16 exit
7 ls
3 ssh
3 screenfetch
2 unrar
2 git
>>
>>56872668
>exiting carefully
Life is too short for that, use ^D
>>
File: Screenshot_2016-10-01-15-01-10.png (173KB, 1440x2560px) Image search: [Google]
Screenshot_2016-10-01-15-01-10.png
173KB, 1440x2560px
>>
File: 1474553405037.jpg (1MB, 1658x2947px) Image search: [Google]
1474553405037.jpg
1MB, 1658x2947px
>>56868335
>.exe
kek
>>
    173 sudo
108 cd
94 ls
33 vim
25 mpd
24 rm
21 systemctl
21 sdi
20 du
19 mkdir

New computer so I haven't had to do too much in the terminal yet. sdi is an alias for
sudo dnf install
>>
>>56868324
87 cd
86 ssh
79 ls
61 nano
22 sftp
20 htop
16 rm
16 less
12 ifconfig
9 cat
>>
>>56869369
Holy shit I never knew you didn't need the 0s

My entire life I've been typing
ssh [email protected]


fucking kill me now
>>
>>56868338
What's z?
Looks pretty standard but
>npm
We are going to have to have a word with you in the manager's office.
>>
2713 git
1007 grep
656 cd
402 rm
345 cat
314 brew
257 ls
257 gst
255 vim
207 mv
>>
>>56872876
>not adding your servers and associated parameters to the ssh config file
>>
>>56872876
I don't get it
What would you need to type for 10.0.0.150?
>>
>>56868324
   1463 cd
1137 sudo
958 ls
747 vim
516 l
351 apt-cache
334 make
313 git
305 cat
297 rm
>>
>all these sudo faggots ITT

If you're installing and using sudo then you are doing computer very wrong. Log in as root, perform privileged task and then exit root.
>>
>>56868324
>history | awk '{print $2}' | sort | uniq -c | sort -rn | head -10

Your version sucks
Who fucking gives a shit how many times sudo was used? We want to know what command it was used for.

history | sed 's/sudo//g' |awk '{print $2}' | sort | uniq -c | sort -rn | head -10
>>
>>56872927

su -c you fucking mong
>>
>>56872947
$ history | grep sudo | awk '{print $3}' | sort | uniq -c | sort -rn | head -10     
275 aptitude
45 vim
30 apt-get
27 service
21 fbterm
20 dpkg
19 apt
18 shutdown
12 fail2ban-client
11 rm
>>
>>56872913
ssh [email protected]

It worked. I can't believe it.
>>
>>56872970
interesting. thanks.
>>
     97 ls
68 cd
35 mpv
31 sudo
30 ./bin/calibrator
25 v4l2-ctl
19 ssh
18 git
17 ./zmq_json_printer.py
14 python
>>
>>56872993
>
./foo/bar

>not directly
foo/bar

What are you on senpai?
>>
>>56868324
$ history | awk '{print $2}' | sort | uniq -c | sort -rn | head -10
165 ls
110 cd
101 ssh
50 su
45 less
37 tmux
31 vi
26 locate
25 rm
23 dnf
>>
>>56872970
You know, you can edit your /etc/hosts file and add something like
 10.0.0.150         nig.nog       nig

Then you can just ssh user@nig
>>
andrey@Shanghai:~$ history | awk '{print $2}' | sort | uniq -c | sort -rn | head -10
144 sudo
131 cd
118 perl
117 ls
34 telnet
27 screen
27 grep
22 nano
22 mv
18 wget
andrey@Shanghai:~$
>>
>>56869291

How did she even take that photo?
>>
File: vvvvvvvvvvvv.png (23KB, 762x415px) Image search: [Google]
vvvvvvvvvvvv.png
23KB, 762x415px
>Inb4 meme OS
>>
>>56873031
I usually use hostnames
>>
  99 ./push.sh
52 ./test.sh
48 git
39 ./video.sh
38 ffmpeg
28 node
26 identify
22 svn
21 ls
17 ./version.sh
>>
>>56873006
Retard
>>
File: carlos.png (272KB, 560x560px) Image search: [Google]
carlos.png
272KB, 560x560px
>>56873043
She probably asked a man to take it for her
>>
>>
I don't know...
>>
ls
rm
cp
R

I only really use the command line to interact with our fileserver at work
>>
>>56873067
He's not mistaken, directory/command works just as well as ./directory/command. The more you know.
>>
File: untitled.png (3KB, 190x98px) Image search: [Google]
untitled.png
3KB, 190x98px
>>56873067
>not skimping on keystrokes like our forefathers did when baptising ls, mkdir, cd instead of list-segments, make-directory, change-directory
>>
File: 99565373.jpg (52KB, 550x550px) Image search: [Google]
99565373.jpg
52KB, 550x550px
>>56873043
>>
>>56873122
>implying an asian would "code" like like
>>
>>56873143
There are good women programmers and computer scientists that have backgrounds in mathematics, but they're mostly given a bad name by diversity hires
>>
>>56870463
Clear=gay
>>
>>56873169
Those are the people I respect. People who actually have the credentials for their position. Wannabes are scum and you know it.
>>
>>56873085

Nice prompt.
>>
>>56873103
Not only I am not mistaken, I am undoubtedly right. One extra character per command may be understandable. TWO extra characters are unforgivable. Think about all the bauds wasted! Bauds that could have been better used for feeding poor terminals in Southern Molvania!

UNFORGIVABLE
N L
F B
O A
R V
G I
I G
V R
A O
B F
L N
ELBAVIGROFNU
>>
sudo rm -rf /
>>
>>56872913
10.00150, I'm guessing.
>>
File: S61001-125233.jpg (86KB, 1080x1920px) Image search: [Google]
S61001-125233.jpg
86KB, 1080x1920px
>>
ll
>>
>>56873333
>exit
Ctrl+D
>ifconfig
Deprecated, use ip.
>>
    235 ssh
93 sftp
90 assimilate
78 sudo
64 add
59 server
36 locate
29 ffmpeg
27 ls
26 purge


"assimilate" is an alias for updating the system.
"add" is an alias for "zypper install".
"purge" is an alias for "zypper remove".
"server" is an alias for communicating with my IPMI device.
>>
>>56873314
Actually that uses octal. Try 10.150 as in >>56872970.
Protip: ping works the same way.
>>
>>56873363
>"assimilate" is an alias for updating the system.
Does it just run your package manager, or do you have a wrapper for pecl, pear, quicklisp, and the such?
>>
>>56868324
http://10.0.0.1/setup.cgi?todo=debug
adslctl start --snr 6
wl -a wl0 txpwr 80
wl ledbh 3 8
>>
>>56873356
is android, doesn't have ctrl
>>
>>56873363
use alias is a bad habit imo...
>>
File: unnamed.png (245KB, 1440x900px)
unnamed.png
245KB, 1440x900px
>>56873456
Yes, yes it has
>>
>>56873379
Just the package manager, m8. I'm too much of a pleb to even know what you mean by those wrapper stuff.

>>56873488
Ok. Nice blog.
>>
>>56873456
If your keyboard app doesn't have it your terminal emulator probably has a way to map the volume keys to ctrl and fn.
>>
sudo su

Su hits an auth failure, and I can't be fucked to fix it.
>>
File: Screenshot_2016-10-01-15-06-54.png (303KB, 1440x2560px) Image search: [Google]
Screenshot_2016-10-01-15-06-54.png
303KB, 1440x2560px
>>56873456
since when?
>>
>>56873529
>those arrow and paging keys
what app is that?
>>
>>56873528
You should use sudo -i instead.
>>
>>56873515
pear is a package manager for php libraries distributed independently of your distro
quicklisp is similar, for Common Lisp
There are others, like cpan for perl and npm for javascript.

It can be sometimes a bit of a chore to keep on track of all of the software corpora in your box.
>>
>>56873536
>I cannot fucking read
>>
>>56868350
on wednesdays we kode kek
>>
343 for
219 ls
197 privvy
176 mupen64plus
163 diceroll
151 man
143 su
129 cd
116 sensors
90 g++


privvy is a tiny script that logs me into an environment where my commands are not recorded in my history.

diceroll is a c++ program I wrote to 10d20 and shit.
>>
>>56873536
juicessh
>>
>>56873566
Oh it's JuiceSSH. I thought it was an actual terminal emulator.
>>
>>56873566
to be fair, those aren't provided by my keyboard
>>
>>56873580
ssh into your phone :|
>>
>>56873559
Ah, well I've run into npm on my server and I suppose something on emacs.
>>
>>56873529
Microsoft software?.... no thanks
>>
>>56873598
juicessh is made by Microsoft? Had no idea, it's a really good app
>>
>>56872090
You can assign a password to root with sudo passwd.
>>
>>56873255
but it's more explicit. you are directly instructing the terminal to refer to an entry in the working directory instead of leaving it to interpretation by context. that has to save at least a few bauds
>>
>>56873363
You should avoid using aliases as a way to just rename executables. You'll be like a fish out of water when you have to work on a system that's not yours.
>>
>>56873528
>>56873667
>>
is there a way to make "ls" be equivalent to "ls -A" by default?

It frustrates me that I have to add the -A to find hidden config files.
>>
>>56873782
alias ls='ls -A'
>>
this is embarrassing

145 java
119 cd
82 scrapy
59 ls
46 sml
25 git
3 ps
3 history
2 npm
>>
>>56873727
No. Your terminal just relays keypresses to the mainframe, which does all the infering. Bauds are only spent on communicating the terminal with the mainframe.

>>56873782
echo "alias ls='ls -A'" >> .bashrc

Or into the *rc of your choice
>>
>>56868324
I forgot, which one was the one for searching the software name
It was
>cache somnething search or something
>>
If your most common command is sudo, do this instead:
history | awk '{ if ($2 =="sudo") print $3; else print $2}' | sort | uniq -c | sort -rn | head -10
>>
>>56868324
<html>
>>
File: 1474353495923.jpg (64KB, 400x400px) Image search: [Google]
1474353495923.jpg
64KB, 400x400px
104 pacman
39 cd
28 man
28 ls
27 ./m2hpc.py
24 g++
20 gcc
17 make
14 m2hpc
12 python

>tfw I somehow used pacman a lot more than ls or cd, and got a fucking python script for converting midi to Hydrogen Drum Machine tracks on the list
>>
 
1564 vim
1225 ls
718 cd
627 make
387 man
201 ./main.py
186 rm
183 ssh
143 ./a.out
136 gcc
>>
>>56873851
linux n00b here
how is your version better than mine? (>>56872947)
>>
File: 1474840096841.jpg (33KB, 163x240px) Image search: [Google]
1474840096841.jpg
33KB, 163x240px
    387 git
194 ls
164 cd
34 less
29 ./mapreact.py
17 ./rg4.py
17 cp
15 #
14 ./run.sh
14 grep
>>
>>56873925
Honestly I didn't see yours before I had posted mine. Yours is cleaner than mine and should have the same behavior in this thread. Mine will only remove the first sudo in case some confused individual typed
sudo sudo foo
for some reason, while yours will be messed up slightly for commands containing 'sudo' in them, such as visudo. Both of us fail when someone uses sudo with a flag such as
sudo -i foo
>>
>>56873967
>attention whoring to the max

>what is mapreact.py?
>what is rg4.py?
>what is #?
>what is run.sh?
>>
yeah yeah yaourt, whatever.
>>
>>56873988
interesting, thanks.
>>
>>56868324
  87 cd
85 python
65 vim
35 ls
28 gcc-5
23 .v
19 brew
18 .z
17 slp
14 which
>>
File: 1471995829492.png (191KB, 445x472px) Image search: [Google]
1471995829492.png
191KB, 445x472px
>>56873997
The .py and .sh files are projects.

The # is probably from when I accidentally pasted an entire .py file into the terminal.
>>
 193 python3
89 cd
21 ls
18 curl
12 ping
12 cat
9 ssh
9 printf
9 $RANDOM
6 chmod
>>
>>56874049
yeah, you're totally an attention whore.
kys.
>>
minecraft@akashi:/home/david$ history | awk '{print $2}' | sort | uniq -c | sort -rn | head -10
279 ls
251 cd
139 tmux
58 nano
50 rm
24 task
24 exit
13 sudo
12 mv
11 ./gradlew
>>
>>56874049
'''
I am in the middle of a multiline string used as a comment!
Things that could really fuck things up if somebody pasted this in a terminal:
sudo rm -rf /
'''
#Here are
#some single-line comments
>>
>>56873742
Ok.
>>
You all don't capture the commands you pipe your output to, eg. the verysame awk, sort, uniq, head you use to generate the stat.
history|awk '{print $2}'|awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c|sort -rn|head -30| echo "don't just copy and pase you stupid piece of shit"

Also add
 sed 's/sudo//g' 
somewhere.
Sauce form SO because nobody knows how to do anything.
I don't even have a history.
>>56869369
>>56869398
>>56869545
>>56869847
>>56870463
>>56871263
>>56872947
>>56873022
>>56873041
>>
>>56874483
i gues i have to learn perl and advanced regular expressions to solve the problem of quoted "|"
feel free to post the solution

my solution is also just as bad as every ones else here
>>
rhotate@rhotate-17:~$ history | awk '{print $2}' | sort | uniq -c | sort -rn | head -10
182 sudo
142 ls
111 gcc
84 ./TryAgain
72 clear
47 cd
32 clear;
20 java
17 man
15 exit
>>
    140 sr
86 ls
52 cd
50 dig
45 grep
39 sudo
36 man
36 less
30 vim
27 pacman
27 cat
24 ssh
22 clear
20 bup
15 tar
15 rm
13 gnutls-cli
12 whois
12 systemctl
12 make


sr is an alias for "screen -dRS irssi irssi".
>>
File: putty_2016-10-01_17-17-31.png (10KB, 661x418px) Image search: [Google]
putty_2016-10-01_17-17-31.png
10KB, 661x418px
>>56874483
I don't use pipes because I'm not a friggin nerd

Same results, loser
>>
   1373 cd
885 ls
874 exit
650 svn
579 git
554 sudo
523 make
487 vim
353 pdflatex
>>
   1902 git
792 cd
786 grep
629 open
571 brew
393 sublime
288 rm
247 vim
220 ssh
202 python3
>>
>>56869415
is anyone else sick of "start up" culture?
>>
>>56869541
Find out what that is, you might have a wirus
>>
(I work with selenium Ruby)

249 ruby
133 geany
29 mpv
23 svn
9 vim
9 cd
8 export
6 packer
5 clear
4 cd_suites
>>
That's pretty representative, except I use pip3 in reality, but since I'm in a virtualenv no need to specifiy the 3.
453 git
145 cd
80 sudo
35 python3.4
32 ls
30 pip
26 python
21 radon
13 locate
11 grep
11 cloc
10 tail
>>
some people writing exit and clear
>what is ^D and ^L

all those people writing "ls"
>what is the fish shell
>what is ^I
>>
>>56868580
>clear
>not printf '\033c'
>>
   5718 make
2723 git
2404 ls
2304 vi
1506 mv
1232 cd
1206 rm
1077 ll
985 man
585 sudo
>>
>>56869946
>dnf
no thanks
>>
:(){ :|: & };:
>>
806 rm
764 ssh
764 cd
760 sudo
734 vim
448 pass
379 mv
236 nmap
189 find
180 man
Thread posts: 249
Thread images: 32


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.