Unix/Linux Go Back    

Showing results 1 to 25 of 500
Search took 0.20 seconds.
Search: Posts Made By: Corona688
Forum: UNIX for Beginners Questions & Answers Linux 1 Week Ago
Replies: 1
Views: 113
Posted By Corona688
Exactly what you think it is. You have it a bit...

Exactly what you think it is. You have it a bit backwards, I think - sem_wait is what's responsible for making threads sleep. If the resource is busy, sem_wait makes you sleep, if the resource is...
Forum: UNIX for Beginners Questions & Answers Linux 2 Weeks Ago
Replies: 3
Views: 137
Posted By Corona688
Named pipes aren't shared. To have 30 different...

Named pipes aren't shared. To have 30 different readers you need 30 different writers, and reopening the same pipe 30 times in the same process doesn't count - it all still goes to the first. ...
Forum: Shell Programming and Scripting Linux 02-23-2018
Replies: 8
Views: 331
Posted By Corona688
passwd does not work that way. It will not read...

passwd does not work that way. It will not read passwords from anything but a terminal.
Forum: Shell Programming and Scripting Linux 02-05-2018
Replies: 24
Views: 717
Posted By Corona688
There's one big pitfall with this: Which program...

There's one big pitfall with this: Which program is reading when? It will be very easy to end up in a deadlock with both programs waiting for the other.

So, this is not nearly as simple as it...
Forum: Solaris Linux 02-09-2018
Replies: 4
Views: 313
Posted By Corona688
Getting what error?

Getting what error?
Forum: Hardware Linux 02-07-2018
Replies: 4
Views: 705
Posted By Corona688
I am fairly certain what you want isn't possible...

I am fairly certain what you want isn't possible with a VGA distributor. You'd need separate video cards to get different EDID data through each.
Forum: Shell Programming and Scripting Linux 02-06-2018
Replies: 6
Views: 376
Posted By Corona688
echo asdf | read X is a KSH habit that's...

echo asdf | read X is a KSH habit that's unportable to other Bourne shells. Anything but KSH will set X in a subshell, where you'll never see it.

Some versions of BASH have a way to override this...
Forum: What is on Your Mind? Linux 01-31-2018
Replies: 10
Views: 689
Posted By Corona688
Has it ever been wildly popular? It's been...

Has it ever been wildly popular? It's been influential but that's not the same thing.

Much of that influence is from the BSD license. You can take anything you want, if you attribute (or,...
Forum: What is on Your Mind? Linux 01-31-2018
Replies: 10
Views: 689
Posted By Corona688
macos certainly, but ios? It took years for it...

macos certainly, but ios? It took years for it to even become multitasking. I don't think it's an implementation of UNIX.
Forum: Programming Linux 01-25-2018
Replies: 4
Views: 449
Posted By Corona688
Plus does not mean append, that's only a feature...

Plus does not mean append, that's only a feature of std::string. What you are doing is adding a number to a number.

I don't think you need std::string at all. Just let cout print them:
cout <<...
Forum: Linux Linux 01-10-2018
Replies: 7
Views: 858
Posted By Corona688
I don't think screen can do this. Nothing...

I don't think screen can do this. Nothing prevents root from barging in and changing your screen settings back, anyway.

You can't defend from root.
Forum: Shell Programming and Scripting Linux 01-08-2018
Replies: 10
Views: 1,131
Posted By Corona688
I think there's a simpler way to solve this...

I think there's a simpler way to solve this problem.

The -I option is written to solve a hole in xargs's features.

xargs lets you do this:

echo a b c | xargs echo -option # xargs runs echo...
Forum: Shell Programming and Scripting Linux 12-21-2017
Replies: 24
Views: 1,223
Posted By Corona688
If your FTP server and client support nlist,...

If your FTP server and client support nlist, that's the best way to get the file list. Not all of them do. You've got the idea, I think.

Nobody said that, and I'm not sure what you mean by it.
...
Forum: Shell Programming and Scripting Linux 12-21-2017
Replies: 24
Views: 1,223
Posted By Corona688
Those features deal with limitations in FTP's...

Those features deal with limitations in FTP's protocol, and aren't relevant anywhere else. You don't have those options, because sftp isn't ftp. You also don't need them for the same reason. sftp...
Forum: Shell Programming and Scripting Linux 12-21-2017
Replies: 24
Views: 1,223
Posted By Corona688
No such thing, passwords is how ftp works. Even...

No such thing, passwords is how ftp works. Even the .netrc file contains passwords, though is safer than keeping them in your scripts themselves. It looks like this:

machine sitename.com
...
Forum: Hardware Linux 12-18-2017
Replies: 9
Views: 875
Posted By Corona688
Well then. Did you check out what the error...

Well then. Did you check out what the error suggested? Is your system 64-bit or 32?

Also, did you download the thread attachment or the 'for latest version click here' link?
Forum: Shell Programming and Scripting Linux 12-11-2017
Replies: 5
Views: 272
Posted By Corona688
awk file redirection issue

So I'm writing a script which tries to parse human-readable addresses. Part of it is this:

print $2, implode(A,1,AN," "), CITY, PROV, POST, COUNTRY, CITYCOUNT>2;

CITYCOUNT is a variable...
Forum: Shell Programming and Scripting Linux 12-07-2017
Replies: 13
Views: 2,034
Posted By Corona688
chown does not ignore hidden files. Only ls does...

chown does not ignore hidden files. Only ls does that, as a user convenience.

Those files must have been preserved for some other reason, probably different ownership than you expected, and that...
Forum: UNIX for Beginners Questions & Answers Linux 11-17-2017
Replies: 8
Views: 341
Posted By Corona688
The difference between find...

The difference between find ${RILD_MARK_DIR}/*Rele**.${DATA_FILE_CUSTOMER}.**.${DATA_FILE_PALLET}.* -not -name '*.'"$RECS_REC" | while read rname; do and
find...
Forum: Shell Programming and Scripting Linux 09-15-2017
Replies: 5
Views: 472
Posted By Corona688
You know what? When I execute this, it does...

You know what? When I execute this, it does return the ".trim" part. So that's one mystery solved. That trimming is either done before or after perl.

$ perl -e 'print "gene_id\t", join("\t",...
Forum: Shell Programming and Scripting Linux 09-15-2017
Replies: 5
Views: 472
Posted By Corona688
Yes. Perl allows you to call things without the...

Yes. Perl allows you to call things without the () if you really want to, and they did so here. How it would with them is:

map( {code block}, @ARGV)

So @ARGV is the input array, and {code...
Forum: Programming Linux 11-24-2017
Replies: 3
Views: 735
Posted By Corona688
The >> operator does not care at all about lines....

The >> operator does not care at all about lines. If you want lines, you'll have to separate it some other way, which is exactly what the stackoverflow code does.

It reads entire lines with...
Forum: Shell Programming and Scripting Linux 11-21-2017
Replies: 13
Views: 653
Posted By Corona688
How about: xargs mkdir < inputfile

How about:
xargs mkdir < inputfile
Forum: Shell Programming and Scripting Linux 11-23-2017
Replies: 13
Views: 653
Posted By Corona688
The internet does not work that way. Sending...

The internet does not work that way. Sending someone else a link to "c:\users\fejoz\desktop\ttt.jpg" does not make them see your computer. You can't dump it in 'image:' contents either, not on a...
Forum: UNIX for Beginners Questions & Answers Linux 11-16-2017
Replies: 1
Views: 200
Posted By Corona688
The timestamps aren't 2 or more days apart yet,...

The timestamps aren't 2 or more days apart yet, only 1.6 days. One counts from midnight while the other counts from present time.

Your proposition works by forcing both times to start from...
Showing results 1 to 25 of 500

 


All times are GMT -4. The time now is 08:44 AM.