I use in Ubuntu proftpd to send files with a little script over the internet to my website.
If I write all these scripts it's a lot of work and my first question is what is the best way to send files over.
For example do you need to type:
put /directory/file.gz /www/file.gz ? or can it shorter? like
put /directory/file.gz /www/ because then ftp complains it can't create file
I am writing a script in which I need to send a email to a @vtext.com address and was confused on how to go about this. (Its in a perl script so ideally it would be a one line command so I can just put in back ticks).
I'm trying to get some insight on how to move forward. I have a bit of a problem. I am just starting out in unbuntu and I have no experience working with 2 os on my computer (coming from windows). I have a lot of files (music, pictures, movies) in windows, but I want to use them on unbuntu. Is there a way for me to have both os access those files, or better yet, is there a way to send all my files to unbuntu, so I can start deleting all my stuff in windows?At the moment, I'm planning to burn all my files to dvds (in windows), then just drop them off in unbuntu, but I'd love it if there was a way which didn't involve me burning tons of dvds...Oh yea, and programs too... can I transfer them, or do I need to just reinstall them on unbuntu (like stepmania, guildwars, dvd shrink, kmplayer, etc
I typically use rm to delete files, but they don't end up in my trash folder in case I want to recover them. How do I make that happen and how do I access my trash folder via terminal? Doing me best to work from terminal rather than GUI and this one has me stumped. I am using Mint Julia.
I have 2 computers with linux, How can i send with ftp files from computer1 to computer2 them(shell command)? Steps that i think should be done (miss shell commands): find inner ip of computer1 open the ftp port (21) of computer1 (make computer1 ftp server) send file from computer2 to computer1 with shell command
I want to close an open port which is in listening mode between my client and server application. Is there any manual command line option in Linux to close a port ??NOTE: I came to know that "only the application which owns the connected socket should close it, which will happen when the application terminates."I dont understand why it is only possible by the application which opens it ... But still eager to know if there is any another way to do it ??
I am using a script to start an application (with GUI, i.e. windows) in KDE. However, the window will always appear on the currently used desktop. I would like to define which desktop the application will appear to be able to just run in invisible in the background. How can I do this for KDE?
I did command: sudo -s chmod 770 . chmod 770 .. And now I cannot login on my test server notebook. Please do not ask why I use server software on my notebook. Cause I like it and I use it only for typing text en learning linux commands. So I have a notebook with ubuntu server 8.04.2.
First question is: Why have linux after command ls -l -a this output? drwxr-xr-x 21 root root 4096 2009-11-04 20:45 . drwxr-xr-x 21 root root 4096 2009-11-04 20:45 .. And how must it to set and use? What is it's function? How can I repair my server notebook? Must I unmount my harddisk with a sqrewdriver and connect it to/on an other linux machine? If its needed, I can do that.
I am trying to start a VirtualBox VM on a separate X screen (in fullscreen) so I can switch between Linux and Windows XP by doing Ctrl + Alt + F<.
I am basically trying to do something like this:
startx "VBoxManage startvm XP" -- :4 startx "VBoxManage startvm "XP"" -- :4 (is this correct for quotes within quotes??)
I get a "bad command line option "VBoxManage" back from the startx script so obviously I am not understanding the rules for how to write "shell magic".
How can I do this correctly, or perhaps there is a better way of achieving a VirtualBox VM on a separate X screen?
" > logfile.txt : gives an error extra character after the "
2- logsave logfile.txt 'send "show command;
" ': error invalid command
3- i simply tried to send the output of the whole script to file logsave /home/logfile ./script : seems that logsave work under root only
4- ./script > logfile : the problem with this is that the output of echo or (read "enter your id") command will not be displayed on the screen (actually nothing will be displayed, i have to open the log file to see the output). is there any way to save the log of the "send" ? or to save the log of the complete script without hiding the output on the screen?
I want to run a cronjob every 15 minutes that checks a directory for files. If the directory contains more than ten files I want it to send an email to me.
All I have is this...
*/15 * * * * ls -l | wc -l | [filename] | mail -s "This is just a test" [email address]
I would rather not write a bash script. Is there an easier way to do this? I was looking into some commands like find and grep.
Im using sid, have installed gnome-bluetooth but cannot send/receive, browse files on any device. It says that my "personal file sharing" program might not be installed but i have no idea what exact package is it
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.
+ I had struggled with getting it to work on 11.3, KDE 4.4. Brought in the KDE 4.5 repos and did zypper dup with fabulous success. Bluedevil 1.0-2.9 was a charm.
+ We're only days away from 11.4, and that was so painless I figured I'd go ahead and upgrade to 11.4. After hours of RTFM on zypper I got all the 11.4 repos (all I could find) and did zypper dup again.
+ Smooth, painless. Geen probleme.
+ Except: - the upgrade also upgraded bluedevil to 1.0-3.8.1. I've tried rolling back but the problems remain.
+ The problems are: - I cannot send files from the PC to the phone, although I can send files from the phone to the PC.
- The PC prompts are very short-lived and are obscured by the taskbar unless you are primed for them to bring up the notification manager instantly, so pairing from the phone to the PC is difficult
-I cannot browse the phone despite the app suggesting I can. I also had to manually install a directory (/home/$user/$phone_name) to avoid an error message. Presumably the app tries to mount the phone to this directory, but it does not succeed.
+ I do think I have all the necessary devel files, but would love to do a file list comparison with someone who has this working on OS 11.4/KDE 4.5.5 Yes, I know this is beta so don't abuse me, I'm more than willing to do trials and submit explicit data as I have here. But I also would like to get it to work. I had it working on 11.3 / KDE 4.5.5. FWIW, pretty much everything else works flawlessly on OS 11.4. Firefox 4 beta has a few problems, but that is not an OS 11.4 issue...
I am having an problem with bluetooth. Computer seems to find my mobile phone, I can send files from PC to my phone, but not vice versa. As I try to send, it pops "Failed" (in phone) and nothing happens. Kubuntu 10.04 Windows mobile 6 (HTC p3450).
I know that there is little need for me to install an anti-virus etc - but - I was thinking, it is a good idea to scan folders and files that I send to colleagues that run windows.Whats the best way and programme to do this? I guess I simply install an AV programme and thats it!