Search Results

Search: Posts Made By: ThomasMcA
Forum: What is on Your Mind? 05-18-2012
4,023
Posted By ThomasMcA
Windows 8 looks bad enough that it could cripple...
Windows 8 looks bad enough that it could cripple the bully known as Microsoft. Putting a tablet/touch screen layout in a desktop UI is just dumb. Hopefully, the users that M$ pi**es off and...
Forum: What is on Your Mind? 05-18-2012
4,023
Posted By ThomasMcA
The new Timeline sucks. They have a history of...
The new Timeline sucks. They have a history of making changes that their users hate. No business can continue doing that for very long and continue to remain in business.
1,430
Posted By ThomasMcA
We use shell scripts to load legacy data into an...
We use shell scripts to load legacy data into an Oracle database. The shell scripts move/copy/archive/delete files, send workflow emails, create logs, push data with SQL*Loader, and run stored...
Forum: Linux 05-14-2012
2,914
Posted By ThomasMcA
A script allows for more robust code. A script is...
A script allows for more robust code. A script is usually easier to read and edit than a long cron entry. It is also easier to add intelligence to a script, such as "if" loops that check for file...
8,608
Posted By ThomasMcA
Loop through the files on one server, then use...
Loop through the files on one server, then use chown with --reference=RFILE to copy the ownership. I don't know how to create a link between the servers. Perhaps you could use an FTP script.
Forum: Solaris 05-10-2012
1,088
Posted By ThomasMcA
Virtual memory - Wikipedia, the free encyclopedia...
Virtual memory - Wikipedia, the free encyclopedia (http://en.wikipedia.org/wiki/Virtual_memory)
Forum: Programming 05-10-2012
1,581
Posted By ThomasMcA
You can work from home, picking and choosing...
You can work from home, picking and choosing which projects to work on. The following site has hundreds of projects to choose from.

How it Works (for Workers)...
Forum: Linux 05-10-2012
2,914
Posted By ThomasMcA
Try redirecting stderr to a file, then monitor...
Try redirecting stderr to a file, then monitor that file.

0 5 * * * /usr/bin/find /opt/nsfw/var/partition-all/ -name "RCV_SASN*" -exec mv '{}' /opt/nsfw/var/rcv-archive/ 2>>/path/to/cron.log \;
2,360
Posted By ThomasMcA
Your short question that contained absolutely no...
Your short question that contained absolutely no details might as well have said "gimme the answer, I'm too lazy to look for myself."

If you did search first, that's great. But you didn't tell us...
Forum: Red Hat 05-10-2012
2,830
Posted By ThomasMcA
You could put the following logic into a script: ...
You could put the following logic into a script:

Managing Oracle Database Processes (http://docs.oracle.com/cd/B19306_01/server.102/b14231/manproc.htm#sthref714)
2,360
Posted By ThomasMcA
The subject of your post returns 241,000,000 hits...
The subject of your post returns 241,000,000 hits from Google:

Let me google that for you (http://lmgtfy.com/?q=Remove+all+HTML%2C+scripts+and+styles)
Forum: Hardware 05-03-2012
5,230
Posted By ThomasMcA
Does the fan come on at all? Or does the fuse...
Does the fan come on at all? Or does the fuse blow immediately when you plug it in?
Forum: Hardware 05-03-2012
5,230
Posted By ThomasMcA
Other power supplies in the PC blow the fuse?...
Other power supplies in the PC blow the fuse? Maybe something on the mobo is already fried.
Forum: Hardware 05-03-2012
5,230
Posted By ThomasMcA
Is the fuse in the PC, or in the building? If...
Is the fuse in the PC, or in the building? If it's in the PC, then the power supply for the PC may be bad. If it's for the building, it could just be an overloaded electrical circuit.
Forum: Hardware 05-03-2012
5,230
Posted By ThomasMcA
Most systems either display something on the...
Most systems either display something on the screen, or give BIOS beeps to indicate the error condition. The pattern of short and long beeps is the "error code." These are standard by vendor, and can...
10,595
Posted By ThomasMcA
It may be aborting because the syntax for the...
It may be aborting because the syntax for the sourced profile is pointing to a file that doesn't exist. This line . /.profile is looking in the root folder. It probably needs to be . ~/.profile
91,802
Posted By ThomasMcA
The bash man page says it is a conditional...
The bash man page says it is a conditional expression:



My original point, however, is that the "-letter" syntax is easier to lookup in the man test page than it is in the man bash page.
91,802
Posted By ThomasMcA
For the entire list of options, see the man page...
For the entire list of options, see the man page for your shell.

man bash

Search for conditional expressions.

---------- Post updated at 08:45 AM ---------- Previous update was at 08:42 AM...
Forum: Programming 05-02-2012
4,722
Posted By ThomasMcA
Notepad++ can convert EOL characters to *nix...
Notepad++ can convert EOL characters to *nix format via Edit menu > EOL Conversion

There is also a dos2unix command in Linux to convert the EOLs in a file.

Apache logs may be in /var/log/apache2
1,244
Posted By ThomasMcA
A shell script on the *nix server can both read...
A shell script on the *nix server can both read the file system and use SQL*Plus to access the Oracle database.
3,396
Posted By ThomasMcA
Or check if the directory exists first: if [...
Or check if the directory exists first:

if [ -d temp ]; then
1,667
Posted By ThomasMcA
What is in /home/foo/log? The last line of your...
What is in /home/foo/log? The last line of your script should always update that file, even if the if block doesn't execute.

If that log doesn't get updated, it's probably a permission problem.
7,420
Posted By ThomasMcA
This looks like schoolwork, so I'll just give you...
This looks like schoolwork, so I'll just give you some generic pointers for how to finish it.

1) There is a separate forum for schoolwork. Please put future posts in that forum.

2) RTFM. Type...
7,420
Posted By ThomasMcA
You don't need to concatenate $max - strings get...
You don't need to concatenate $max - strings get expanded, even when inside quotes. Change this: echo "The maximum is: " & $max to this echo "The maximum is: $max"
4,167
Posted By ThomasMcA
Try using dos2unix to convert your data file,...
Try using dos2unix to convert your data file, then process it with your script.
Showing results 1 to 25 of 39

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