Linux refers to the family of Unix-like computer 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

3
votes
4answers
432 views

How to suspend the Linux system for a specific period of time remotely?

I'd like to suspend or hibernate my RedHat 5 Linux system for a specific period of time. For example I'd like to suspend the system at 12:00 and wake it up at 15:00 remotely. Is there any way to do ...
2
votes
1answer
426 views

Not sure what app is serving HTTP Port 80 on my linux machine?

I've run netstat -ano and netstat -lnp and neither outputs any process listening on Port 80. I have a node.js app that is set to listen to port 8001, and I'm suppose to have Nginx proxy-forward ...
0
votes
2answers
1k views

Read (repair) data from broken floppy disc on a linux system

How can i read an old floppy disk under Linux that has some problematic sectors? In times of DOS people used magic tools like Norton Disk Doctor and others. Some of these tools read the broken part ...
4
votes
2answers
3k views

Sending text file contents to server using netcat?

There is a daemon process listening on port 5144, which I cannot to modify. I want to use netcat to send the contents of a text file to the server, but this causes netcat to hang the terminal until I ...
4
votes
1answer
1k views

file-name encoding problems

I googled over this topic but couldn't find what I was looking for... the following "happend" to me: I had my files stored on a NTFS-USB Harddisk, because of space problems I moved them to an ext3 ...
0
votes
2answers
93 views

How can I remind myself that I've already watched a video?

I use Linux KNOPPIX (distro 7.0.2, ver 3.3.7). I download videos of TV programs from the 60s and 70s (mainly from YouTube). I copy the YouTube URL then paste it into www.keepvid.com to download it ...
2
votes
2answers
2k views

Can't cd to directory of programs like apache or tomcat on ec2: permission denied

hi I have setup tomcat 7 through yum on an ec2 instance. I have access to the user ec2-user by default through aws from launching the ec2 instance. I am trying to simply look at my tomcat logs ...
0
votes
2answers
1k views

Replace sqlite3.3.6-5 for sqlite3.7.0-1 on centos5

I want to update my sqlite3 version. I'm using centos5 (VPS requeriment), I have a new version downloaded (.rpm) and a previous installed (with the os) I have this error. Well, I have noob on ...
12
votes
2answers
3k views

Keeping the fancy sudo warning forever

The first time I do sudo on openSUSE I'm always warned with a someway fancy message We trust you have received the usual lecture from the local System Administrator. It usually boils down to these ...
0
votes
1answer
86 views

Trying to connect to a vsftpd server

I'm trying to create a user using this instructions. But i'm still getting the login failed message. From local or from a remote machine, when i try connect. I added the root user to the ...
1
vote
4answers
170 views

Copying files in Linux from Windows [closed]

I am trying to copy files from a GNU/Linux host to a windows host. The windows host is inside a firewall and Linux host is outside the firewall. I need to issue a command from Windows box that will ...
0
votes
1answer
2k views

linux zip and tar all files with a specific extenstion recursively maintaining directory structure

Similar to this question and this question I'd like to make a single compressed tar file (files.tar.gz) that contains all the php files in my webroot and all it's subdirectories, maintaining folder ...
1
vote
2answers
398 views

Why doesn't Ext4 cache directory size?

Once again I'm cleaning up my desktop because I'm running out of HDD space and everytime I call 'du -sh ~', it takes a really long time to calculate the current size of the directory. From my ...
0
votes
2answers
1k views

linux can't read partition table

My laptop has a Hitachi HTS725050A7E, this is 500GB with 4k block size. It shipped with two partitions, a 10G recovery partition on the front of the disk and the remainder of disk space in one big ...
10
votes
1answer
12k views

Preinstalled Windows 8 and Linux UEFI dual boot on a laptop

I am trying to set up Windows 8 and Arch Linux on a new Sony Vaio E14 with preinstalled windows 8. So far: installed W8 to my new SSD (switched for the original HDD) using Recovery Media shrunk the ...
2
votes
1answer
1k views

“mv: cannot stat file” in for loop

I wanted to rename a lot of files with a pattern so I tried this for loop: $ for f in *; do mv \""$f"\" \""HouseMD-S06E${f#*Episode }"\"; done But I got this error: mv: cannot stat `"House MD ...
3
votes
1answer
254 views

Using HDPARM to tune drives

Can HDPARM reallt be used to tune and enhance performance on drives? I've seen tutorials but does it really make a difference?
0
votes
2answers
321 views

after config `~/.ssh/authorized_keys`, ssh works well but scp does not work

I change this file ~/.ssh/authorized_keys in remote server, shown below, and want to run a script when ssh to it. #Flyakite command="/home/path/to/script" ssh-rsa my-key now if I run ssh $USER@$HOST ...
2
votes
0answers
474 views

gparted unallocated entire hard drive

Here is my whole situation: I have a dual booted Windows/Ubuntu computer. In order to move from space from the Ubuntu partition onto the Windows partition, I booted into a live Ubuntu 10.10 CD and ...
3
votes
3answers
77 views

Zip file structure in Linux

I have a file in folder/football.jpg that I want to zip. So I zip with the command zip folder/football_zip folder/football.jpg It works, except that the Zip file contains the folder folder, which ...
1
vote
3answers
2k views

Linux - Watch a folder and run a command when a file exists

On Debian Squeeze, I'd like for ctorrent to automatically open in a screen session if a new torrent file is placed in a particular folder (/home/torrent). Is there an easy way to, in a script, watch ...
17
votes
1answer
73k views

How can I add Linux to the new Windows 8 boot manager?

Which OSes can be put into the new bootloader that Windows 8 provides? It seems to be quite pretty and consistent with the rest of the new Windows 8 design, so it would be cool to put Linux (Ubuntu) ...
0
votes
2answers
2k views

/etc/init.d/networking start errors with “network stop:waiting”

System: I'm on a BT5r3 image atop of VMware Fusion 5 on OSX 10.7.4 I spin up the VM, login, run startx, then hop in a terminal to run service networking start. I have just one interface configured in ...
1
vote
2answers
134 views

Rsync to take the newest file. And a cron job?

I have a log file on two different servers. The servers are under a load balancer so half the traffic goes to one server, and half the traffic goes to the other server. I need to take the newest log ...
0
votes
1answer
25 views

Account not getting completed deleted within linux

I've got a nas box running some flavour of linux 2.6.31.8.nv+v2 with an arm processor. It has got a samba share called 'all' that has full read write access to everyone. However one Windows machine ...
0
votes
1answer
154 views

Configure Mouse Middle(Wheel) button to bring behind window in focus

In Ubuntu, whenever you press the middle scroll wheel of the mouse at top of a window, it brings the window immediately behind the current window into focus. How can this be done in Windows 7?
0
votes
2answers
464 views

Can't dualboot Windows 8 with Linux on separate drive

I have two hard drives, one has Linux on it, the other one is empty(the MBR was also cleared with dd). When I try to install Windows 8 on the empty hard drive I get this: note: not my actual ...
1
vote
2answers
103 views

Installing linux on computer with Marvell adapter

I recently reinstalled my computer and decided that I want to have a native installation of Linux side by side with windows (got tired of VMWare). The thing is upon installation (Debian) everything ...
0
votes
1answer
151 views

Boot from a OS on a separate partition via Plop boot manager? [duplicate]

If I install a linux OS on a separate partition, would I be able to boot that partition using VMWare (via Plop boot manager)?
0
votes
1answer
226 views

Shift+Alt key combination blocks input in terminal (Ubuntu 10.04)

I have a weird problem with polish accents on Ubuntu 10.04 in terminal (no X server). When I try to type big letter Ł, it works when it is typed by pressing right Alt+Shift+L. BUT when you press Shift ...
3
votes
2answers
869 views

Can't use VirtualBox shared folder as Apache document root

Having jumped through several hundred hoops I've finally managed to get Centos 5.8 to mount a VirtualBox shared folder (which is not read-only), which now appears at: /media/sf_sites This is a ...
-2
votes
1answer
345 views

IP tables gateway

I am trying to make an iptables gateway. I ordered 3 dedicated server from my hosting company all with dual nics. One server has been given all the ip addresses and is connected directly to the ...
3
votes
1answer
2k views

How do I download a magnet link in ctorrent?

Enhanced ctorrent apparently supports magnet links. How do I download from a magnet link using ctorrent?
1
vote
2answers
1k views

Cloning to a smaller hard drive with DDRescue

I am currently working with a 700 GB Seagate hard drive that's beginning to fail. I'll call this "SDB" from now on. I'd like to clone it while I'm still able to. However, the only hard drive that I ...
5
votes
6answers
7k views

How to cleanup tmp folder safely on Linux

I use RAM for my tmpfs /tmp, 2GB, to be exact. Normally, this is enough but sometimes, processes create files in there and fail to cleanup after themselves. This can happen if they crash. I need to ...
1
vote
3answers
519 views

Grant permission to output redirection with sudo in Linux

I try to put value "1" into some virtual file of /proc, and I get "permission denied" despite using sudo: name@comp-name:/etc/dhcp$ sudo echo 1 > /proc/sys/net/ipv4/ip_forward bash: ...
0
votes
1answer
281 views

.tar file currupted when copied to Windows using FTP

I have a Windows 7 host and an Ubuntu virtual machine; the VM has a bridged adapter. I created a .tar file in Ubuntu using this command: tar -cf name.tar /path/to/dir/ I have FileZilla FTP server ...
1
vote
2answers
5k views

Where is php executable on Ubuntu?

I have installed apache and php. I know php works as I have tested a simple php file on apache server. I'm writing a simple webserver which should be able to process php files. So what I want to do ...
1
vote
1answer
151 views

How to find out if root read some of my files in the home directory?

I have one non-privileged account on a Linux server and I don't want root to read my documents. How do I find out if root did something I don't want to happen? This issue is not the same as Super ...
0
votes
2answers
423 views

Installing php on Ubuntu 8.10; package not found?

I'm new to linux. For some work I need to install php but not necessarily apache as I'm using my own webserver. I'm using Ubuntu 8.10. But when I try to install php I get the following error. ...
1
vote
1answer
139 views

What value do I pass to `xrandr --output`?

I wish to add a new modeline using xrandr, however when I want to switch to the new modeline, I am asked to provide --output. The manual page doesn't explain where I can get my options from. So how ...
0
votes
1answer
59 views

Unable to view users and groups

I am using Centos5 running on a VMWare but whenever I choose to open the User Manager menu from System->Administration, an error message always displays The user database cannot be read. This ...
0
votes
2answers
1k views

launch wireshark in linux

I have wireshark-1.2.15-2.el6_2.1.x86_64.rpm installed on CentOS. I was hoping to see a command like "wireshark", but couldnt find it. How do i launch wireshark? After querying the rpm, following ...
0
votes
2answers
193 views

Chroot error on 64bit architecture

I am running the following command on a 64 bit debian system. chroot /xyz/abc update-rc.d ec2 start 2 3 4 5 I get "chroot: failed to run command `update-rc.d': Exec format error". I dont get this ...
1
vote
0answers
675 views

Full HD video playback acceleration with mplayer on Ubuntu Lucid

I know that for an NVidia card I can sudo apt-get install nvidia-current mplayer, reboot, and then use mplayer -vo vdpau -vc ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau FILE.mkv to get ...
0
votes
1answer
1k views

(SOLVED) Can't access Ubuntu server by ip

I've installed Ubuntu (both desktop and server, newest releases) on VirtualBox virtual machines. They are working, all services is running (apache2, mysql, php, xrdp, ssh...), i can even open apache2 ...
1
vote
3answers
2k views

Is there a command to determine the compression ratio of a tar.bz2 file?

I have a file.tar.bz2 that's about 50GB and would like to extract it however I don't know how much space I will need. Is there a command to print the compression ratio of the tar.bz2 file?
1
vote
1answer
334 views

Using awk/nawk, how to find out max and min contributions and printout those values?

Using awk/nawk, how can I find max and min contributions and print those values? Input file: Name: Phone:1st:2nd:3rd contribution Mike Harrington:(xxx) xxx-xxxx:250:100:175 Christian Dobbins:(xxx) ...
0
votes
0answers
222 views

Post raid5 setup reboot shows single hard drive failure on ubuntu 12.10?

I just set up raid 5 on linux using three HDDs as per a guide. It all went fine until when I rebooted I got the following text: http://i.stack.imgur.com/Zsfjk.jpg. Does this mean one of my HDDs has ...
3
votes
1answer
455 views

How do I prevent my computer from freezing when it starts to swap?

I work as a Java programmer, so I often have to run several programs at the same time that consume a lot of memory. When my memory is full and Linux starts swapping, my computer almost completely ...