Search Results

Search: Posts Made By: gull04
Forum: Programming 01-08-2020
9,719
Posted By Neo
Elecrow GSM/GPRS/EDGE SIM5360E 3G Shield for Arduino
Normally I have very good experiences buying from AliExpress (https://s.click.aliexpress.com/e/_rIbWxD), but in this case with Elecrow, I'm disappointed.

After confirming with Elecrow on...
2,157
Posted By vgersh99
man crontab yields (among others): The...
man crontab yields (among others):

The "sixth" field (the rest of the line) specifies the command to be run. The entire command portion of the line, up to a newline or % character,
will be...
Forum: What is on Your Mind? 10-23-2019
6,782
Posted By Neo
And just updated for the following logic for...
And just updated for the following logic for showing this player:

Posts < 5

OR

Infractions > 0

OR

Warnings > 0

So, if a user has 100 posts and does not use code tags and a mod...
1,787
Posted By RudiC
If you want to reduce the number of date...
If you want to reduce the number of date executions, try also (given your shell offers "process substitution", and date has the -f option):

$ DAYS=20
$ STARTDT=$(date +%s)
$ ENDDT=$((STARTDT +...
2,843
Posted By Corona688
Do not post classroom or homework problems in the...
Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in this forum (https://www.unix.com/homework-coursework-questions/) under special...
7,886
Posted By MadeInGermany
If parameter $1 contains literal \\n then you can...
If parameter $1 contains literal \\n then you can use sed to convert to a space
VAR1=$(printf "%s\n" "$1" | sed 's/\\\\n/ /g')
The \ and \n are really special. Some explanations:
I used ' '...
7,886
Posted By RudiC
Why not simplyinstalldir=${1//\\\\n/ }?
Why not simplyinstalldir=${1//\\\\n/ }?
15,541
Posted By Neo
.. and just for fun, installed chrony on macOS as...
.. and just for fun, installed chrony on macOS as follows:

brew cask install chronycontrol

https://www.unix.com/members/1-albums177-picture1257.png

Reference:

chronyd on MacOS X...
Forum: Cybersecurity 09-25-2019
5,546
Posted By Neo
You are being directed to the US FBI where your IP address and details will also be logged.
Well, I thought I would share this code, which I normally do not share.

The logs show this site is currently experiencing some "new hack" maybe attempting a buffer overflow or something similar....
2,216
Posted By Neo
This post is a kind of link spam because the...
This post is a kind of link spam because the poster is asking obscure questions and then posting links, just when they hit the minimum, to another site.

At the same time, they are posting links to...
Forum: Cybersecurity 09-19-2019
3,798
Posted By Peasant
I've seen this when multiple PAM rules are...
I've seen this when multiple PAM rules are matched for one user or group.
Check pam configuration for such rules.

For instance :

.. other lines ..
password [default=1 success=ignore]...
Forum: What is on Your Mind? 09-19-2019
24,311
Posted By Neo
YouTube: How to Use Code Tags and Format Posts @UNIX.com
By special request, and long overdue, I have updated our "code tags" video and so now we have:

How to Use Code Tags and Format Posts @UNIX.com in 4K (https://youtu.be/4BuPvWJV__k)
...
17,788
Posted By Neo
Welcome. I wanted to test further but I am...
Welcome.

I wanted to test further but I am in the middle of making a new "how to use code tags and format posts video" for unix.com, and have been having some issues with rendering today; so my...
17,788
Posted By Neo
I checked the GNU version of tar and the only way...
I checked the GNU version of tar and the only way to auto compress using file extension magic is to use the "a" flag:

You can also let GNU tar select the compression program based on the
suffix...
14,121
Posted By Neo
It is absolutely amazing to me that mohdsadik90...
It is absolutely amazing to me that mohdsadik90 is posting here, asking such questions in such a lazy and uninformed way, regarding a graduate level course:

ICT Systems Administration Fundamentals...
14,121
Posted By Neo
Dear mohdsadik90, You must do a lot more...
Dear mohdsadik90,

You must do a lot more work that post your assignment in a PDF file and ask others to do you work for you.

You are not following forum rules and are really being very lazy and...
Forum: Programming 09-15-2019
3,391
Posted By RavinderSingh13
Regarding a GREAT site for understanding and Visualizing regex patterns.
Hello All,

While googling on regex I came across a site named Regulex Regulex:JavaScript Regular Expression Visualizer (https://jex.im/regulex/#!flags=&re=%5E(a%7Cb%7Cc)(%5B%5E%40%5D*)%40(.*))
I...
2,715
Posted By RudiC
Just for the fun of it - how far would this get...
Just for the fun of it - how far would this get you:
FL=$(wc -l < inputfile)
while read
do case $REPLY in
[tT]*) CMD="NR>$((FL - ${REPLY:1}))";;
[pP]*) ...
1,606
Posted By MadeInGermany
Yes, it works. The argument...
Yes, it works. The argument /Aug/Work/Universal_File.txt lands in $1.
The prefixed sh allows the /Aug/Work/main.sh to not be executable.
2,461
Posted By hicksd8
You should install Solaris first because its...
You should install Solaris first because its install routine always writes its own bootloader and will overwrite any bootloader written down by a Linux distro.
18,750
Posted By MadeInGermany
[Tip] How to display the logged-in users
In a professional environment with traditional application you often want (or are asked) to report the users.
Traditionally there is the who command
who | awk '{print $1}'telnetd or sshd register...
Forum: Web Development 02-13-2019
13,834
Posted By Neo
Sneak Preview: New UNIX.COM UserCP VueJS Demo
Hey,

Now that I'm caught-up on a number of forum tasks, I can turn my attention to the next-generation UserCP (and learn VueJS) for the site.

Today I created this (not yet functional) demo...
Forum: What is on Your Mind? 02-11-2019
2,728
Posted By Peasant
Well i do hate those words today, such as : AI,...
Well i do hate those words today, such as : AI, smart, tenant, stateless, cloud, various 'as a service' <buzzzzz>...
Those words today are prostituted to the extreme everywhere.
Almost everything...
Forum: What is on Your Mind? 02-07-2019
2,728
Posted By wisecracker
Hi bakunin... Oh boy, I reckon I am gonna...
Hi bakunin...

Oh boy, I reckon I am gonna love this thread. ;oD
And I thought I was alone. Now you have set me off. I agree with everything you have written.
(Apologies for any typos.)

I have...
Forum: What is on Your Mind? 01-16-2019
4,416
Posted By Neo
Great Catch, thanks Gull04! Excellent "bug"...
Great Catch, thanks Gull04! Excellent "bug" report with screenshots too! Easy to fix.

Fixed... Forgot about that menu item.

Thanks again!
Showing results 1 to 25 of 49

 
All times are GMT -4. The time now is 01:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy