← prev | next →
marcotrosi 2022-08-02 11:20:41
no you have to create it
marcotrosi 2022-08-02 11:20:46
there is none by default
Shah_baaz2 2022-08-02 11:21:25
Oh ok got it thanks
But i can’t use /tmp directory ?
Shah_baaz2 2022-08-02 11:21:43
When saw it has rwx permission with my user
marcotrosi 2022-08-02 11:21:55
I personally use /tmp
marcotrosi 2022-08-02 11:22:02
but you asked for a safe place
marcotrosi 2022-08-02 11:22:11
I’m the only user on my computer
marcotrosi 2022-08-02 11:22:18
but I dont know how it is on your system
Shah_baaz2 2022-08-02 11:24:10
I have created a file and directory there and now rebooting to validate if my stuff persisted or not
Shah_baaz2 2022-08-02 11:24:19
Inside /tmp
Shah_baaz2 2022-08-02 11:25:10
It persisted so /tmp is temp directory for all user hence proved,😊
marcotrosi 2022-08-02 11:25:42
check if you have a TMP or TEMP or TMPDIR variable
just type echo $T and hit Tab key
marcotrosi 2022-08-02 11:26:22
you know, for completion
Shah_baaz2 2022-08-02 11:27:16
marcotrosi 2022-08-02 11:25:42
check if you have a TMP or TEMP or TMPDIR variable
just type echo $T and hit Tab key
Echo $T then tab
Auto filled with $TERM
marcotrosi 2022-08-02 11:34:19
okay no TMP variable available
Ceda EI 2022-08-02 11:35:45
use mktemp -d
smol_mazunki 2022-08-02 11:53:34
yeah, it’s zsh for me lol
smol_mazunki 2022-08-02 11:53:44
huh, interesting. are those user installations?
smol_mazunki 2022-08-02 11:54:18
you can mount /tmp without the ability to +x anything
smol_mazunki 2022-08-02 11:54:59

mount -o noexec
marcotrosi 2022-08-02 11:55:21
smol_mazunki 2022-08-02 11:53:44
huh, interesting. are those user installations?
I dont need root user for that if you mean that
smol_mazunki 2022-08-02 11:55:36
but usually you can use $XDG_RUNTIME_DIR, which is user-owned… since it’s usually a tmpdir
smol_mazunki 2022-08-02 11:55:48
marcotrosi 2022-08-02 11:55:21
I dont need root user for that if you mean that
so you own the files in /usr/local ?
marcotrosi 2022-08-02 11:56:45
I have no clue, I just use it as the homebrew manual says
smol_mazunki 2022-08-02 11:56:50
marcotrosi 2022-08-02 11:56:45
I have no clue, I just use it as the homebrew manual says
heh
Captn_Obvious 2022-08-02 13:25:54
Shah_baaz2 2022-08-02 11:25:10
It persisted so /tmp is temp directory for all user hence proved,😊
If you want your data to be persistent you should not use “/tmp”; it would be better to use a $HOME/tmp directory as Marco suggested
Shah_baaz2 2022-08-02 13:37:27
Captn_Obvious 2022-08-02 13:25:54
If you want your data to be persistent you should not use “/tmp”; it would be better to use a $HOME/tmp directory as Marco suggested
Ok
Shah_baaz2 2022-08-02 15:03:10
Can anyone help me with stopping the internet use for linux oel
I want to be disconnected with the internet on my linux oel
And want to connect again
neovoidtk 2022-08-02 15:21:44
Is there any flag or option in sed awk or anything similar which recognizes number or process the numerical only
example a flag to select numbers from the variable
$my_variabale=”These are numbers 12345″
so it would only output numbers
marcotrosi 2022-08-02 15:22:33
neovoidtk 2022-08-02 15:21:44
Is there any flag or option in sed awk or anything similar which recognizes number or process the numerical only
example a flag to select numbers from the variable
$my_variabale=”These are numbers 12345″
so it would only output numbers
regex
marcotrosi 2022-08-02 15:22:36
with sed
marcotrosi 2022-08-02 15:23:02
or bash with the expression command
neovoidtk 2022-08-02 15:26:09
@”^d$”
this regex pattern would work?
Captn_Obvious 2022-08-02 15:26:37
Shah_baaz2 2022-08-02 15:03:10
Can anyone help me with stopping the internet use for linux oel
I want to be disconnected with the internet on my linux oel
And want to connect again
maybe you can disable the default gateway, but first be sure you hare routing the network you are connecting from
marcotrosi 2022-08-02 15:26:55
neovoidtk 2022-08-02 15:26:09
@”^d$”
this regex pattern would work?
probably not, but if you test it you will see it
← prev | next →