A family of Unix-like operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

5
votes
2answers
18k views

How I can check what takes disk space in /tmp?

I am working on external server - just doing some web-api there. Today when I wanted to use api php returned following error: Unknown: write failed: No space left on device (28) So I figured out ...
5
votes
2answers
2k views

Cannot exit X server, restart, shutdown or drop to tty when VGA monitor active

I have a strange problem. If I connect an external VGA monitor to my laptop, exiting the X environment in any way crashes the computer. For example, say I am working with my two monitors (the ...
5
votes
4answers
7k views

How to monitor memory usage for alarming purpose

We have embedded Linux system without swap. Currenly we must raise alarm when memory usage % increases over a threashold. And reboot when memory usage % increases over a (higher) threshold. Why we ...
5
votes
3answers
2k views

How do I edit previous lines in a multiple line command in Bash?

When entering a command which spans multiple lines in Bash, how do I edit previous lines? I'm a Linux Mint (Lisa) user using GNOME Terminal. For example, let's say I type: $ echo "foo bar > baz ...
5
votes
1answer
2k views

linux ping not actually sending 1 packet per second

I've been experiencing some odd behavior. While on a congested wireless network I run $ ping google.com I expect one packet to be sent out each second and only some of them to come back with a ...
5
votes
5answers
12k views

Good, lightweight GUI-based process monitor for Linux

I'd like a snappy GUI-based (I insist since people still want to propose console-based) application that can show me running processes and allow me to kill them, on Linux. It doesn't need to be as ...
5
votes
1answer
3k views

I believe I've deleted MySQL root user, how do I recreate it?

I'm running ISPConfig on CentOS and I don't know how, but I don't seem to have a root mysql user. I can stop mysqld with /etc/init.d/mysqld stop Start it again and skip grant tables mysqld_safe ...
5
votes
1answer
3k views

How can I tell Windows or Linux to put a specific (PCI[e]) device into sleep/off (D3) state?

How can I tell Windows or Linux to power a specific device (e.g. USB controller, network card, video card) down, that is put it in the D3 state? From the very little I know about ACPI and such, the ...
5
votes
3answers
560 views

How do I detect when I a terminal gets focus in Linux?

I want to be able to time how long I spend in front of a terminal. I'm thinking the best way will be to have some sort of timer that starts and stops when the terminal gains/loses focus. And it will ...
5
votes
6answers
746 views

Server uptime checker? [closed]

I want to monitor my server's uptime. Is there some free application or a really good paid service that offers this? Obviously, I can't write something that is hosted on the server whose uptime I am ...
5
votes
2answers
17k views

Why do I get “command not found” when the binary file exists?

Here's my problem. I have just compiled a linux build of tests in my VirtualBox VM. When I run it, I get: bash: ./tests: No such file or directory I did some research, and found it could ...
5
votes
1answer
2k views

hdiutil on Linux

Anyone know of a Linux port of the Mac OS tool hdiutil (http://www.unix.com/man-page/osx/1/hdiutil/)?
5
votes
2answers
3k views

PC as Bluetooth speakers

I know that: There are Bluetooth speakers for my phone and for my iPod My desktop computer has Bluetooth dongle My desktop has speakers attached to it;) So, my question is: can I use my desktop PC ...
5
votes
2answers
6k views

Mouse button gets “stuck” down in VMWare guest OS

I'm using 64-bit Fedora 13 on 64-bit VMWare Workstation 7.1 (on Windows 7 Pro) and I'm having an issue with the mouse button. Everything works just fine unless I click and drag off the guest OS ...
5
votes
1answer
803 views

Linux/Unix - how to enable one user to `sudo` without a password

How can a user be setup to sudo (or su -) without entering a password?
5
votes
2answers
2k views

time tracking application on Linux [closed]

what application do you guys use for time tracking in Linux. I am interested in an application that tracks what applications I use, similar to rescuetime but with will run on Linux since the Linux ...
5
votes
2answers
2k views

Xserver that I can reconnect to

I'm looking for something like screen but for X? I imagine situation when I do something like "X --reconnect remote_server:11", and I am reconnected to pre-existing X session, with all programs that ...
5
votes
2answers
4k views

VOB merging: what command-line tool is recommended (Linux)?

I'd like to merge the VOB's of a DVD into a single VOB file. What command-line tool is recommended under Linux?
5
votes
6answers
815 views

How do you recommend installing Linux on a computer that has no external drive or ability to boot from an external drive?

I have an old Toshiba Portege 3505 "ultralight" laptop, meaning it doesn't have any kind of disk drive on it at all, that I'd like to completely reformat and install Linux on. However, it won't boot ...
5
votes
3answers
456 views

/usr/bin/reset disables backspace

Following this question, running /usr/bin/reset destroys my backspace functionality. What can I do? After pressing backspace I get ^?
4
votes
4answers
46 views

Strange “find” behavior in linux

Why in Linux(Debian 8) touch 1.cpp 1.h find . -name "*.cpp" -o -name "*.h" -exec echo {} \; outputs only 1.h while find . -name "*.cpp" -o -name "*.h" outputs both? Is it a bug or feature?
4
votes
1answer
2k views

What does 0.0.0.0 gateway mean in routing table?

I am new to being a Linux system admin and I am learning about routing tables. Currently I have two interfaces in my virtual machine: vagrant@vagrant-ubuntu-trusty-64:~$ ifconfig eth0 Link ...
4
votes
1answer
1k views

PM: Hibernation image not present or could not be loaded

After hibernating with systemctl hibernate, the system boots normally as if it had been shutdown. I have the resume parameter in the kernel line and the resume hook in mkinitcpio.conf These are the ...
4
votes
1answer
548 views

HDDs occasionally “click” and dump this error

Every once in a while, my HDDs (6 1TB drives in a Linux md RAID-6 array) make a brief "click" sound, and I get this from dmesg. I don't really have any clue how to start diagnose this, or even how ...
4
votes
2answers
67 views

Rename ':2f' to '-' on folder names in Linux

I've got a hard drive taken from a NAS drive where files had been put on from a Mac - However, some of the filenames had been, for example, 'backup 16/07/14' which has then been changed to 'backup ...
4
votes
1answer
947 views

Why does my .bashrc get read when I run noninteractive commands over ssh

I've prepended each of my bash config files (~/.bashrc,~/.bash_profile,~/.profile) with echo NAME_OF_FILE, i.e. I get '.bashrc' when I source in ~/.bashrc. What baffles me is why I get and ...
4
votes
2answers
1k views

How do you set alias sudo='nocorrect sudo ' correctly?

Until Recently I had alias sudo='sudo ' in my .zshrc file. Today I ran into this error on trying to do sudo mv: ➜ ~ sudo mv nginx.conf.orig nginx.conf.orig2 sudo: nocorrect: command not found Now ...
4
votes
3answers
12k views

Execute a command stored in a variable

I have a command stored in a variable. Let's pretend the variable $i has the value: cat -nT index.php |grep 'someregex' When I try to execute the above variable by typing $i it fails because the ...
4
votes
3answers
3k views

Is it safe to disable fsck on boot?

Occasionally fsck would run on it's own when I reboot my server, but most of the time it doesn't. But when it does run, it takes too long to finish. Is it safe to disable this permanently?
4
votes
2answers
3k views

Change account on Linux Dropbox?

I'm running Crunchbang (Debian-based) and I installed Dropbox using the .deb package. When the program started I logged into an account, but now I want to log out and sign in to another account. The ...
4
votes
4answers
648 views

How to hide a code from myself until a specified time?

Essentially, what I need is some way to generate and store a random string (20 characters long, say) for some period of time, such that there is no way for me to recover the string until the end of ...
4
votes
1answer
2k views

default file permissions for ftp uploads in ubuntu (vsftpd)

I followed this answer for setting default file permissions in my web root folder. I am trying to set all files/dirs to 775 by default. This works fine when creating files within linux and also when ...
4
votes
2answers
2k views

Known problems with dual boot of Windows 8 and Fedora 17

Presently, I am using Windows 7 and Fedora 17 on my laptop. Both OSes work fine. I am thinking of upgrading Windows 7 to Windows 8, while keeping Fedora where it is. Keeping Fedora 17 on my system is ...
4
votes
1answer
998 views

Windows won't sleep after booting from grub

I recently added a second hard drive to my computer and I am using it do dual-boot Linux (Ubuntu 12.04) with Windows 7. Both hard drives are SATA. I am using the default grub bootloader on my second ...
4
votes
2answers
4k views

Linux startup script to connect to bluetooth and cron to keep it connected

I have a mini Bluetooth keyboard and a Raspberry Pi running a Debian-based distro. I know the MAC address of the keyboard but for this question, let’s just use AA:BB:CC:DD:EE:FF. Right now I have to ...
4
votes
9answers
3k views

How to make Firefox use TCP for DNS

I want to use TCP for DNS, to bypass my ISP's slow and broken DNS servers. I'm not using (and don't want to use) a proxy. Note: I want to use DNS over TCP because if I use it over udp, no matter what ...
4
votes
5answers
3k views

Chrome does not follow hosts file

I have custom domains set up for internal web site testing in my /etc/hosts file. I try to access them in Chrome, and I get routed to a Google search instead. But when I ping the domains, they ...
4
votes
2answers
3k views

How can I get a content-listing of a 7z-archive under Linux?

This answer and this one suggest p7zip to work with 7zip-archives under Linux. I can see option for compressing and decompressing. But how can I get a content-listing of an archive, without ...
4
votes
4answers
1k views

Linux only recognizes 800Mhz from 2Ghz

I tried with Suse 11 (KDE), Xubuntu 11.10 and Lubuntu 11.10 and these systems only recognizes 800Mhz from my processor of 2Ghz! The utilities I used are: linuxinfo, sysinfo, "system profiler and ...
4
votes
2answers
2k views

How to run todolist from abstractspoon in linux?

I want to run the ToDoList (any version from 5.3 to 6.2) in linux (ubuntu 11.04) I've tried to use under wine 1.2 and 1.3 without success: 1 - I've downloaded the program (todolist_exe.zip); 2 ...
4
votes
1answer
684 views

Alternative solutions for Skype in Linux?

I used to use Skype on Windows for voice/chat/screensharing with my friends. On Linux however I found that Skype is at version 2.2 whereas the Windows version is 5.5! What the heck? What are some ...
4
votes
3answers
4k views

Internet over Ethernet: DNS works, ping doesn't (Windows works, Linux doesn't)

I have a PC connected to the Internet using an Ethernet connection. Using Ubuntu I am able to resolve domains using nslookup, but if I try to run "ping google.com" or "ping 74.125.39.104" it doesn't ...
4
votes
2answers
4k views

Why does pinging a local router return “Destination Host Unreachable”?

I have two tomato routers. One is bridged wirelessly with the other. I have a new server on the network. It's running Ubuntu Server 11.04. They are all connected like this: A - Linux PC B - New ...
4
votes
4answers
998 views

Good software to monitor disk io, memory and cpu use? [closed]

I'm developing a website. I was wondering if there are any tools out there that make it easy to log and graph usage statistics of how my cpu, memory, disk and network are used. I need to somehow know ...
4
votes
3answers
4k views

need a bittorrent daemon

I'm building a Ubuntu server for the house. I want to centralize torrents. what I'm looking for is something that runs as a service (daemon) that has 3 folders to configure. Actively downloading ...
4
votes
5answers
763 views

Learn Linux for the First Time

I want to learn Linux so badly but I'm so pathetic, I don't understand a thing such as "sudo" "apt" or even directories. Also, I'm a slow learner but I'm patient and I can go through the hardship just ...
4
votes
1answer
827 views

how to move around files using “ls -al” result in Linux?

How can I write a script to copy files from one directory to another directory according to last modified date? ls -al -rw-r--r-- 1 user user 100 2011-05-26 12:33 ...
4
votes
2answers
3k views

Mount external USB drive in Debian Linux to a mount point based on the volume name

How do I configure my Debian installation to mount external USB drives to mount points based on the volume names of the drives? For instance, if I have a thumb drive with the volume name of ...
4
votes
2answers
7k views

Can I access my desktop over VNC at a different screen size?

I've already installed x11vnc and have it running well on my laptop upstairs. I can access my existing desktop session with no real problems, it works great. The problem I'm running into is the fact ...
4
votes
3answers
5k views

Desktop not visible, doesn't show any icons in Kubuntu

I installed kubuntu few days back. By clicking blindly I lost my desktop - I mean it is working fine but there are no icons on the desktop and there is no task bar with list of programs. How can I ...