Search Results

Search: Posts Made By: gull04
432
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? 2 Weeks Ago
529
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...
427
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 +...
566
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...
1,391
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 ' '...
1,391
Posted By RudiC
Why not simplyinstalldir=${1//\\\\n/ }?
Why not simplyinstalldir=${1//\\\\n/ }?
1,201
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
434
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....
1,107
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
373
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
1,541
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)
...
1,637
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...
1,637
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...
1,537
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...
1,537
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...
Forum: Programming 09-15-2019
315
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...
317
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]*) ...
196
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.
189
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.
4,472
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
2,028
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
1,196
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
1,196
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
2,005
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!
938
Posted By bakunin
In addition to what Don Cragun already said: how...
In addition to what Don Cragun already said: how on earth can a user get the privileges necessary to turn on the firewall?? In a long (and rather depressing) life as a systems administrator i learned...
Showing results 1 to 25 of 48

 

Featured Tech Videos

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