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

6
votes
4answers
3k views

Command line tool to identify audio file specs

I'm looking for an audio file equivalent to ImageMagick's identify command. For example, with identify, I can get brief information about a bunch of images: % identify b* banner1.jpg JPEG 134x614 ...
0
votes
1answer
5k views

Skype not working in CentOS 6.2

I tried to install Skype on CentOS 6.2. I downloaded Skype's rpm package from here and tried this command to install – but it's giving an error like this: [root@localhost Downloads]# rpm -ivh ...
1
vote
1answer
3k views

Partitioning in Linux with parted

I m trying to create a new partition in Linux with parted. I start parted as below. # parted -a optimal /dev/sda Below is the current partition table. Number Start End Size Type ...
0
votes
5answers
598 views

How can I kill processes according to their name?

I'm looking for a way to kill processes according to their name ('job_runner_'). this is what i currently do, i run the following command: ps -ef |grep job_runner_ and then run kill -9 on each on of ...
1
vote
1answer
2k views

Gnome3 session logout

With gnome 2 there was the possibility to logout from a session by executing gnome-session-save --force-logout Unfortunately this gnome-session-save doesn't exist in Gnome3. Is there a different ...
1
vote
2answers
803 views

What is the unit of size in df -k command output in linux box

what is the size unit for used, Available and what does 1K-blocks mean here does it say that size is always in kB? command: df -k | head -2 output: Filesystem 1K-blocks Used ...
1
vote
2answers
397 views

My KDE very slow in certain operations

I have a problem with my Linux installation. It seems that the KDE code that deals with directory windows is extremely slow (on both Dolphin and Konqueror). This happens both when I click on a ...
1
vote
1answer
393 views

Reset “at” command counter

Somebody help me how to reset the "at" command counter. Let's say I have 1000 "at" jobs then I need to reset the "at" command counter so that it goes back to zero and it will not increment to very ...
1
vote
0answers
312 views

cset shield --kthread on: should I use this?

I'm reading up on cpu shielding using Alex Tsariounov's cset utility here: https://rt.wiki.kernel.org/index.php/Cpuset_Management_Utility/tutorial In the tutorial I'm finding the wording around ...
2
votes
2answers
785 views

Reset KDE System Monitor (KSysGuard)

Something went wrong while I was attempting to restore a backup, and KDE System Guard ceased to display properly. This is the correct display (command running from root: kdesudo ksysguard): This is ...
6
votes
3answers
1k views

How to save or export a custom Linux kernel configuration

I downloaded a Linux Kernel from www.kernel.org, then I used menuconfig to customize it. After a lot of customizing it works just like I need it to, and I don't want to loose this actual ...
1
vote
1answer
398 views

Piping/Streaming all audio cross-platform to Android app

I wonder if there is really a way to create a cross-platform server/client program where you could simply send all audio output from a desktop PC to a homemade Android application which receives the ...
0
votes
1answer
708 views

Run a shell script in an existing terminal session

I'm writing a script to deploy a project to multiple servers (9 and counting). With compression, copying, and remote connections, the script is rapidly becoming fairly slow. So now I'm investigating ...
0
votes
2answers
2k views

delete multiple files on linux with spaces in file names

I have a directory on my Linux box with over 10000 files that I have to delete. Running... sudo rm -rf /var/tmp/* Gives the error message... sudo: unable to execute /bin/rm: Argument list too ...
0
votes
1answer
374 views

How to install (by hand, not setup) a Linux Kernel (3.xx) in a device and boot

I want to install only the Linux Kernel and install the bootstrap manually... like we did in good old DOS... Boot from a live linux, Install the devices hd*/sd*/etc., Initialize disk, make ...
1
vote
0answers
427 views

Keyboard / keymap problems with Xubuntu 12.04 + NX nomachine

I'm running NX client on my Macbook Pro to connect to a Xubuntu 12.04 desktop at work. I have configured NX client to start up a console upon connection. I am able to connect to my remote linux ...
0
votes
1answer
119 views

Show starting with a special line until a special line regex for Linux tail command

I use that notation at my log files: [something-something] somethings are necessary and variable length characters and numbers. My special log file includes line that has characters explained above. ...
1
vote
0answers
279 views

Running multiple instances of apache with Flash Media Server

Trying to get Adobe FMS server up and running - having multiple problems... (all on a rackspace cloud server running Centos 5.5) Trying to use a flash application I purchased to record video from ...
0
votes
3answers
240 views

Backup files rather than deleting them in Linux

Suppose if I delete any file using the command prompt (I'm talking about Linux), that file is gone, I can't get back that file. If I by mistake delete any important file, then that would be a big ...
-1
votes
2answers
109 views

Show matched lines for a given regex at Linux

I use that notation at my log files: [something-something] somethings are necessary and variable length characters and numbers. My special log file includes line that has characters explained above. ...
13
votes
2answers
13k views

What is the difference between Amazon Linux and RedHat Enterprise Linux on AWS EC2?

I am very new to this and I don't even know if I should ask this question here or on Stackoverflow or ServerFault. The Question I wish to set up a EC2 instance on Amazon Web Services. My ...
0
votes
2answers
163 views

System monitor and free -m show different readings

I saw memory usage by using System Monitor it showed me 778Mb/2012Mb. Then I checked it using free -m on terminal. I saw this total used free shared buffers cached ...
1
vote
0answers
151 views

Lost file mode information on ext3 directory hierarchy

An entire directory hierarchy of mine lost its file mode info. E.g., ed@bob:~/dev$ ls -l nir.git/ ls: cannot access nir.git/test: Permission denied ls: cannot access nir.git/log: Permission denied ...
2
votes
1answer
549 views

routing a secondary IP-addr. of a different private network on the same interface

Typical home-networking xDSL setup on a TG782 router/gateway. Hosts on the local private network are allocated IP-addresses in the range of 192.168.1.0/24 and can get to WAN through the aforementioned ...
0
votes
2answers
79 views

Grub File Stolen ( Windows and openSUSE )

I have a problem with my computer. I installed openSUSE on my external, and I still have Windows on my HDD. OpenSus took the Grub file and placed it on my external, so now I have to open OpenSus to ...
6
votes
2answers
770 views

Is there a tail -f equivalent for ls?

Basically the question is in the title. I want to monitor a directory for new files that are written or deleted, the way I can monitor a log file with tail -f. Is this possible?
0
votes
3answers
4k views

How to recover the password for a particular user account on my linux pc

I have a linux pc on which several users are configured to login. for the same PC i have the root access (username and password). I have lost one of the user accounts password. How to get back the ...
1
vote
1answer
758 views

Have rTorrent to move .torrent files

I am running rTorrent 0.9.2 and have configured it to move completed torrents to a different folder with this configuration line: system.method.set_key = ...
2
votes
1answer
891 views

How can I get Magnet links to open in transmission when running Enlightenment as my Window Manager?

I have found a way to do it when running Gnome, but I don't know how in Enlightment, and I'd really prefer not to switch window managers. The OS is Mint 12.
1
vote
1answer
1k views

How to mount filesystem at boot when filesystem exist

I have Linux mint 13 maya installed on USB Pendrive (my portable linux). I run it on different computers. Is there a way to set the fstab to auto mount the hard drive from X computer at boot? So far ...
1
vote
1answer
2k views

High CPU usage by virtualbox running windows 2003 in Linux host

I'm running a windows 2003 guest in Linux xiamx-pc 3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:52:17 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux I notice that virtualbox process constantly takes around ...
4
votes
4answers
430 views

Is there a linux command that lets me color-code the result of another command?

I'm running a watch on a command to monitor the number of open connections for a service we're diagnosing. I need to keep an eye on it while doing other work, to help other developers identify when ...
0
votes
1answer
374 views

Thin virtual host

My work setup relies on old Windows XP. Now, when Windows XP isn't supported by new hardware, it's getting harder and harder to buy a notebook on which Windows XP can run natively with all essential ...
0
votes
2answers
1k views

How to get the ip address of an VM in Xen without logging in?

I'm using xen virtualization with a dhcp server. Whenever I create a new VM an ipaddress is assigned by the dhcp server. I'm working remotely and have to use only command line, so logging into the VMs ...
7
votes
2answers
516 views

Why is the -r recursive flag capital in some and lower in others?

Some commands use a lower case r for their recursive flag while others use a capital letter R. cp -r foo/ bar/ chmod -R 777 foobar/ Is there a reason for this?
0
votes
1answer
1k views

netcat and tee redirection via a bash script

Quick question that has been haunting me all day.. I have a bash script that includes this line: nc -l 8044 | tee nc-output & The output from netcat is never being written to nc-output. If I ...
0
votes
1answer
262 views

CentOS, cannot create ftp user

I have VPS and I installed cPanel & WHM and everything works, but i tried to add user with "useradd -m user -d /home/cs/user" and it worked, I added password and tried to login in ftp, and it ...
1
vote
1answer
7k views

CentOS 6, add user to folder

I need to create user with limited access to one folder only, example /home/user1.Like in cPanel and WHM. How can i do it ?
1
vote
0answers
414 views

Ubuntu 12.04, 2 NVIDIA GPUs, 2 different XScreens

I have two separate GPUs on my desktop, each has one monitor attached with. I know Compiz does not work with Xinerama, and TwinView only works when 2 monitors are from the same GPU. So I disable both ...
0
votes
1answer
3k views

Curl Couldn't resolve host for HTTPS

I am trying to use curl on a Red Hat Enterprise Linux Server release 6.1. When I try to use URL with HTTPS it gives an error message "Couldn't resolve host". But for the same URL when tried with HTTP ...
1
vote
1answer
709 views

How to set Linux processor affinity to single core?

How can I set processor affinity in Linux machine (Fedora) that user duel core Intel(any) CPU? I want the other core to shut down. Thanks
0
votes
1answer
72 views

Why in the file smb.conf before parameter names spaces are used

I can't understand why in the file /etc/samba/smb.conf leading spaces are used in parameter names, while in man smb.conf stated "Leading, trailing and internal whitespace in section and parameter ...
2
votes
2answers
520 views

why does my user show up more than once in ssh

Please help me understand this ps aux output ps aux | grep daniel root 2564 0.2 0.5 8404 2764 ? Ss 04:11 0:00 sshd: daniel [priv] daniel 2621 0.0 0.2 8404 1424 ? ...
3
votes
3answers
959 views

How to check if zip file is empty in bash

How can I verify if the zip file is empty or not ? I cannot use if -s in bash as the zip file is not always zero in size. if the zip file has empty directories in it, I want to delete the file else ...
2
votes
1answer
454 views

My XFCE4 icons all almost gone

I am using Archlinux and today I've tried to install a new theme. When I rebooted the PC, almost all of my icons are gone (as you can see in the screenshot). I've tried to get back the default Tango ...
2
votes
1answer
72 views

In emacs on X, can I close frames on other displays?

I'm at work, on a linux machine. I ssh into machine alpha, with X forwarding. tomfuture@work$ ssh -X alpha Then I start up X-windows emacs. tomfuture@alpha$ emacs It shows up on my local ...
0
votes
1answer
325 views

Hot-swapping drives

I have hot swap drives and controllers, but have never actually used the hot swap capability. What is the procedure for doing so? Do I need to warn Linux that I'm about to pull a drive out? Should ...
9
votes
1answer
2k views

Which files do I need to backup to keep my Linux user settings?

I need to accomplish a clean install after a bad graphics driver issue. Which are the files I must backup to keep all users settings in Linux? My distro is fuduntu.
1
vote
1answer
2k views

Changing IP settings via ssh in Ubuntu. What should be done?

I've hear mixed things about how to handle setting IP parameters in Ubuntu. There's several sources that say if a GUI is installed like KDE or Gnome, that you should only use the network manager to ...
1
vote
1answer
912 views

Centos 6.2 Minimal - DNS not resolving

I can ping domains (ping google.co.uk) and this works OK. However, if I do curl "http://google.co.uk" it hangs for a while and comes back with a failed message. I also get a similar message with "yum ...