I am trying to mount a Windows Server 2012 NFS shared folder on a RHEL 6.5 client. It looks like I can mount the folder, but I cannot access it. When I try to access the mounted folder I get an “Input/output error”. Any suggestions?
When I run “rpcinfo /p” on the Windows Server I get...
Is there a way to include a command that contains parenthesis inside a bash function? I get an error for an unexpected ( found when I try. I am trying to include the following inside of a bash function:
cleanup () {
shopt -s extglob
rm !(FileToKeep)
}
I am trying to download all files and folders from a particular folder. If I turn on recursive, it downloads all of the folders leading up to the folder I want, which I do not want. I tried adding –np or --no-parent, but I get the same behavior, so I don’t think I am using the command...
If I had a dual Partition setup with Windows XP and Linux Fedora Core 3 (I would be willing to use any popular version of Linux). Is there a way to be in Linux and then boot to, or change to Windows without a full reboot? A way to maybe Call Lilo or Grub from in linux? Similar to how tiny.exe...
I have made a Redhat AS 3.0 boot disk from the boot.iso on disk 1. If I boot off this disk and at the prompt type:
"linux ks=ftp://serverIP/directoryToKickstartFile/ks.cfg"
I can start the network install and use a kickstart file on a server in my office. My question is this; can I add
"linux...
We do linux installs over the network. Fedora Core 3 has a kernel update. Is there a way to include this kernel during the install, that way we dont ahve to do the update after the install is done?
Ryan
I am trying to use Perl to connect to a MS SQL 2000 Server. I Installed DBI, DBD::ODBC and am using iODBC. When I try and connect I get:
[root@localhost mSQL]# perl connect.pl
DBI connect('dsnName','userName',...) failed: [iODBC][Driver
Manager]Data source name not found and no default driver...
I have been looking at this and was curious if anyone here uses it? Pros cons opinions on the product?
Also from what I understand you can make your perl scripts into executables. Does this mean you could create a perl script that is an executable and run it on a machine that doesnt have perl...
I want to parse information out of a linux command but am having a bit of trouble getting it to do what I want. The values I want to gather can be any digits caps or lowercase and can end in (rev [a-z0-9]) or not. If they end in this value I want to gather everything up to but not including...
I am trying to figure out how to get 2 subrutines called at the same time using Win32::Process. It seems like it should do what I want it to do. But I cant figure out the syntax. The example give:
============
use Win32::Process;
Win32::Process::Create($ProcessObj...
How would I go about executing a process and then continuing down the script. For example.
proc step_one{} {
copy file C:\file.txt D:\file.txt
}
proc step_two{} {
execute new command
}
step_one (Now I want this to be going on in the background...and move on down the script)
step_two...
If you set a variable and want to use that variable in a Proc you have to use the "global" command on that variable. Then it becomes usable. Like:
=======
set foo "10"
proc bar {} {
global foo
puts "$foo"
}
=======
This would print 10
I understand this. However, what if I want to...
I want to run a tcl script that will require md5.tcl. I see md5.tcl is located in the tcllib1.6 directory. If I run
package require md5
I get "can't find package md5"
How do I tell it where to look for the package?
thanks,
I am trying to figure out how to run a md5 on a file.
I have seen this done against a string. For instance:
md5pure::md5 "hello world"
But I would like to be able to run it against a file. Any suggestions you might be able to point me at?
Thank
I was wondering if it is possible to parse a text file using TCL. For instance if I had the following in a file called file.txt:
-------------
Ryan,3453,
Jack,0,
Tom,8948,
blah,99,
-------------
And I wanted to pull just the numbers out as variables how would I go about that? With Linux I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.