Is there a way to get DVD region code from command line (linux/ubuntu 9.10)?
I want to script this action and store the region code (and other data about DVD) in a log.
I want to update the Python build on my Linux box, but the only way I know how to do it is uninstalling the current version and installing the new one. My system is already up to date (I updated yesterday). I wanted to know if there is a way to update a specific program from the command line, like sudo apt-get update <program-name>. I know this command doesn't exist, but I'm hoping something equivalent does.
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 ??
Can anyone tell me how to access the Java Applet Console in Chromium for Linux?
I assumed there would be a Java application packaged with the JRE that would give me access through the command line, but I can't find reference to anything.
$ java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.2) (ArchLinux-6.b24_1.11.2-1-i686)
OpenJDK Client VM (build 20.0-b12, mixed mode)
I have an existing raid5 device which I created using mdadm on Linux.
When I created the device I set the chunk size to 64 but I would like to test the performance of various sizes but I don't want to have to rebuild my entire system to do so.
If it is not possible to do it live then is it possible to do this by booting with a rescue disk?
Any advice on the steps how to do this, either live or with a rescue disk, will be greatly appreciated.
Hello,
My cousin just deleted his Linux partition and another smaller partitio nand now Windows is not booting, no he does not have the recovery disc. When Windows tries to boot it goes to "GRUB" and says "partition not loaded". What are some GRUB commands? And is it possible to fix this without using the recovery CD? Thank you in advance.
I am trying to scp files from a windows server to a linux server with the original time and dates intact. When running the command:
pscp.exe -p C:\temp\somefile.txt user@server:/temp/
The file on the server always has the date/time of the transfer, not the original file. Putty SCP seems to be completely ignoring the preserve attributes flag. Anyone experienced this before and/or have a solution?
Is it possible to setup a mail server on a Linux machine without root permissions? I want to be able to create two aliases for a given mail ID. But if I remember correctly, it is no possible to do this without root privileges because I need to edit the configuration file and then restart the mail server. Does anyone have a suggestion to get around this problem?
I'm running Ubuntu in a virtual machine (host machine is Windows 7). Is it possible to use Fiddler in the host machine to capture the traffic from the virtual machine? Seeing as the virtual machine's network must be passing through the host computers NIC, can Fiddler capture the packets? (I don't know of any free alternative to Fiddler for Linux, except Tamper Data, but I need a bit more control). Thanks.
Hello I am new to ubuntu linux and am currently trying to configure my netbeans to work with PHP. I have found several tutorials to install all the applications I need and have installed a virtual directory for netbeans to run in. Unfortunately, whenever netbeans or I myself go to my local host I get an error 403. I tried modifying my settings to allow from localhost (instead of allow from all) but this did not work and am completely out of ideas.
I want to run a guest operating system under a Linux host with VirtualBox, but I don't want to run from within X. I don't want a headless configuration, I don't want to run VirtualBox in the background, I don't want any remote protocols. I just want the guest OS to take control of my console (keyboard, mouse and monitor) and render to the framebuffer directly, not from within an X window.
Is this possible?
Hy,
a friend and me want to share a Linux-Machine. We both need to get root-rights via sudo for administering that machine. Is it somehow possible to deny the access to the home-folder for the other one, although he can become root?
Thanks!
Hi
In my Linux server i have three network cards. The eth0 card is connected to ISP1, the eth1 card is connected to LAN and the eth3 card is connected to ISP2.
What i want to do is to automatically use eth3 as Internet connection if the eth0 connection fails. How can this be done?
Another problem is that my firewall is referring to eth0 as the server is doing NAT for clients this would be broken if eth3 is taken in use, how can this be solved?
I have 2 linux machines, they do not have internet connectivity or any other means of getting an external clock.
I need one of them to act as the "master"/server and the other machine to sync it's clock to that server. It's not important that the time is correct, it's only important that the time is the same on these 2 machines.
So, give I have a server (192.168.1.10) and a client (192.168.1.11), how do I set up /etc/ntp.conf on these 2 machines respectivly ?
I would like to boot directly from an external hard disk to improve performance over my internal notebook hard disk. My notebook has no native eSata jack but a pci express card.
As my BIOS doesn't support the card on boot time so no way directly booting it.
My question is, is it possible to work around this issue by using an USB stick or similar with a boot loader like grub and if so, will this only work for Linux or Windows as well?
I am pondering on what would be any implications in logging in via SSH as root?
Surely SSH is safe or am I kidding myself and falling for the unwary ethic of logging into a remote Linux box as root?
Thanks.
Hi,
I'm running a Linux server that - from time to time - faces heavy load and the conntrack table overflows. Since it's iptables firewall ruleset is very simple I'd like to turn it to stateless mode. I know that iptables can operate in stateful connection tracking mode and in a stateless mode.
My firewall rules are all in place I'm pretty sure that they are stateless but my question is how can I verify that the firewall is really operating in stateless mode?
I'm trying to setup a network architecture where one network is a low-latency low-bandwidth tcp control system (GBit), the other is a high-bandwidth udp (maybe tcp) network that could get saturated (GBit).
If I have two NICs inside a server running Linux. What happens to the low-bandwidth/low-latency network when the high-bandwidth gets saturated. Does each Ethernet card get the same amount of priority inside the kernel or would the low-latency network suffer from the high-bandwidth being saturated?
Is there some faster way than /dev/[u]random? Sometimes, I need to do things like
cat /dev/urandom /dev/sdb
The random devices are "too" secure und unfortunately too slow for that. I know that there are wipe and similar tools for secure deletion, but I suppose there are also some on-board means to that in Linux.
I have a pretty busy GNU/Linux server that I think needs more RAM. I know that the free command doesn't show the amount of RAM that is used.
So I was stumbling upon Commited_As in /proc/meminfo. It currently shows 57972 kB which isn't much. Is this the amount of RAM that the processes use "right now" or is this an estimate of how many additional RAM it would take to never run out of memory with this load?
I have a slow machine, mainly a Celeron with 250gb HD.
I'm planning to install a Linux distro and create a bunch of VMs for development.
Which distro should I choose? I plan to use this machine mainly as a small "hypervisor" to other vms.
Is it possible? What do you suggest?
Thanks!
I've set up a little media center computer running Arch Linux.
I want to eventually get it so that there is no keyboard or mouse required. Right now I want the solution to be SSH. My problem is that when I do something like mplayer movie.mpg over an ssh shell, I'll just get vo: couldn't open the X11 display ()!
How do I get this to work correctly and play on my TV(the display the media center computer is hooked to)?
HI all
sorry for my bad english
My program (GTK) runs in linux(ubuntu) without any problem and it's themes are fine but when i change my system to run just X and then my program , it runs but without any theme ,how can i configure my system to use theme in X for my program
REGARDS
I've been working with linux for a while but in a rather simple manner.
I understand that scripts in init.d are executed when the os starts but how exactly does it works?
How does the os know which paramater to pass to a script?
To start apache I would do sudo /etc/init.d/apache2 start. If I run sudo /etc/init.d/apache2 it doesn't work without the start. How does the os pass start to the script?