How do I accurately observe and measure the amount of virtual memory utilization and activity on Linux? I know there is vmstat, but how do I interpret the results? Or, what is better?
On a Linux server, I need to find all files with a certain file extension in the current directory and all sub-directories.
Previously, I have always using the following command:
find . -type f | grep -i *.php
However, it doesn't find hidden files, for example .myhiddenphpfile.php. The following finds the hidden php files, but not the non-hidden ones:
find . -type f | grep -i \.*.php
How can I find both the hidden and non-hidden php files in the same command?
Hi,
I'm looking forward to getting your thoughts on consolidating/virtualizing 3 Windows 2008 Servers and 2 Linux Debian Servers into 1 (powerful) machine.
What is the most cost-effective Virtualization software available to accomplish this. VMWare looks awfully expensive!
Don't ask why, but I would like to know a linux command, besides "la -laR", since that could not take that long according to where you are in the folder structure, that takes much time to complete.
Thanks for your help.
If a Red Hat or other Linux host has a conflict with an IP address, is there a way to have it display a warning message on the console or in a log, like Windows and MacOS do?
i.e. my computer has an IP address configured (or received from a DHCP server) but finds another device on the network using the assigned address. Will it log the conflict?
This is the standard question, "How do I set a process limit for a user account in Linux to prevent fork-bombing," with an additional twist. The running program originates as a root-owned Python process, which then setuids/setgids itself as a regular user. As far as I know, at this point, any limits set in /etc/security/limits.conf do not apply; the setuid-ed process may now fork bomb. Any ideas how to prevent this?
This is the standard question, "How do I set a process limit for a user account in Linux to prevent fork-bombing," with an additional twist. The running program originates as a root-owned Python process, which then setuids/setgids itself as a regular user. As far as I know, at this point, any limits set in /etc/security/limits.conf do not apply; the setuid-ed process may now fork bomb. Any ideas how to prevent this?
Could you share with me a few reputable businesses/websites where I can quickly onboard a RHEL/Centos Linux admin or even a MySQL admins (say if I need help with disaster recovery). I have a cloud server, and I would like to task an admin to perform specific maintenance or even periodic. With the abundance of solely-run cloud servers, I would imagine there's a demand for this type of service (certainly for me).
I need to access some Linux server behind NAT (no ports forwarded), so I need to have something like "phone home" like Teamviewer has. There is no GUI, but somebody can log in through SSH and dictate a password if it is changing (like Teamviewer). SSH (port 22) is enough (I can tunnel ports through SSH if I need). Any suggestions? How safe is it?
I'm looking to install a Linux distro on my Windows 7 machine. Could anyone suggest any tools to handle the multiboot? (I may install 2-3 distros to try out)
Hi!
Is there a possibility to use a flash drive as a speed up for conventional hard disks? I got the idea to redirect all read ops to the flash drive if the data is already stored there, and to read from the conventional disks if the data is not found there (and during idle time the freshly accessed data from the conventional disk is stored on the flash disk).
Is this already possible with linux standard tools?
hello
i compile & run a C program in linux terminal (using gcc). the program recieves as an argument a text file, parses it and outputs to screen and/or another text file.
for some reason. in some cases, when i run the program, i get "Abort" message on the shell, and i can't figure out why. does anyone have an idea why this happens?
thanks
I'm going to be building a fancy new desktop soon, and I want to experiment with file systems. I know that ext3 is the most common for linux, but what about ext4, or zfs? Are their any pros or cons to certain ones?
I won't be doing anything spectacularly off the wall, just using it as my main box. It is a good possibility that it will double as my web server, though.
There are a few choices of music managers for linux. I am trying to decide on one also suports mp3player sync.
Can you tell me what app are you using and what cons and pros did you find for that app.
Thanks
Brand new to Linux. I need to turn my box off and put it in my server room. The help here and everywhere seems not to work for me:
http://debianhelp.co.uk/shutdown.htm
I get:
lukepuplett@uktnlx01:~$ poweroff
-bash: poweroff: command not found
lukepuplett@uktnlx01:~$ shutdown
-bash: shutdown: command not found
lukepuplett@uktnlx01:~$ modprobe apm
-bash: modprobe: command not found
lukepuplett@uktnlx01:~$
I also tried halt, reboot, goaway, and pleasejustwork.
I want to embed my network connectivity application into a linux installed rack-mount server and sell it bundled. I googled some but couldn't figured out which it would be?
Do you have any experiences with these types of hardware and recommend some?
Don't ask why, but I would like to know a linux command, besides "la -laR", since that could not take that long according to where you are in the folder structure, that takes much time to complete.
Thanks for your help.
on windows there are several key maps applications that replaces Caps lock with ESC on a single 'press and relase' and with a Control signal if hold and another key is pressed.
Is there any way to do something similar on linux? Ideally on the whole system, but if it is only for X window it is fine too.
i'm currently writting scripts with the xautomation package tools. but i guess there is already a better way to do that via configurations.
This is probably trivial, but I'm quite new to Linux and I was unable to find any info online.
In a folder, I can execute the command find . -regex '.*py' and get the following result:
./.#netMHC3.2.py
Is this a file in the current directory? What can I do to display its contents?
Thank you
What would the best Linux operating system for hosting a Web/SVN/etc. server? One thing that it needs to have is no windowing system installed by default.
Thanks in advance!
What are the advantages / disadvantages of using cooperative linux like portable ubuntu for example compared to a qemu or any other virtual machine installation. Is one option notably faster than the other plus and other things that should be taken into consideration.
Is there any Linux command which remembers directories I changed, and shows its stack with interacting operation to choose a directory such as pushing an arrow key on keyboard? This must be different from the way pushd/popd/dirs do.
If so which version please?
Toshiba Satellite L500D
4GB ddr2
and a
Realtek RTL8181SU wifi usb 2.0 card
i'm just double checking beacuse
http://www.linux-on-laptops.com/toshiba.html
says i cannot
I have a linux (CentOS 5.2) server with the name myserver.mycompnay.com, which is correctly returned when I run 'hostname'. When I run 'hostname -s' however it returns "localhost" which is causing some backup scripts to put stuff in a "localhost" directory instead of a "myserver" directory.
All of our other CentOS boxes correctly return the first part of their hostname when 'hostname -s', where do I go on this server to make it behave the same? Other than having "HOSTNAME=myserver.mycompnay.com" in /etc/sysconfig/network what should I be looking at?