Im currently facing a dilemma here. I am web developer however I didn't yet experience using command line in unix/linux nor opened a command line. Now there is something wrong with the cron jobs I set. The hosting is PARALLEL PLESK PANEL. I found a solution in this link: http://forum.parallels.com/showthread.php?t=110192 and says that I just need to put the ff.
Greetings!
Trying to create a socks (-D) ssh tunnel - Linux box to Linux box (both centos):
sshd running on remote side ok.
From local machine we do / see this:
ssh -D 1080 user@8.8.8.8.
user@8.8.8.8's password:
bind: Cannot assign requested address
(where 8.8.8.8 is really my server's IP and 'user' is my real username)
I am logged into the remote side in this terminal-window.
When i do: sudo sh /etc/rc.local it works perfect but when i reboot my system, it wont start.
There is my rc.local file:
Code:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
I need to run arp command or any other s/w on linux who can show output of all mac address of computer that are connected in local area network wired connection . This command need to run apache from root . So security concern is also matter .
Prompt reply would be appreciate .
After installing a Canon printer in Quantal, in order to print I have to start ccpd at each restart with the command
sudo /etc/init.d/ccpd start
This should be automated, says the driver manual. But before doing that, I believe that a script for that command must be created. Or is there a way to make the command run at startup without creating a script first?
(I'm trying to run a script at login, and this is the way I've found to do it.)
I'ved edited /etc/rc.local with a line such as bash /home/me/script.sh.
I've made that script executable.
when logging in, it doesn't seem that my command is being executed upon login. What steps could I take to debug this?
My distro is Linux Mint 12 running Gnome.
Im trying to write a script using the host command but its not working properly. I cant understand what Im doing wrong. When I use it at the command prompt, it works fine. But its being used actually in the script, it says its not found: 2 SERVFAIL. Can anyone help me? Here's what I have so far: no matter which way I've tried it, its not reading the IP address.
I would like to simply re-assign a variable (to be specific, increment it by 0.050) in a bash script. In the following script that I wrote, i is an (integer) index, and mytime is a decimal/double/float number.