I just discovered look command and I want to know how can I add words in it or use already available words file?

|
neovoidtk 2022-07-26 09:38:38
marcotrosi 2022-07-26 09:38:18
you can but I can also give you a private C group

that would be great

neovoidtk 2022-07-26 09:38:51
private group
neovoidtk 2022-07-26 11:08:02
ok this is unix question.
i just discovered look command and I want to know how can I add words in it or use already available words file?
moogiwaraa 2022-07-26 11:38:02
neovoidtk 2022-07-26 11:08:02
ok this is unix question.
i just discovered look command and I want to know how can I add words in it or use already available words file?

Man page says about WORDLIST environment variable

marcotrosi 2022-07-26 11:40:35
neovoidtk 2022-07-26 11:08:02
ok this is unix question.
i just discovered look command and I want to know how can I add words in it or use already available words file?

you can pass a file as last parameter

marcotrosi 2022-07-26 11:40:41
man look
neovoidtk 2022-07-26 11:42:08
marcotrosi 2022-07-26 11:40:35
you can pass a file as last parameter

didnt work

neovoidtk 2022-07-26 11:45:24
now i got it
neovoidtk 2022-07-26 11:47:45
input file must be sorted like this with tabs not spaces
harry potter
hello abracadabra

and syntax would be like:
look prefix filename
look hello
> hello abracadabra

edit: they need to be sorted using sort command

neovoidtk 2022-07-26 11:48:07
it was working before 🙁
neovoidtk 2022-07-26 11:54:53
neovoidtk 2022-07-26 11:47:45
input file must be sorted like this with tabs not spaces
harry potter
hello abracadabra

and syntax would be like:
look prefix filename
look hello
> hello abracadabra

edit: they need to be sorted using sort command

found the correct example:

EXAMPLES
sort -d /etc/passwd -o /tmp/look.dict
look -t: root:foobar /tmp/look.dict

neovoidtk 2022-07-26 11:55:29
https://manned.org/look#head8
Shah_baaz2 2022-07-26 13:31:12
Setenforce 0
Shah_baaz2 2022-07-26 13:31:31
You people got bored of my questions 😅
Jamerive 2022-07-26 15:02:09
smol_mazunki 2022-07-26 08:52:07
you can also like doas if you don’t like sudo

I read some stuff of the syatem is glib dependant so doas does not work with that, is that true? By the way how do you vonfigure doas togive 3 attempts like sudo does as default?

Shah_baaz2 2022-07-26 17:01:48
Shah_baaz2 2022-07-26 08:36:59
Hi

How i can install any package without adding the user entry in /etc/sudoers

Continuing to this

I have a user to whom i need to give permission of read write execute for the below directory recussively

Those files are system files and there location are like

/Etc
/usr/local
/Var/log
/Etc/rc.d/rc.local
/Var/lib

This are the place in which i want the normal user can manage the files

Is it possible

marcotrosi 2022-07-27 15:19:13
https://github.com/tkellogg/dura

GitHub – tkellogg/dura: You shouldn’t ever lose your work if you’re using GitGitHub
You shouldn’t ever lose your work if you’re using Git – GitHub – tkellogg/dura: You shouldn’t ever lose your work if you’re using Git
armanhrshaikh 2022-07-27 17:44:25
which technique telegram used in voice to text? (transcription feature)
Mike_Went 2022-07-27 18:00:06
armanhrshaikh 2022-07-27 17:44:25
which technique telegram used in voice to text? (transcription feature)

google cloud

Shah_baaz2 2022-07-27 18:05:47
Why i won’t able to install any package using yum without internet on my system
Shah_baaz2 2022-07-27 19:27:42
😅 but i am having .rpm of that package already on my local
marcotrosi 2022-07-27 20:25:44
Shah_baaz2 2022-07-27 19:27:42
😅 but i am having .rpm of that package already on my local

isnt the rpm file just the description of the package?

marcotrosi 2022-07-27 20:26:00
the binaries/sources are not part of that rpm I guess
thecatvoid 2022-07-27 20:27:48
marcotrosi 2022-07-27 20:26:00
the binaries/sources are not part of that rpm I guess

.rpm pkg is like .deb

thecatvoid 2022-07-27 20:27:56
will have binary inside of it
thecatvoid 2022-07-27 20:28:18
but needs all dependency rpms
marcotrosi 2022-07-27 20:28:47
good
marcotrosi 2022-07-27 20:29:02
Shah_baaz2 2022-07-27 19:27:42
😅 but i am having .rpm of that package already on my local

there you have it, @thecatvoid knows the answer

Shah_baaz2 2022-07-27 20:47:59
it means that package alone can’t be installed unless its dependency won’t get installed

Getting hard to understand linux as coming out from NSIS background
I think Every one started from there only 😅
Please don’t mind

michele_pagot 2022-07-28 12:35:38
I have a git repo, it has files like something.yaml and something.yaml.example in many sub folders. I like git to ignore all the something.yaml and consider all the something.yaml.examples What I need to have in my .gitignore ?
marcotrosi 2022-07-28 12:36:53
I guess you can use the * wildcard
michele_pagot 2022-07-28 12:57:33
using like ‘something.yaml’ ignore both but I like the .example not to be ignored
marcotrosi 2022-07-28 13:04:18
michele_pagot 2022-07-28 12:57:33
using like ‘something.yaml’ ignore both but I like the .example not to be ignored

https://git-scm.com/docs/gitignore

michele_pagot 2022-07-28 13:27:01
https://git-scm.com/docs/gitignore#_pattern_format
mendel7 2022-07-28 13:29:26
michele_pagot 2022-07-28 12:57:33
using like ‘something.yaml’ ignore both but I like the .example not to be ignored

doubt

|