General :: Pass Several Files Between 2 System Boxes?
Aug 2, 2010
I have to linux boxes (ubuntu 10 and ubuntu 9), both are in the same network - i can do ping between them- so, I need to pass several files between them and i want to do it using the network, i went to nautilus and then smb://192.168.0.1 but i couldn't connect.
my question is:
-how can I do this?
-do I have to do it using samba?
View 4 Replies
ADVERTISEMENT
Apr 5, 2011
How can I use diff to compare the files of similar directories on to diferent linux boxes.
View 1 Replies
View Related
Mar 5, 2011
I am having trouble sharing files between Ubu and Win boxes. We have seval boxes hooked up to the same router. XP and Vista boxes are part of the same workgroup (lets call it FOO). No domain. It is a simple home network. Each Win box has its own name. Win boxes can see each other (by clicking Network icon from control panel). Shared resources can be accessed by providing user name and password. Now I need to make Maverick box a part of the the same workgroup. All group members should be able to access Maverick's shared recourse by providing user name and password and vice versa.
I installed samba (is that what I need?), but couldn't get things working yet. Official docs aren't very clear. What is the server name and domain? Win boxes don't need any of that. I can just click network icon and go into any computer I want. What are the steps to setup Ubu box similarly? Samba docs say edit smb.conf file. I have 2 in my box :
/usr/share/samba/smb.conf
/etc/samba/smb.conf
Which one is for editing. Where do I put FOO (our work-group name)? How to set permissions?
View 9 Replies
View Related
Oct 7, 2010
I installed fedora on my PC and laptop but no drivers installed especially on laptop
when installed ubuntu all drivers work and installed
my question is
is there is a way to get drivers installation from ubuntu and get it to fedora?
if it possible i will be glade
View 5 Replies
View Related
Sep 8, 2010
I have a line that looks something like this:
Code:
How do i put its output in a variable?
View 9 Replies
View Related
Sep 7, 2010
I'm trying to use system to call echo and pass variables to it. That was a success. The problem is the variables inside the while-loop i wrote cannot be manipulated. what I'm doing wrong here? here's the code:
Code:
#include <iostream>
#include <stdlib.h>
#include <string>
#include <sstream>
[Code]....
View 7 Replies
View Related
Feb 8, 2011
I'm playing around with a bash script to pass files to a program (such as VLC). I thought something like this would work:
vlc $( ls | sed 's/ /\ /g' | tr '
' ' ' )
ls shows the files in the current directory, then sed changes spaces to " " (to escape them) and finally tr removes the line breaks. I end up changing:
01 - Music Track.mp3
02 - Another Track.mp3
to
01 - Music Track.mp3 02 - Another Track.mp3
"vlc 01 - Music Track.mp3 02 - Another Track.mp3" works if I type it manually but my script reports a problem with `-'
It seems it's not escaping the spaces.
View 4 Replies
View Related
Jul 14, 2010
I was trying to set my wireless to start up when the computer is booted like the regular ethernet eth0 but I can't figure out how to set the WPA pass phrase with system-config-network
View 2 Replies
View Related
Jan 25, 2011
I'm trying to write a python script that will use the current user's name when interacting. Ex: when started, it should say "hello daweefolk" when I am logged in.
I've tried
Code:
username=os.system("echo $USER")
but the variable remains empty.
What is the correct code?
View 1 Replies
View Related
Jun 4, 2010
How to find, what are the files (system & user) created after login to the system in RHEL 5.0?
Any single command available?
View 1 Replies
View Related
Sep 21, 2010
If I am logged in as root in a linux system and I run command rm -rf on / folder, should it remove all the files? also the kernel?
View 4 Replies
View Related
Jan 21, 2011
I cut paste sys folder, tmp folder, and many more folder to a backup storage place , after that folder icon and other icon converted into txt icon , i can make any folder but can't access, can't open storage, thrash disappear, terminal icon disappear, and also the application and places and system icons, after that someone suggested restarting may help but i can't restart it , so i unplugged the power wire and replugged it and restarted the system but it can't open , all things comes fail, and show INIT: "x" respawning too fast: disabled for 5 minutes. after each 5 mins this msg is repeating
View 4 Replies
View Related
Apr 14, 2011
I want to provide remote support for some linux boxes via ssh. I have no passwords on these machines and they are behind a nat, without port forwarding.My idea was, that whenever a client needs my service, he/she types a command on her machine, which builds up a two-way connection to my server. Using this two way connection I would like to do the task, he/she asked me to.It would be an ideal solution, if it would be transperent for the client, like a shared screen session...
View 3 Replies
View Related
Jun 5, 2010
I have two Fedora 10 boxes. Both have a user account, Andrew. I use this account all the time.
Now when I put my USB drive (ext3-filesystem) in box I, create a file in it. It works. But when I attach it to box II and try to access the files, it gives me error - Permission denied. I have to use
Quote:
sudo chown -R Andrew
Only then I am able to access the files in it.
When I attach my drive to box I again, it also gives me error - Permission denied. So in both boxes, I have to use
Quote:
sudo chown -R Andrew
first. Otherwise I get Permission denied message.
This means Andrew on both systems is different. How can I make Andrew account on both systems same? So that I can access files on my usb drive without running chown all the time.
View 5 Replies
View Related
Nov 1, 2010
I have tried to find a simple "how to". People testify how simple sharing over Linux networks is, but I just can't make it.I have a desktop with Mint LXDB on it. My wife has a laptop with Ubuntu Lucid Lynx connected with a wireless LAN to a D-Link router.
But I can't open mine from her laptop. My aim is to connect her to a backup station connected to my computer. I have been looking into https://help.ubuntu.com/community/SettingUpNFSHowTo. It is six pages long, complicated and i can't make it work.If networking in Linux should be so simple and native, there must be a better way..I hope.
View 14 Replies
View Related
Nov 9, 2010
I have a printer connected to one PC running slackware. The printer is set up to be shared through Samba and I can print to it from my Windows laptop.I would however like to use that printer from another Linux machine (running Ubuntu).Do I need to go through Samba to do this or is there a better way with it being linux-linux?Everything I've found on google relates to going from Linux to Windows unfortunately.
View 5 Replies
View Related
May 25, 2011
I need create ssh forwarding to other linux box that works as a proxy.I have two linux boxes(centos 5.5), one in the office(server1) behind firewall, other at colocation(server2)server1 has squid proxy instaled on port 3128.i cant use server1 as a direct proxy from home because its behind firewall.iwas able to create ssh tunnel from server1 to server2 and when i log in to server2 ican ssh root@localhost -p 12312 to server1
what i need is configure server2 so it forwards port server2:3128 to server1:3128....and i could add server2 ip addres and port to firefox proxy's and access ofice network.
View 3 Replies
View Related
Jun 14, 2010
I have searched for at least 1h for this to find but I didn't found anywhere how can I do to check for large email mail boxes. I run qmail as mail service
View 5 Replies
View Related
Mar 9, 2010
I have a couple things I think is my video card. One annoying thing it does is to put half inch square boxes in random places and times that might be trying to display what was in that spot before you changed the window. Sometimes it can be important information so I had to find a way to do something about it. I couldn't get rid of them but I could move them out of the way by moving the pointer to a different area and turning the scroll wheel. That would put the square in the new area where the pointer was.
The other thing is very bad scroll control. Sometimes I would have to use the arrows in the corner. Sometimes I had to drag the slider which moved hard, not at all or very delayed. The squares also make highlighting very difficult. Because an area will not be highlighted you don't know the results until you paste it. It might be perfect. I believe the video card is on the motherboard. I do have a spare slot so If needed I could put in a new one. Where is my title bar at the top of a screen which allows you to move it around or -minimize or maximize or close.
View 14 Replies
View Related
Sep 12, 2011
passing a wild card array to cp, I know it can be done but cant figure it out, ive got 3 files all start with the word somefile but have 3 different extensions
somefile.conf
somefile.dat
somefile.py
there in a folder with a bunch of other files and I just want to copy them to a different location. I remember is being something like cp somefile.[py conf dat] /somewhere but this isn't working Ive searched the net and can't find it with the keywords i'm using.
View 1 Replies
View Related
Jul 6, 2010
I've got a sticky little problem with a bash script. Please consider the following code:
Code:
#! /bin/bash
processArgs() {
echo "Count = $#"
while [[ $# -ne 0 ]]; do
echo $1
shift
done
}
processArgs $* If I call this script with Code: ./script first second third it'll print each of the argument on a new line - exactly what I would expect. However if I call it with
Code: ./script "Single Argument" "Second-Argument" it splits the first argument in two using the space as a delimitor. The problem appears to be the call to processArgs, where $* doesn't honour the quotes around the variables sent to the script.
View 4 Replies
View Related
Sep 22, 2010
Is there any way i can pass two / three values to grep. Basically i want to list the lines in the file with three different values. Currently I'm using three grep to get my work done.
EG: more Filename | grep text1 | grep text2 | grep text3
BRs
View 2 Replies
View Related
Nov 22, 2009
I want to pass a variable from one script to another, I have a feeling it's extremely simple.
I looked at exporting, but apparently that clogs up the shell, so I don't want to go down that route. Any suggestions?
View 2 Replies
View Related
Jul 27, 2010
Is it complete unsafe to have a ssh key with out pass phrase ?
View 4 Replies
View Related
Jul 16, 2010
I'm having trouble trying to generate an SSL server key WITHOUT a pass phrase.
Here's what I did. Wrong, obviously.
Code:
View 1 Replies
View Related
Feb 7, 2011
Can anyone tell me how to hide files on Linux
View 4 Replies
View Related
Apr 8, 2010
i want to boot my system by lan. and then how can i use installation files placed on another system
View 3 Replies
View Related
Jul 28, 2010
What i want to do is create multiple informix sql statements & later run them via a bash script.
Here is what i have so far (this works) but is meant to be run from a cron job so it only does one day at a time:
echo "
update hst`date --date='yesterday' +%m%d%y`
set x = 'GARP'
where y in ('CRE', 'LAC', 'SRL', 'JAG', 'JNM', 'BIM')
and appl = '';
[Code].....
The problem here is it doesnt want to read the variable $x correctly so the statement fails.
View 1 Replies
View Related
Jun 9, 2011
I frequently use wget to download tarballs and zip files from the web, then either untar then or gunzip them. I do:
Is there a way for me to automatically pass the zip file to tar or unzip WHILE wget-ting?
In pseudocode: wget google.com/somfile.zip && unzip
View 3 Replies
View Related
Jan 5, 2011
when I am running the script below,it performs on whatever logfile u type ,i.e, ./scriptname logfilename.But how do I convert it into a function and then call it from another script.I mean how do I prompt the user to enter a logname and then capture the name in the function and when calling this function from another script how do I pass the parameter.
View 3 Replies
View Related