Search Results

Search: Posts Made By: gandolf989
2,108
Posted By gandolf989
Have you thought about using exec to redirect all...
Have you thought about using exec to redirect all of the output to the modem?
Another option would be to write C or Java code to do the scripting.


export CURR_TIME=`/bin/date +%Y%m%d_%H%M%S`...
Forum: IP Networking 05-19-2017
12,481
Posted By gandolf989
I think I will start with an old Pentium 4 that I...
I think I will start with an old Pentium 4 that I had planned on sending to get recycled. If that works, maybe then I will get new hardware.
If the ethernet networking is too hard, the Pentium 4 has...
3,399
Posted By gandolf989
You can setup the following privileges. do a...
You can setup the following privileges. do a chmod on the first three directories as 755.
Then do a chmod on /var/spool/cron/root as 644 and you will have what you want.


$ ls -ld /var...
1,444
Posted By gandolf989
You should probably already know that a database...
You should probably already know that a database export is not really a backup. It's a logical backup at best,
but could give you data that is not in a consistent state. You really want a physical...
1,090
Posted By gandolf989
I have a personal laptop running Ubuntu 16.04...
I have a personal laptop running Ubuntu 16.04 that has an encrypted volume. In addition to that you can change the ssh port to something other than 22. I use a number well over 1,000. You can try...
21,361
Posted By gandolf989
While Don Cragun put in an impressive amount of...
While Don Cragun put in an impressive amount of work, my first thought when I saw the problem was that there is probably a Perl module for that.

Lingua::EN::Nums2Words - search.cpan.org...
4,708
Posted By gandolf989
Sonny, How long is too long to run? How...
Sonny,

How long is too long to run? How many indexes do you have on the table? How many constraints, including foreign keys do you have? How many row level triggers do you have and what do they...
4,708
Posted By gandolf989
Another option would be to use oracle...
Another option would be to use oracle heterogeneous connectivity to connect to DB2. Use an ERD tool like Erwin to reverse engineer the DB2 database and convert it to Oracle. Then create the new...
Forum: Solaris 12-15-2016
1,640
Posted By gandolf989
If your mouse has a round ball inside, you may...
If your mouse has a round ball inside, you may want to take it out and clean it with alcohol, or at least water. Make sure that you don't have lint building up inside.
1,998
Posted By gandolf989
If this is really Linux, and you treat the file...
If this is really Linux, and you treat the file like text and not an executable, and if this is not homework, you should not need to scan the file with any antivirus software, since none of the ASCII...
2,456
Posted By gandolf989
Here is an example of code that will delete...
Here is an example of code that will delete directories and their contents older than 2 weeks.
-type d says that you are deleting a directory and piping that to xargs with rm -rfv
means to force...
2,456
Posted By gandolf989
If you are deleting files and not directories,...
If you are deleting files and not directories, then you want to use -type f not d. The first line will return the files found. The second will find and delete the files that you want. You can also...
1,730
Posted By gandolf989
Have you tried using public/private key...
Have you tried using public/private key authentication?
1,325
Posted By gandolf989
Since you are using Oracle anyway, Oracle has a...
Since you are using Oracle anyway, Oracle has a built in package called utl_file. You can use the FGETATTR
Procedure in utl_file to check if the file exists and handle the errors if a file does not...
3,284
Posted By gandolf989
This is certainly a valid way of moving data from...
This is certainly a valid way of moving data from one database to another. The only downside is that you would
need to manually created indexes, constraints and triggers. Once the table gets...
10,209
Posted By gandolf989
16GB might be more memory than most people need,...
16GB might be more memory than most people need, but given how cheap memory is, it seems like a good investment. I picked up an old dual core desktop from work with 4GB of RAM. I upgraded it to 16GB,...
Forum: Cybersecurity 05-11-2016
6,817
Posted By gandolf989
The Oracle Import process can be a good example...
The Oracle Import process can be a good example of this. If you put the password
in the command, then you can see it when you use the "ps -ef | grep impdp".


impdp system/change_on_install ......
1,024
Posted By gandolf989
It probably stalls, because it is waiting for...
It probably stalls, because it is waiting for input from standard input, since you did not provide the file name in the grep command, per Don's note.
3,316
Posted By gandolf989
You might find it easier to write a bash script...
You might find it easier to write a bash script that does what you want it to do,
scp it to each of the servers, then run that script remotely with the '-C' parameter.
Here is some sample code.
...
1,635
Posted By gandolf989
You should use the find command. You just need to...
You should use the find command. You just need to adapt as needed and log the deletion process.


find /logdir/* -name *.log -mtime +14 -type f | xargs rm -rvf
13,114
Posted By gandolf989
If your script prematurely exits, then how will...
If your script prematurely exits, then how will the clean up part run?
You should look at the trap event and create a trap event for exit.
Then if the script errors out, the trap event gets called...
13,745
Posted By gandolf989
I use Y to copy a line and P to paste the line....
I use Y to copy a line and P to paste the line. Make sure that you are not in insert mode first. You can hit ESC to toggle back to command mode.

Have you looked at this?

My vi/vim cheatsheet...
Forum: Ubuntu 05-13-2015
25,343
Posted By gandolf989
There is really only a couple of steps: on...
There is really only a couple of steps:

on the local server do the following:

mkdir ~.ssh
chmod 750 ~
chmod 700 ~/.ssh
ssh-keygen -t rsa -b 2048
cat id_rsa_<server_name>.pub


On...
Forum: Red Hat 04-22-2015
2,163
Posted By gandolf989
My guess is either you manually download every...
My guess is either you manually download every patch through a server that has internet access and then apply the patch or you create a local mirror on a different server that has internet access...
Forum: HP-UX 02-16-2015
7,555
Posted By gandolf989
Certainly your way is more instructive... :cool:
Certainly your way is more instructive... :cool:
Showing results 1 to 25 of 47

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