Friday, March 1, 2013

How do I upload a folder recursively via SSH through a linux terminal?

Q. The problem is quite simple actually. I have a folder in my desktop which I want to be able to upload to my server via SSH. I want to be able to do that using only the linux terminal. Thanks
I don't know about import/export functions. I just want to upload via SSH. I know it's possible, I just don't know how.

A. See the SCP command (syntax in source link). It copies files over ssh. As you can see, it has an option to put an entire folder over at once.

Alternatively, there's SFTP (secure-ftp) which tunnels a ftp connection through ssh (valid only if the target server also has ftp service in addition to ssh).

How do I transfer files to and from my computer I'm remotely connected to through SSH?
Q. I want to be able to transfer files to and from my home computer remotely while accessing it from an SSH connection...How do I do this? Do I need to set up an FTP server on my home computer? It's running Debian Linux and I access it from my Android phone using ConnectBot.

A. If it's running an ssh server that will include scp and usually sftp.
You can connect with any scp/sftp client like winscp, rsync. If you set up SSH keys access you need not bother with passwords (though it's still a good idea to have some passphrase in case you lose the phone)

ftp is less secure, unless you use SSL

I am accessing my home linux box remotely from work. How can I copy files from that linux comp to my local com
Q. I am accessing my home linux computer remotely from my MacBook via SSH. I am behind a NAT, so I don't have a static IP. I want to retrieve some files from that linux box to my MacBook. Is there a reverse SCP command that I can use so that I can SCP the file from my home linux box to my MacBook at work through the already established tunnel?

A. You use scp direct (not through the tunnel). It can copy either way. One option is to log in to your Linux box through ssh, then use scp to the Mac from there. you would need the address of the mac, and forwarding set up at its' router. Alternatively use the scp from the mac console to your Linux machine. You must have its' address if you can ssh to it.



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

How do I set up a central media library for my home?

Q. How do I set up a central media library from which I can access iTunes, DVR hard drive and the Internet from any TV in my house?

Need/Want:
1-Access iTunes from anywhere, wirelessly (all our music in on a separate driveânot NAS though)
2-Access the Internet from any of my TVâs with a mainstream browser
3-Need to have DVR capabilities, ideally centralized and accessible from all TVs
4-Wirelessly project sound to multiple speakers

I have looked into Apple TV and Sonos, but neither fill all these criteria. I am open to multiple devices, or custom configuration of dedicated PCs to do this.

I appreciate your suggestions.

A. The companies listed below are a few of the leading producers and developers which offer a variety of products and software for media center/server applications that may meet your needs. I apologize that I am unable to provide you with information that specifically addresses your needs but hopefully you'll find a solution using the resources listed below.

Niveus Media
http://www.niveusmedia.com

CodexNovus
http://www.codexnovus.com

NuVo Technologies
http://www.nuvotechnologies.com

Superna
http://www.supernasystems.com
Superna Media Server
http://www.supernasystems.com/products/software/media_server/

Cortexa Technology
http://www.cortexatechnology.com

Exceptional Innovation
http://www.exceptionalinnovation.com

TwonkyVision MediaServer
http://www.twonkyvision.de

Allegro Media Server - UPnP Media Server
http://www.allegrosoft.com/ams.html

Axonix
http://www.axonix.com

Embedded Automation
http://www.embeddedautomation.com
Embedded Automation's analysis of the Windows Home Server* beta
http://www.embeddedautomation.com/forum/showthread.php?t=334

Crestron Electronics
http://www.crestron.com

Audio Design Associates
http://www.ada.net

Russound
http://www.russound.com

Niles Audio - IntelliControl ICS
http://www.intellicontrol.com

Audioaccess (Harman International Industries)
http://www.audioaccess.com

ReQuest
http://www.request.com

HomeLogic
http://www.homelogic.com

Savant Systems
Linux-based, open architecture, home control and automation systems.
http://www.savantav.com

Linux Home Automation
http://www.linuxha.com

Microsoft Windows Media
http://www.microsoft.com/windows/windowsmedia/default.mspx
Windows Media Connect
http://www.microsoft.com/windows/windowsmedia/devices/wmconnect/default.aspx

*Microsoft Windows Home Server
http://www.microsoft.com/windows/products/winfamily/windowshomeserver/default.mspx

Windows Media Center and Media Center Extender
http://www.microsoft.com/windows/products/winfamily/mediacenter/default.mspx
Windows XP Media Center Edition 2005
http://www.microsoft.com/windowsxp/mediacenter/default.mspx
Windows Vista Help - Using Windows Media Center
http://windowshelp.microsoft.com/Windows/en-US/Help/c426ea35-ea47-4ee3-8f73-7ee4b0bd7de31033.mspx

HP Digital Entertainment Centers (DECs)
http://h71036.www7.hp.com/hho/cache/309484-0-0-225-121.html
HP MediaSmart Server
http://h71036.www7.hp.com/hho/cache/447351-0-0-225-121.html
 

What is the difference between Windows and Linux Servers?
Q. In not too technical terms - what is the difference between thse two? If I were to use .net nuke , is there a perference over which server I should use?

A. Wow! This is a question that pops up all over the web, and one that I had myself as a web services person. You can read a lot about the differences - as well as the advantages of one over the other. In the sources area, I've listed several such discussions and articles, including the last item which is a lengthy discussion in a Wikipedia article on the subject. In terms of finding something non-technical, I would recommend the first site.

The article from AskWebHosting.com states the following about using .net: "If you intend to create your site using ASP, FrontPage, the .NET environment, Windows Streaming Media, Access, MSSQL, or any of the other Microsoft proprietary technologies then you probably need to use a Windows host. There is limited support for a number of these technologies in Linux, but they can be expensive and are usually lacking in features."

But you're talking about using DotNetNuke, which is an open source answer to .NET. As such, it may not matter at all, from that standpoint, which option you choose.

I hope that these sources are helpful!

Librarians--Ask Us, We Answer!
This question was answered by Sarah Houghton-Jan, Web Services Librarian at Californiaâs San Mateo County Library (www.smcl.org). To get instant-answers, contact your local library. Find yours at http://lists.webjunction.org/libweb/Public_main.html. Many library websites offer live browser-based chat reference 24/7 (http://liswiki.org/wiki/List_of_libraries_providing_virtual_reference_services) and/or instant messaging chat reference (http://www.libsuccess.org/index.php?title=Libraries_Using_IM_Reference).

What is the common place to mount a network drive in linux.?
Q. I have a Ubuntu server that I hope to use to share files to my roommates using Samba. I know I can mount the drive anywhere and then share it but is there a common place that it shold be mounted?

A. With Ubuntu most drives (other than the obvious /, /boot, /home, etc.) are mounted under /media, but it really doesn't matter.



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

How to enter password by linux command?

Q. As the title.I would like to find out How to enter password by linux command?

eg: when you write a script to sudo root. then you will be asked to enter password.
how can i do it by linux script? Is there a command can do the job?
Thanks in advance.

A. Don't. just run sudo script instead of trying to put sudo into the script.

What does it mean for windows users if basic knowledge of linux commands are required?
Q. For example FTP and Telnet both run Linux. So that would indicate that some basic konwledge of Linux commands is necessary. However, I am a Windows user...

A. FTP can run on Linux, but it doesn't always run on Linux.

You can run an FTP server on Windows and an FTP client on Windows. Same for Mac.

It is just a File Transfer Protocol. The protocol is cross-platform, not Linux-specific.

Is there a way to reset the stats for the Linux command df?
Q. For a while now whenever I use the command df in Linux it shows that one of my partitions is full but if I use the du -ac command it shows that I am using only 4.2 of 7.8 Gigs of storage. Is there a way to reset the stats for the Linux command df?

A. Df and du do not measure the same exact things. You can google for: df VS du and see a lot of explanations.



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

How to use linux centos terminal basicly?

Q. i have free vps by Host1Free and centos installed. Ok i want to niow how to upload, delete, rename, move, copy, list files using putty when o connect remotelt. To say this simply: i want terminal commands to manage files.

A. Try these links:

http://www.tuxfiles.org/linuxhelp/cli.html

http://linuxcommand.org/learning_the_shell.php

How to have linux VPS keep running java server?
Q. I have the server an all working.
Minecraft server actually.
But I noticed the server will stop when I close my putty the server will server aswell.
How do I get it to constantly run? Even if my computer is off or not

A. one way would be to use nohup. just start your program with something like:
nohup ./yourprogram
that will keep the program alive, even when you log out. but this will not work with programs that take input from the console.
another way is to use a screen session (if screen is installed). with the command "screen" you start a shell session in which you can then start programs. if you press ctrl+a, ctrl+d (in that order), the session gets detached and will continue after you log out. after logging in, you can resume the session with "screen -r sessionname".
for more informations, try "man screen" or "man nohup".

How do i configure vnc on a linux vps?
Q. I installed vnc server with yum on putty and don't know what to do now, launched it and can't connect to it.

A. You have a vncserver running?

vncserver -list

If not, set your vncpasswd with that very utility if you haven't, then run...

vncserver

to start one up on the default port 1. Can also say "vncserver :2" and so forth. Then connect to the IP with a viewer. Might have to say IP:5901 (5902, whatever the port is you started it on)

vncserver -kill :1 (or whatever port), when you're done with the server.



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

What Linux operating system can you use to install Windows-based software right away with no software used?

Q. For example, Ubuntu needs a program called Wine to install Windows-based software. So is there another Linux OS that can install them right away? And if so, whats the lowest Linux OS memory usage?

A. Linux is Linux, Windows is Windows, the code base are different so theres no such thing, if there were, one would think no one would buy Windows anymore wont you ?

Is there a free app to monitor your system activities on Windows 7?
Q. I would like to monitor my network activities, memory usage, and other processes.
Something like the activity monitor that Mac OS X and Linux have? Please and thank you :)

A. I'm not sure if this is what you mean but there is a task manager.
Press Ctrl>Alt>Delete then select start task manager
:)

How to measure the performance of an Linux C application?
Q. I have written a C code, which uses fread, fwrite,. I want to measure the performance like No_Of_Blocks read and written by the application. disk usage, memory usage etc. Is there any tool to measure the performance of an application in linux?

A. lets see:
You can measure CPU performance using /proc/cpu. You can measure ethernet performance by using /sbin/ifconfig <eth_port>. You can use df to track data written to a filesystem/mountpoint. Take a before and after snapshot using the tool of choice and determine the metric you wish to measure.



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

How can I get Simply Accounting to work on a Samba enabled Linux file server?

Q. Simply Accounting states that for multi-user mode, all machines that use the Simply (client and server) must be using the same operating system. How can I use Windows workstations that run the Simply client with a Samba enabled Linux file server that houses the Simply database?

A. You can't. You need the same platform accross the network

Do I need a 64 bit processer for a JFS file system to work properly?
Q. Running Arch Linux and am wanting to use JFS file system. Knowing that a JFS file system is a 64bit, would it be proper to have a 64bit processor?

A. Nope. Memory addressing is a different beast than block addressing.

FS code is there to transfer data from a block device to memory and vice versa, and to provide a sane namespace for files. The processor never has to directly address the blocks, thus there is no reason you couldn't access a 64-bit file system with a 32 or 16 bit processor.

What partition code is the native Linux file system ?
Q. and What partition code is the Linux swap file system


thanks a mil !

A. The general native linux filesystem i/o is ext3.



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

is it possible to update crunchbang linux whilst running it from usb?

Q. i run my crunchbang from usb (to avoid the bothersome choice everytime i turn on my computer) is there any way for the updates to stick whilst running it from the usb?

A. No. I'm guessing that your distribution is running from an image on the USB. You'd have to update a real installation and create a new Live USB image.

And is the choice more bothersome than not being able to keep your distribution up to date?

How can i tell which files a specific process is using in ubuntu?
Q. I am trying to find out where a temp file for a program is being stored. im sure linux has a way of doing this (seemingly?) simple task.

thanks

A. I have 'conky' set up to give me information about top processes as part of my wallpaper - but I think for detail, you can go through GUI or terminal, up to you. You should search for information about conky in Crunchbang forums.

If you prefer mousey answers, then using GUI - open system monitor (add it to your panel, right click and open from there maybe) - processes, and view 'command line'

Problem is that GUI affects your system too much, so better open terminal (install terminator, it's very cool, also install cowsay cos that's really cool too)

type 'htop'

if it isn't installed, your terminal will tell you exactly how to get it ;)

I'm apt to think you'll get my meaning B-)

With terminator, you can actually run HTOP, and you can remove the scrollbar and window border too - and actually have just a display like a widget on your desktop. To move windows with no decoration, you press a modifier (usually ALT and drag with the mouse, but if you had problems with GIMP shortcuts, you should change the function for 'move' window to use 'ctrl+alt')

Ok? anything else? :P

What was your opinion when you upgraded from XP to Ubuntu?
Q. I am wondering what you think of Ubuntu when you upgraded from the outdated and insecure XP.

I used Ubuntu, and find it is far more complete and more secure then anything ever seen from Microsoft.

You can actually use it without no security software because everyone targets Windows.

I will never go back to Windows. (Note: This is from a person who said a few months back that "Linux is for script kiddies" or "Linux is only used to inflate your computer ego".

A. I really wasn't impressed when I installed Ubuntu 7.04 from a CD. I was happy with the 25 minutes installation time, but then had loads of stupid problems - firstly I couldn't connect to wireless internet, and then I had problems trying to mount things, and found that I had to manually edit text files to set some things up....

What else - well the first thing that started to change my mind is that whilst editing one text file, I restarted and had no desktop - it wouldn't load at all, and I decided to try something. I'd set up an alias already 'sudo apt-get install' is just 'install' on my system.

I typed 'install gnome-desktop'

And it did. Wow. Then with Ubuntu 8.10 most of the issues were ironed out - just eight months later!!! Hard drives just appear and I could just format to NTFS if I wanted to, great - good for USB's.

I still have XP - but gradually I used it less, and less, and less - and now it's only for Windows games - I disabled the networking. Ubuntu works perfectly straight from a fresh install of Jaunty 9.04 - Printer, Wifie, Monitor - everything is perfect from the start.

Summary - I wasn't impressed when I first tried Ubuntu, it's too different and seems harder.

Now, however, I laugh at the amount of time I took to install XP last year, because Ubuntu installs in 25 minutes - including drivers for most stuff (nVidia is a 5 minutes download, and I have .deb installers for my printer).

I also have XP in a virtualbox for anyting that refuses to run on ubuntu and has no decent replacement (i.e. ACDSee Pro2 for moving pictures from Camera to Computer because it has a couple of killer lighting adjustment tools).

I never missed Photoshop, it is too hard and complicated - and I learned to do ten times as much stuff in GIMP in just 6 months using it (than with 3 years working with Photoshop)

Then, of course, sekurity - forgot even how to spell that. Why do you need to worry about security with your computer? just make a strong password and it's finished right? Surely nobody would ship an operating system that is Insecure by default!!!

But I can tell you, if you get interested in something like 'conky' you'll start getting really interested to edit a text file and make it your own (google search for 'crunchbang' and 'conky' and find a really cool forum for it.

Mac is for inflating ego - Mac is the BMW (based on freeBSD actually, but with layers on top that aren't open) and priced like a Benz - it's over priced and fine for poseurs everywhere.

I actually like the Mac 'globalmenu' concept, so I found out how to install it on Ubuntu - nice way to save on vertical screenspace.

Join the party, go to linuxoutlaws.com and sign up for their very funny podcast (they do a really cool 'microwatch' section every week)>

You'll love it, it's a real blast :P

BTW - never use 'Automatix' but DO use 'Ubuntu Tweak'



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

Newer Posts Older Posts Home