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

2
votes
4answers
893 views

init.d script with screen command does not work

I wrote this simply start script: SESSION_NAME="session1" COMMAND="python /opt/aaa/manage.py runserver 192.168.1.1:4300" case "$1" in start) screen -dmS "$SESSION_NAME" "$COMMAND" "$...
0
votes
1answer
562 views

Unable to convert m4a to mp3

My audio container is M4A, but codec is AAC. When I try to convert it into MP3 I got an error: afconvert ~/Desktop/src.m4a -f MPG3 -d .mp3 ~/Desktop/dst.mp3 Error: ExtAudioFileSetProperty ('cfmt') ...
1
vote
1answer
323 views

In Linux, how do I run a program when a non-existing file inside a certain directory is attempted read?

I have a partition on a hard drive that is encrypted with dm-crypt using a passphrase. What I want to do is have a password prompt pop up when some program tries to read a file within this partitions ...
0
votes
1answer
4k views

Format /dev/sda as unallocated

I want to format my hard disk (/dev/sda) to be unallocated (free space). The reason I want this is because I'm installing cPanel CentOS disk and it shows me that there's not free space on my system. ...
1
vote
0answers
195 views

How to get Java working in Chromium (not Google Chrome) for Linux

A simple question, similar to another, but the previous answers seem to only apply to Google Chrome. I have the correct version of IcedTea enabled and no other Java plug-in installed. Even if I run ...
0
votes
0answers
73 views

How to run .j filetype on a linux machine?

The title says everything else for it self. I've tried to execute this .J file for hours now. As far as i understood it contains java byte-code which can be executed by oracle java virtual machine. ...
3
votes
1answer
746 views

Where is all my memory being used?

I've got an HP Microserver with 4 gig, running a pretty minimal LXDE desktop right next to me. It's primarily a web and small VM server. It's using Debian 7.2 Stable. # free -m total ...
4
votes
2answers
2k views

See all output from commands performed inside screen

I am using screen (http://www.gnu.org/software/screen/manual/screen.html) to access my minecraft console. I created a server in /etc/init.d, and have minecraft running in the background. Then, to ...
1
vote
1answer
144 views

nested aliases in /etc/aliases: which order?

my /etc/aliases (ubuntu 12.04 lts) already contains some aliases redirecting to root: postmaster: root clamav: root monit: root now I want to add another alias that redirects all root messages to ...
2
votes
1answer
543 views

Firewall is blocking internet traffic to OpenVPN clients

I have a virtual network setup with a Linux router/firewall connected to two private networks. An OpenVPN server in routing mode and a web server are in one of the networks. On the other are linux ...
0
votes
2answers
110 views

Restore bootloader after Ubuntu has been installed

I've installed Ubuntu. Windows doesn't boot anymore and doesn't appear in the GRUB menu. I've tried to install the Windows bootloader via recovery console from a Windows DVD as it's said here. ...
0
votes
2answers
153 views

what's the error code “123” of the wget means

when i use the gun wget (version 1.13) to fetch a file list like this: cat url.txt | xargs wget -c -P ../data/ Then, I get the exit code 123, what does it means? thx:)
9
votes
1answer
1k views

What does the dot mean after -rwxr-xr-x in the ls -l output? [duplicate]

What is the meaning of the dot '.' after last (the rightest one ) 'x' in the second line ? This is the output of [igor@localhost ~]$ ls -l /usr/local/bin -rwxr-xr-x 1 root root 113797 Aug ...
1
vote
1answer
731 views

error when using while loop in bash script

I am getting an error 2: [: missing ] when using the following while loop: #!/bin/sh while ["$INPUT_STRING" != "bye"] do echo "please type something (bye quits) " read INPUT_STRING echo "you ...
0
votes
1answer
1k views

Proper procedure - sftp access to www folder - To be able to upload files

My www folder is root:root. What should it be? My site works perfectly but maybe I am doing something wrong. My nginx.conf says user is 'nginx'. Should I be changing the www onwership and group to ...
0
votes
1answer
1k views

Ubuntu not showing hard drive

I have a laptop which had a broken installation of Windows 7 installed on it. I created a Ubuntu live USB and tried installing Ubuntu over that Windows 7. After a few minutes, I got an error message, ...
1
vote
0answers
196 views

Using systemd-cgls and cgroups as a user configured pstree

When using pstree I was annoyed that processes forget their grandparent process when they get orphaned since they get adopted by init, so I thought maybe I could use systemd-cgls and cgroups, since an ...
1
vote
0answers
24 views

Mounting a VBox shared folder as user [duplicate]

In my Windows host, I have an Arch linux VirtualBox guest. I setup a Windows folder as a shared folder in VBox. I then manage to mount the folder as type vboxsf in my guest (done in /etc/fstab), but ...
1
vote
1answer
120 views

Linux - Output to Folder that Yet Exists (in one command)

Is it possible to achieve this in one command without requiring a script: echo "test" > /folder/that/does/not/exist/newFile.txt
1
vote
1answer
660 views

Location of Suspend after Idle Setting In Linux Mint

I was playing with my Linux Mint settings and made it so the computer would suspend after it was idle for an hour. It turns out suspending is broken. Anyone know where was that setting located at? ...
2
votes
1answer
867 views

Creating a FAT file system and save it into a file in GNU/linux?

I tell you my problem: I want to create a FAT file system and save it into a file so I can mount it in linux using something like: sudo mount -t msdos <file> <dest_folder> Maybe I'm ...
0
votes
0answers
322 views

YUM and RPM crash due to the liblua-5.1 library being missing

I've been playing around with a LiveUsb install of basic Fedora with persistence. I attempted to install moonscript, which requires Lua and LuaRocks. After installing Lua and discovering there were ...
1
vote
1answer
92 views

Return control to shell DURING `gvim -f`

I occasionally use gvim -f to start gvim but force the shell to wait for the gvim session to end before resuming execution of whatever it's doing (for instance, I usually edit my bash aliases using an ...
2
votes
2answers
1k views

In linux, how do you get a total size of a folder for files that are 1MB and up

Hi im doing some cleaning up on my server and i want to know how would i get the total size of a folder of files that are 1mb and up and also 1mb and below. I got as far as: ls -lh | grep 'M ' But ...
0
votes
0answers
290 views

Puppy Linux Browser

I have the latest puppy linux running from a bootable flash drive. Almost everything works just fine. There is one thing, however, that doesn't. The available browsers (Seamonkey, Midori, Firefox, ...
4
votes
1answer
857 views

Installing arch linux - unable to format filesystem

I had Centos & Windows systems dual booted previously. I am replacing Centos with Arch now. I have Centos's /boot installed on /dev/sda8 and / on /dev/sda9 When I try the following command on ...
1
vote
2answers
2k views

How to access my NAS via Samba without a username/password?

In Windows I can access my NAS via Windows Explorer with something like: //MyNAS/Path/To/Files This does not require a username or password. In fact, I've never configured my NAS to have a username ...
0
votes
2answers
41 views

Will the files of other drives be deleted when formatting a dual-boot machine

I use both Windows and Linux on my computer by dual-booting. I also have 3 drives. On one I have Windows, on the other there is Linux and on the third one are my files (documents, pictures etc.). Now, ...
0
votes
1answer
2k views

Centos 6 server does not open ports

So after some battling and struggling with the firewall, i see that I may be doing something or the firewall isnt responding correctly there is has a port filter that is blocking certain ports. Okay, ...
0
votes
1answer
5k views

Configure network Linux on VMware (Nat or Bridged)

Need to configure an static IP address, I'm doing tests with WordPress in a Virtual Machine with Linux (on VMWare Player) and I want a static IP on that VM and internet connection. I tried configurin ...
3
votes
2answers
1k views

Control Linux CPU load for testing

I wish to carry out some testing on a range of Linux devices to see their power consumption based on current processor load. As such I am looking for a program I can use to force the CPU to use X% i....
2
votes
1answer
832 views

Piping inbound email for specific users through a script with postfix

I'm trying and failing to setup postfix so that inbound email to a specific address is piped through a script. It's all new to me, and I think I'm simply failing to understand the complexities of ...
3
votes
1answer
733 views

What crashed Automake?

When downloading open-source software from the internet (in this case: PHP 5.5.5), they often come with an Automake "script" (if I can call it a script) for building from source. Now I'm trying to ...
3
votes
2answers
7k views

Changing keyboard layout

I want to change the keyboard layout from US to UK through the terminal on my Linux machine. I'm running CentOS 6.4. I have tried using the loadkeys uk method, but it doesn't change the layout. It is ...
1
vote
0answers
311 views

pip install fails on guest Linux Mint 15

On my Windows 7 PC, I installed VMware VM for Linux Mint 15. Windows PC is behind corporate firewall /proxy server. Now inside Linux I issued: sudo apt-get install python-virtualenv Then created ~/...
1
vote
1answer
585 views

How to switch Backspace key with Delete key in xvkbd?

How to switch Backspace key with Delete key in xvkbd? I want to disable the first row with Fn keys but keep the backspace, so I figured I could switch it with Delete since nopony is using it nowdays ...
2
votes
1answer
2k views

How do I start mysqld with options

I need to start up mysqld with command line options as from here: http://dev.mysql.com/doc/refman/5.1/en/server-options.html#option_mysqld_skip-grant-tables I normally do sudo service mysqld start, ...
2
votes
1answer
215 views

SSH Gnome Terminal Background/Foreground Colors

How can I automatically change the background/foreground color of my terminal based on the host that I SSH into? My current setup is an Ubuntu desktop running Gnome-Terminal that SSHs into a set of ...
1
vote
1answer
542 views

Using Hamachi VPN to connect to Linux VM at home

I have a CentOS 5.10 Linux box at home running on VMWare, with Windows 2008 as the host. I have set up a Hamachi VPN so that I can connect to the Host server from work, I attempted to add a second ...
2
votes
2answers
380 views

Can linux kernel be installed alone without any other existing OS

Hi I am newbie to linux world. I have just downloaded the latest kernel from kernel.org. I want to install this simple kernel into my PC(my PC is formatted and has empty hdd). Can I do that? if so, ...
0
votes
1answer
269 views

Securely wiping a file on a tmpfs

I have a script that decrypts some data to a tmpfs, the directory is secure (permissions), the machine's swap is encrypted (random key on boot) and when the script is done it does a 35 pass wipe (...
1
vote
2answers
10k views

unable to turn on wifi in backtrack 5 r3 while booting from usb [duplicate]

i have hp pavilion 15 with RT3290 802.11bgn WIFI-ADAPTER in my laptop there is a shotcut key to turn on(white light)/off(orange light) wifi which works perfectly on windows. i installed backtrack 5 ...
1
vote
0answers
206 views

Synchronizing and Backing Up From OS X To Ubuntu

Last weekend I set up a small personal file server where I store most of my files. The server runs Ubuntu 13.10. For the purposes of accessing and reading/writing most files, this server works fine. ...
0
votes
1answer
4k views

Install XML::Parser

I'm trying to install some perl module but got strange error. sudo cpanm XML::Parser cp Parser/Encodings/iso-8859-5.enc blib/lib/XML/Parser/Encodings/iso-8859-5.enc make[1]: Entering directory `/...
1
vote
1answer
543 views

VirtualBox: Accessing guest Linux filesystem from host MacOS

I'm running Linux mint 15 inside a virtualBox on Mac OS (i.e. Mac host, Linux guest). I already know how to share files and access them from the Linux guest, but how can I access the filesystem on the ...
0
votes
0answers
30 views

UDP tunnel over SSH : almost? [duplicate]

I am trying to set up a UDP tunnel over SSH but it doesn't work. Machine A is under Windows Machine B is running Linux I want to connect (voice over IP) from machine A to machine B via UDP with ...
2
votes
2answers
3k views

Using sshd_config to limit root login?

Using ubuntu 12.04, I want to use sshd_config to limit ssh-sessions coming from root to a fixed subset of IP's. I want normal users to be able to ssh from anywhere, but root should only be able to ssh ...
3
votes
2answers
5k views

How can I fix an inconsistent NTFS file system without Windows?

I have a Dell laptop that came with Windows from the factory. Since then, I have installed Linux and replaced the hard drive with an SSD. The NTFS partition is inconsistent (a result of bad sectors on ...
0
votes
1answer
149 views

SSH without portforward

I have a raspberry pi lying around in my dorm room. It's connected to campus internet which has all ports closed and I obviously don't have any access or permission to port forwarding. Now I want to ...
4
votes
1answer
60 views

Why does cifs asks for su rights to write any data into it?

I'm mounting a windows share as follows: sudo mount -t cifs //192.168.178.49/public -o users,username=name,dom=domain,password=pword /mnt/nas Then I'm trying to create a simple file with some basic ...