Search Results

Search: Posts Made By: gandolf989
1,121
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
4,944
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...
620
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...
685
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...
436
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...
5,518
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...
2,342
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...
2,342
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
809
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.
878
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...
904
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...
904
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...
858
Posted By gandolf989
Have you tried using public/private key...
Have you tried using public/private key authentication?
707
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...
1,278
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...
3,897
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
4,082
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 ......
583
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.
1,750
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.
...
709
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
4,029
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...
4,288
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
15,951
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
1,567
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
2,969
Posted By gandolf989
Certainly your way is more instructive... :cool:
Certainly your way is more instructive... :cool:
Showing results 1 to 25 of 47

 

Featured Tech Videos

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