👤
Home Man
Search
Today's Posts
Register

Showing results 1 to 25 of 500
Search took 0.12 seconds.
Search: Posts Made By: Corona688
Forum: Programming 1 Week Ago
Replies: 4
Views: 180
Posted By Azrael
I will agree with what you said. I knew it was a...

I will agree with what you said. I knew it was a logical error instead of syntactical one when I saw it. I was just happy to have made any progress at that point.

Your code is much better and...
Forum: OS X (Apple) 3 Weeks Ago
Replies: 0
Views: 146
Posted By wisecracker
A means of clearing the scroll buffer in an OSX Terminal.

I was looking for a method of clearing the buffer of the vertical scroll back slider and came across this little Terminal escape snippet I had never seen before:
printf "%b" "\033[3J"
SO...
printf...
Forum: Shell Programming and Scripting 3 Weeks Ago
Replies: 4
Views: 265
Posted By triplemaya
Many thanks to you both. All working very nicely...

Many thanks to you both. All working very nicely now.
Forum: War Stories 4 Weeks Ago
Replies: 11
Views: 299
Posted By Neo
I swear, the next time I scratch down some quick...

I swear, the next time I scratch down some quick analysis of an HTML file, I'll try to take better notes.

Actually, these kind of notes are useful, so next time I'll do it much better, LOL
...
Forum: What is on Your Mind? 4 Weeks Ago
Replies: 0
Views: 145
Posted By Neo
New Simplified Log Out for UNIX.COM

Hi,

I changed the logout code to just simply log out and go back to the page you were viewing:

Was (ending code):

eval(standard_error(fetch_error('cookieclear',...
Forum: Shell Programming and Scripting 07-12-2018
Replies: 9
Views: 348
Posted By shellX
Sorry ---------- Post updated at 06:40 PM...

Sorry

---------- Post updated at 06:40 PM ---------- Previous update was at 06:35 PM ----------

Finally I found out the solution, Thank you Rudic


#!/bin/bash liste_rep=folder/*
echo...
Forum: What is on Your Mind? 07-12-2018
Replies: 14
Views: 426
Posted By Neo
Yes, it's not required.

Yes, it's not required.
Forum: Solaris 07-12-2018
Replies: 1
Views: 154
Posted By hicksd8
Be careful. You can't run fsck on a volume that...

Be careful. You can't run fsck on a volume that you are booted from anyway.

It's telling you to run fsck manually so you will need to boot from DVD into single user:

ok> boot cdrom -s

Then...
Forum: What is on Your Mind? 07-11-2018
Replies: 14
Views: 426
Posted By Neo
New Login Button for UNIX.COM

Hey,

Have changed the login from a legacy form on the upper right to a JS popup (which I originally wrote for mobile); by clicking on the person looking icon on the upper right.

I have tested...
Forum: UNIX for Beginners Questions & Answers 07-08-2018
Replies: 9
Views: 557
Posted By supernono06
I got it Corona688 and in my case it works...

I got it Corona688 and in my case it works perfectly and does what I need. Of course not with bash, but with a .bat file:


pushd \\files\share\path (file://files/share/path)
start C:\"Program...
Forum: What is on Your Mind? 06-29-2018
Replies: 36
Views: 1,078
Posted By Neo
New Code Tags (Syntax Highlighting)

Hey,

Just added a new UserCP option so you can change the code tags to look like the code tags in this example (turn this on and off):

Note: I set the default to "SyntaxHighlighting" for...
Forum: Shell Programming and Scripting 06-28-2018
Replies: 6
Views: 347
Posted By RudiC
There you are - EOF with three trailing...

There you are - EOF with three trailing spaces! Try without.
Forum: UNIX for Beginners Questions & Answers 06-25-2018
Replies: 2
Views: 189
Posted By jim mcnamara
This is how UNIX handles background processes. ...

This is how UNIX handles background processes. And who responds to a terminal keypress. There is also a setsid() system call that is used in controlling all of this. These groups are usually...
Forum: UNIX for Advanced & Expert Users 06-08-2018
Replies: 3
Views: 263
Posted By RudiC
Try also (tackling it from the other end) awk '...

Try also (tackling it from the other end)
awk '
FNR == 1 {FILE++
}
FILE < 3 {FIN[FILE,$4] = FIN[FILE,$4] $8 FS
}
FILE == 3 {n =...
Forum: War Stories 05-30-2018
Replies: 3
Views: 1,034
Posted By xenix
Wrong Array...

Back in my early days, just starting at my first job where I was doing 100% UNIX...

We had a mixture of Solaris, AIX, and HPUX systems. Our most critical systems (Logistics) was running on a...
Forum: Shell Programming and Scripting 05-27-2018
Replies: 5
Views: 390
Posted By MadeInGermany
The symptom "while read loop stops after one...

The symptom "while read loop stops after one cycle" is typical for a conmand that reads from stdin, sucking from the input that is for the read command.
Maybe HandBrakeCLI is such a command? Then it...
Forum: Shell Programming and Scripting 05-24-2018
Replies: 23
Views: 1,156
Posted By Peasant
Are you using GNU or BSD netcat ? With BSD...

Are you using GNU or BSD netcat ?

With BSD netcat -k option will listen forever, with GNU i do not think it works.

Both should be available on linux distributions
On debian :

~$ apt-cache...
Forum: UNIX for Beginners Questions & Answers 05-23-2018
Replies: 8
Views: 322
Posted By geomarine
I have tested it, the output is correct. read...

I have tested it, the output is correct.
read N L <<< $(grdinfo data.grd | awk '{print $10,$5}')
echo $N $L
Forum: Shell Programming and Scripting 05-23-2018
Replies: 4
Views: 239
Posted By jaapar
I found the fix, what I did was execute the...

I found the fix, what I did was execute the user's bash_profile in the script or in cron for e.g.

0 10,22 * * * . $HOME/.bash_profile && /root/auto/generate_rpt.bash.

above fixed it for me.
...
Forum: Linux 05-16-2018
Replies: 0
Views: 257
Posted By Linusolaradm1
Please: a litte help to crosscompile.

I have installed the "mipsel tuxbox" compile suite for crosscompile
Host system is x86_64 slackware
destination is mipsel32bit "vuduo+"

For example,I want to compile a program, I use this script...
Forum: UNIX for Beginners Questions & Answers 05-11-2018
Replies: 4
Views: 282
Posted By MSpeare
are u saying the Uppercase Y should be lower case...

are u saying the Uppercase Y should be lower case >

---------- Post updated at 09:43 AM ---------- Previous update was at 09:19 AM ----------

Thank you so much!!! It is working!!!!!
Forum: Shell Programming and Scripting 05-09-2018
Replies: 7
Views: 448
Posted By Michel
That worked .. now we get a notification if the...

That worked .. now we get a notification if the email failed
Thanks again
Forum: HP-UX 05-07-2018
Replies: 5
Views: 870
Posted By jduehmig
The problem was that I didn't 'know' that SMH...

The problem was that I didn't 'know' that SMH uses PAX. Once I learned that I knew what the problem was. The resolution was to stop using fbackup for the nightly backup jobs and switch to PAX. Now...
Forum: Shell Programming and Scripting 05-03-2018
Replies: 5
Views: 287
Posted By rdrtx1
after the first for...mv run when all files...

after the first for...mv run when all files disappeared there should be a file in the directory called .txt (since $1 was not set) which is a copy of the last file on the list (query1-extract_ah). ls...
Forum: Shell Programming and Scripting 04-17-2018
Replies: 3
Views: 131
Posted By wspgpete
figured it out. Mind fart on my side. sed...

figured it out. Mind fart on my side.

sed -i -e 's/\bpi\b/pisignage/g'

Seriously: Please use CODE tags as required by forum rules!
Showing results 1 to 25 of 500

 


All times are GMT -4. The time now is 03:11 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password