General :: Receive Files Sent As A Parameter?
Feb 26, 2011
as $1 $2 represent first and second argument..for example- in a shell script..../commfile file1 file2 file3 now in commfile i want to receive files by running a loop...like
for (i=1;i<$#;i++)
do
cat ${i} //help me here
echo do u want to proceed
[code]....
View 9 Replies
ADVERTISEMENT
May 4, 2010
I got the following modprobe scripts modprobe -k -q streams what does the -k parameter mean?. is it exist in older modprobe? I don't see -k parameter in recent modprobe.
View 1 Replies
View Related
Aug 5, 2010
Anytime someone tries to send me files over YIM or AIM when I am using Pidgin 2.7.5 on Arch Linux, it fails mid-transfer, telling me that they cancelled, and telling them that I cancelled. The same computer using Pidgin on Windows manages to transfer these files successfully.Is there some sort of checklist for these issues?
View 4 Replies
View Related
Jul 19, 2010
I am running Slackware64 on HP Dv2500 Laptop. I am using KDE4 I am using WINE to run a Windows program. At some point the program requires information from a website. IE will ask me to allow the file upload. I'm also getting the same result using Firefox through WINE. I can access the site directly without WINE. So I'm assuming Linux is blocking WINE from receiving the files needed to run the program.how can I get Linux to allow WINE to receive the needed files? One last oddity.I didn't have the issue until I upgraded WINE so I put WINE back and I still have the issue even with the older WINE slackpak.
View 3 Replies
View Related
Nov 6, 2010
can't receive files via bluetooth whatever I do. When sending from mobile the file transfer dialog opens, but error pops up "Cannot connect to OBEX device". "Cannot copy file.. The remote system refused the network connection"I have
Code:
$ sudo dpkg -l |grep blue
ii blueman 1.21-2ubuntu1
[code]....
View 6 Replies
View Related
Feb 13, 2011
pair my mobile with ma ubuntu laptop,, but i am not able to receive files.. infact am not able to start the Bluetooth manager also
View 2 Replies
View Related
Oct 4, 2010
why I can't send and receive files with pidgin? when i send files it the dialog is always closing
View 2 Replies
View Related
Dec 7, 2009
I can't send or receive any files with the Empathy Messenger in F12, using the MSN Protocol.The Menu Entry "Send File" in Active Chat remains grey.When my Friends send me files they ask me to accept the Download but I see nothing.
View 4 Replies
View Related
Jul 8, 2010
I can send files to my bluetooth mobile phone, but when sending a file from the phone to the PC, the phone issues an error message "Sending failed", and I can not figure out, why. /var/log/messages does not contain any related entries. Do you have any idea where to look for the problem?
I am using KDE. I found many complaints about the same problem, but they all date from 2007-2008, so I guess this is not the same problem.
View 1 Replies
View Related
Mar 21, 2011
I need a simplistic explanation of positional parameter. Have read all I can get my hands in, I kinds of understand to an extent, but I want to get. Full grasp of it. Oils like to know what is does, its functions, when to use it, and all its functions. Thanks in anticipation. Distro Red hat.
View 6 Replies
View Related
Dec 28, 2010
It looks like the -t parameter is no longer available when using the shutdown command. What I'm trying to figure out is how to send all the daemons the kill signal, but wait a certain amount of time before actually halting or rebooting. I can't be the only one wanting to do this, but for all the searching I'm doing I can't find an answer.The following only warns, then waits 1 minute before sending the kill signal and immediately halting, correct? Or am I getting this completely wrong?
Code:# shutdown -h +1
View 4 Replies
View Related
Oct 11, 2010
i m using following kernal.
Code:
# uname -r
2.6.18-128.2.1.4.9.el5xen
According to security manual i need to incorporate following changes into kernal parameter but i m not sure when and how these changes will be implemented.
Code:
net.ipv4.conf.all.accept_source_route must be set to "0"
net.ipv4.ip_forward must be set to "0" (zero)
icmp_echo_ignore_broadcasts must be set to "1"
net.ipv4.tcp_syncookies must be set to "1"
[code].....
View 9 Replies
View Related
Apr 23, 2011
I am familiar with bash, but my works require csh. in my .cshrc, I created this alias:alias cd 'cd !:1; ls -l' It works very well except for one case: when I cd without any parameter:
cd In which case, I get the "Bad ! arg selector" error. How do I eliminate this error?
View 1 Replies
View Related
Aug 4, 2010
I recently enabled noapic on my laptop because it was experiencing strange input freezes on several distros that I tried.Ok, so it does not use the ioapics. My question is, what does this mean for the system? If it used apics before, what happens now? I am a freshly graduated computer science major, and I have worked with basics pics on projects before, but I am curious how this effects the running system.
View 2 Replies
View Related
May 10, 2011
I want to create a variable that when passed as a parameter to another bash script will keep its string quotes (so it stays as one parameter). What ways can I achieve this cleanly?
Code:
john@ubuntu:/usr/local/src$ cat foo.sh
#!/bin/bash
echo $0
[code]....
View 8 Replies
View Related
Mar 10, 2010
I have a backup schedule running a full backup everyday. I'm using webmin to manage these backup now. The problem is when the dump command sends a prompt asking if we want to rewrite the tape, Webmin does not display this prompt and we end up having to terminate the backup -> erase the tape(which takes a long time) and then run the backup again.I was wondering if there is a technique that could be used to pass "Yes" as a parameter to the dump command, much like in windows? or if there is a more efficient way of getting this done.
View 2 Replies
View Related
Aug 20, 2010
I am following an instruction on the Internet to set up a timer=1. "You can force use of the timer interrupt by using the timer=1 module arameter (or oprofile.timer=1 on the boot command line" When I type "modprobe oprofile timer=1" at the command line, I got a warning message saying that "Deprecated config file /etc/modprobe.conf" So i want to try other way by setting it at the boot command line.
View 2 Replies
View Related
Mar 3, 2010
What is the default kernel paramtre valus for linux RHEL Machine?
View 5 Replies
View Related
Sep 13, 2010
I've done the usual edit of /etc/sysctl.conf to include the parameter, but it just tosses errors. I haven't had to tune a kernel in a very long time, what's different about it nowadays (or have I simply forgotten how)?
edit: Added "kernel.semmni = 2048" to the tail of /etc/sysctl.conf and then ran "sysctl -p". End result is an unknown key error (apparently kernel.semmni isn't the valid name anymore?).
View 2 Replies
View Related
May 31, 2011
First off all, I'm booting from a large MEMDISK using PXE (900MB) . Due to our environment, I cannot decrease the size, nor move files to a nfs/iSCSI/... environment. Everything needs to be in that MEMDISK.
Now, when I try to run the OS, I get out of vmalloc space. How do I increase it to a number which allows such a large image to be mapped? I tried the parameter "vmalloc=1280M", but with that parameter, I don't get past the Booting the kernel screen.
Memory should not be an issue, since the machine(s) have at least 2GB RAM. (900MB MEMDISK + 256MB for other kernel stuff + 768MB for user stuff). The machine(s) have a Pentium 4 Extreme Edition processor, with hyperthreading and SSE2, but no EM64T.
How can I boot the system, and get past that message? Decreasing the MEMDISK size is not possible too. It is at the smallest we can get with our userland + kernel + modules.
View 1 Replies
View Related
Jan 13, 2010
I am trying to do a fsck on my ext3 partition, but so far failed to let the system come up in single user mode and having the partition mounted read only. It says in the kernel parameter that it is read only (RO) but still mounts it RW. A remount with mount -o remount,ro does not work, since / is always busy. what to do to get a fsck done? I don't want to boot into a rescue system, this should be possible on a running system (like Windows does it, when rebooting)
View 1 Replies
View Related
Dec 13, 2010
I am using grub of version 2, and current resolution vga=795 (probably). X runs at 1680x1050. So what I would like to know is, how can I count the right VGA parameter number for grub, to use another resolution?
View 11 Replies
View Related
Oct 19, 2010
I need to shift the positional parameters of a script inside a function, but any call to "shift 1" inside a function shifts only the parameters of that function. Is there some way of accomplishing that? I tried another approach using an alias. The problem is that I have to take the result of the alias. So I call in my script:
Code:
var=$(shiftalias)
At first time, it works correctly, but after that it does not shift the parameters anymore.
View 9 Replies
View Related
Nov 4, 2010
I have an issue that is fixed by changing the lpfc driver to run using MSI interrupts. This is done by adding "options lpfc lpfc_use_msi=2" /etc/modprobe.conf.local file.
Is there a way to make this change using kernel boot parameters?
View 1 Replies
View Related
Apr 26, 2010
Ive read a few books and a lot of tutorials on C but can't find this topic explained in a deliberate way.I can find bits and pieces but nothing thorough.
View 9 Replies
View Related
Jan 31, 2010
(variable substitution?)
(parameter expansion?)
Code:
run_repeatedly()
{
NUM=0
while [ <irrelevant stuff here> ]
[Code]....
run_repeatedly "programX -o "./messy/path/output-$NUM.txt"" The echo inside the loop prints "...-$NUM.txt"; obviously I'm aiming to have bash substitute the iteration number so that I end up with many output files not 1.
View 5 Replies
View Related
Mar 21, 2011
so I'm really new to using Linux, and I searched the forums, but most people seem to have trouble sending mail, not receiving it. When I send mail from the CLI, it gets delivered fine (from travis@travishoward.net) But when I try to reply or mail to the server, I get this message back:
Code:
----- The following addresses had permanent fatal errors ----- <travis@travishoward.net>
(reason: 554 5.7.1 <travis@travishoward.net>: Relay access denied)
[code]...
View 2 Replies
View Related
Apr 9, 2011
I am new to this forum and essentially new to Linux, (I used unix between 95 and 99) but the cobwebs are still very thick. I installed Ubuntu 10.10 on an extra PC. I have it pretty much as I would like it now, except for email. I am trying to use Evolution and it is sending mail fine. I cannot receive email. I believe this is because my DSL provider, Windstream.net, says
they support only Outlook and Windows Live mail. I could be way off base, but it seems that it should be able to work. When I mentioned Linux, it basically shutdown their help. I have email through them on Windows 7 on another PC. Is there some way around this so I can use the email address xxxx@windstream.net ? Oh, they use pop3 and require authentication, which is what I have configured. I do not get any error messages, just never get the email. Perhaps another email package?
View 5 Replies
View Related
Mar 19, 2010
I am failing to receive e-mails on client machines. My server has linux Red Hat 7.3. Can you help me with linux command to view sendmail configuration.
View 1 Replies
View Related
Jul 5, 2011
I'm facing a strange problem. I have a Debian squeeze machine connected to Internet through a 3G USB modem. The machine connects as expected, and I can resolve domain names and establish HTTP and SSH connections.The problem is when I try to communicate to that machine from another PC connected to Internet. The machine doesn't respond to PING and I can't connect to the SSHD installed in it. If I connect the machine to the local network, it works right.
route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default * 0.0.0.0 U 0 0 0 ppp0[code]...........
View 1 Replies
View Related