Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

2
votes
3answers
17 views

How to change suffix of the files

In a dir structure which has multiple subfolders and files in it. some of the file names has the suffix _create (java1_create) and some of them with _bak (java2_bak). I need to rename only the ...
1
vote
2answers
16 views

What's the difference between poweroff and halt?

To turn off my system, I can use one of these three commands: sudo halt Or: sudo poweroff Or: sudo shutdown -h now What are the differences between these commands, or are they all just ...
0
votes
0answers
7 views

How to get miniature(live thumnail preview) of open windows on linux?

Gnome-shell does it in the 'activities' screen, unity/compiz has it in 'Spread','Shift','ALT-Tab'...how do i get those live window previews in c++?
0
votes
0answers
7 views

Depends: libqtgui4 (>= 4.6.2) but it is not installed

I want to install the Wing IDE for python. When I executed it, dpkg showed me some qt packages that were not installed. I installed a few of them via Synaptic Package Manager, but the rest cannot be ...
0
votes
0answers
15 views

read failure error while connecting to the server

There was a problem last night when I tried to connect to a remote server from my personal computer having Linux. First, I received the following error: ssh_exchange_identification: read: Connection ...
0
votes
2answers
21 views

Log file processing [on hold]

I have a log file like this; I can get NOW=HOUR=date +'%H' I can get login time in hour with something like cat file | awk '{print $2}' | cut -d: -f1 Is there a way I can compare the login times ...
0
votes
1answer
18 views

cant run dd command on android device

The main objective is to send a splited file to an android and join it back up with a .sh script, the file is splited to 5MB parts but its total size is unknown (trying to make an universal script), ...
1
vote
1answer
13 views

upgrade chroot version on centOS 5?

How do I upgrade chroot release on my centos 5 server? I want to install a service that uses a new capability available in later versions (--userspec) of chroot and I can't find any documentation of ...
0
votes
0answers
12 views

What can cause GRUB2 to suddenly not be recognized by EFI?

I have two hard drives in my PC. The first one contains an ext4 partition with Debian, a swap partition and the EFI partition for Debian. The second hard drive contains Win8 and it's EFI partition. ...
-1
votes
0answers
11 views

Linux light SIP server

I'm looking light sip server. He wants it to run next to Android in a chroot environment. Best if it were a configurable via the terminal or www. I've used so far miniSipServer, but the client is only ...
0
votes
1answer
15 views

How to search for a defined parameter/IP [on hold]

Kindly i want to know whether a certain IP is defined or binded to any service or no, How can I do that?
3
votes
0answers
29 views

Book for understanding latest Linux kernel [on hold]

I want to understand the Linux kernel. For this I have the book "UnderStanding the Linux Kernel, 3e". Inside the book I have found that the book has written based on Linux kernel 2.6. But as my ...
3
votes
0answers
8 views

Radiusd(freeradius): User only for a special client

Is it possible to restrict a user from the "users" file to a special client? I try to use one radiusd server for two wifi access points but I will use one user credentials only for one access point ...
-1
votes
1answer
15 views

Suggestions for a GUI light distribution [on hold]

I am looking for a scaled down version of Linux/Unix I am a basic(!) user of Linux (Mint) who would like to learn more about OS' instrumentally: I am looking for the most scaled down distribution of ...
0
votes
1answer
42 views

Extend functionality of commands such as reboot to record a reason

Is it possible to extend the functionality of system commands such as reboot, shutdown -r now or init 6 so that when they are issued, the user must enter a reason and other information as part of an ...
2
votes
0answers
10 views

How to resolve dracut problem when intall Fedora 21

I'm Ubuntu User. But I wanted to change my OS from Ubuntu to Fedora. So I wanted to Fedora 21. But there is a problem. I'm using USB Drive to boot Fedora 21. When I try to install Fedora I get a ...
1
vote
2answers
8 views

How to install RHEL 7 through pendrive?

I have 7gb RHEL 7 image file. I used UniBoot to make pendrive bootable. But when i try to install during startup of pc, grub cmd screen comes every time. What to do??
0
votes
0answers
20 views

Moved CentOS VM From One Server To Another; Networking Issues

I was running a CentOS box on a VMware server and I had to move it off to another server. Since booting up on the new server, I have been experiencing networking issues. On boot, I receive the ...
0
votes
1answer
16 views

Booting Windows from GRUB rescue

I tried installed Xubuntu via YUMI and I restarted my PC – the GUI for YUMI came up and I tried to carry on the installation by tabbing down to 'Linux Distributions' and there was nothing ahead but ...
1
vote
0answers
22 views

Linux Mint 17.1 Rebecca - “import from file” when setting up VPN [on hold]

Trying to setup VPN in Linux Mint 17.1 and when going through the network manager when I click the + button add a new connection type, then select VPN it only has an option to import files? When ...
1
vote
0answers
18 views

Syslog flooded with “pci 0000:00:14.4: PCI bridge to [bus 04” messages, what's going on here?

I operate an HP Microserver N54L for offsite backups operated by Ubuntu 14.04 LTS (running Linux 3.16), which I recently equipped with an HP MicroServer Remote Access Card 615095-B21. Since plugging ...
0
votes
2answers
29 views

SD-Card doesn't work anymore

I have a SD-Card and it doesn't work anymore. If I enter dmesg, this console will show this: [ 646.467407] mmc0: new SD card at address d555 [ 646.468578] mmcblk0: mmc0:d555 SD032 30.6 MiB [ ...
2
votes
1answer
32 views

How to hold terminal open (excepting gnome-terminal)?

I find useful the gnome-terminal feature of editing (and creating) profiles with the option of holding the terminal open after the command exists. (I like to use context menu file manager to run ...
0
votes
1answer
40 views

Problem with Dual boot Linux Mint in my win 8 laptop

This is my first time experience with any Linux OS. I am trying to dual boot linux Mint to my Toshiba Satellite Win 8.1 laptop(64 bit). I searched google on how to dual boot linux mint and below are ...
1
vote
1answer
61 views

Which one works faster - regular operators (such as <,>,=) or using (-lt, -gt, -eq)? and why?

Which one works faster - regular operators (such as <,>,=) or using (-lt, -gt, -eq)? and why?
6
votes
1answer
40 views

What sets the size of tmpfs? What happens when its full?

What sets the size of the tmpfs? (On my machine it resides in /dev/shm) I can see its entry in /etc/fstab, but no notation of its size. When checking with df -h, it seems to be half the size of the ...
2
votes
2answers
54 views

How do I check which files are written by an application?

On my system, sar reports an average write to disk about 5MB/s. Using dstat I found that it's not so permanently, but there are peaks to 30-50MB/s, and then are sleeps. Using iotop i found that most ...
7
votes
1answer
52 views

how to check what is in swap?

On my system i have some amount of swap used: undefine@uml:~$ free total used free shared buffers cached Mem: 16109684 15848264 261420 633496 ...
3
votes
1answer
26 views

What exactly is an ifconfig dropped RX packet?

I'm seeing very high RX dropped packets in the output of ifconfig: Thousands of packets per second, an order of magnitude more than regular RX packets. wlan0 Link encap:Ethernet HWaddr ...
3
votes
3answers
90 views

What is the difference between home$ and ~$?

I'm learning Linux, and I'm a little confused right now. In the below screenshot, I was not able to understand the third shortcut of Table 2-1. It says that cd ~user_name will change the working ...
-1
votes
2answers
44 views

Error in file comparison - awk [duplicate]

I have two files file1.txt, file2.txt. I want to select records which are common to both file1.txt and file2.txtbased on column 2 and column 3 and copy them to out.txt with additional column(column 4 ...
1
vote
0answers
18 views

Change Partion Drive Space

Okay I am having some trouble here - pretty new to the Linux environment and need some help. I have a 2.7 TB RAID array, and someone configured a partition at around 200 GB but it really needs to be ...
1
vote
1answer
16 views

How to prevent UDEV rules assigning a device to a specific set of names

I have some UDEV rules for a RAID array; 10 hard disks are assigned names from /dev/sda to /dev/sdj. The disks can be absent at any time. How do I write a UDEV rule to prevent a device such as an ...
0
votes
4answers
54 views

sudo for command with specific options

Is it possible to configure sudo to get root privilege to a user for running a program with some special switches? for example, how can I configure it for user admin to run netstat command as the root ...
0
votes
2answers
24 views

Timeout function return value

I'm using the timeout function on debian to wait 5 seconds for my script. Works great but the problem I have is that I need a return value. Like 1 for timeout and 0 for no timeout How am I going to ...
1
vote
0answers
8 views

Remove orphaned rados block device

I'm testing ceph at the moment. Today I decided to start over with my cluster and deleted the old one to setup a new one. I forgot to unmap and delete a mapped rbd device from another host. Now I see ...
3
votes
2answers
164 views

What are the programs/commands which the magic SysRq key invoke?

From Magic SysRq key The magic SysRq key is a key combination understood by the Linux kernel, which allows the user to perform various low level commands regardless of the system's state. It ...
-3
votes
0answers
41 views

What does this output of ls -l mean? [on hold]

What does the line .-rwxr-xr-x 1 root root 920788 Mar 28 2013 bash mean? I want to create a new text file of the directory entries that I find in the /bin directory making sure that I display the ...
3
votes
4answers
38 views

How to get the PID of a sub process across to the parent process in a bash shell script?

My shell script is as following: #!/bin/bash ./process1 #It will create a sub process: sub_process1 while [ condition ]; do break done kill -9 process1 and sub_process1 In my script, it will ...
1
vote
1answer
38 views

fork: retry: Resource temporarily unavailable

While I am connecting to my server I get, -bash: fork: retry: Resource temporarily unavailable -bash: fork: retry: Resource temporarily unavailable -bash: fork: retry: Resource temporarily ...
1
vote
0answers
23 views

How to create boot SD card for Banana Pi manually

It seems that I have a lack of understanding how booting SD-Card images on devices like the Banana Pi work. The situation is as follows. I have a Banana Pi and a Banana Pro. Every device has an ...
3
votes
2answers
20 views

Multiple screens on one physical monitor

I've recently bought one large monitor to replace my two smaller ones. I use i3 and as it turns out I miss the screen switching mechanism in a big way. Is it possible to configure X11 to split my one ...
2
votes
1answer
42 views

Configure XDM to accept remote logins

How can I configure XDM server to accept remote X login and works as X server, which Configuration should be done on the clients if they want to connect to this X server?
0
votes
0answers
14 views

virtualbox shared clipboard not working [on hold]

I run linux mint on my laptop, and I installed the newest virtualbox software from oracle. I run windows 7 inside a virtualbox. Now I would like to copy and paste or drag and drop files from linux ...
1
vote
1answer
26 views

Routing table and multiply hops

I have 6 networks, I need to connect network 1 and network 5 via five routers. What’s the command to set multiply hops? ip route add IP_address/mask via IP_adrress dev eth0, but how do I set next hop? ...
-6
votes
0answers
31 views

Installation of watsapp on ubuntu 12.04 [on hold]

Please post the latest set of instructions to install whatsapp on ubuntu 12.04.
4
votes
1answer
38 views

why isn't monitor listed under /dev in linux?

If /dev is suppose to list all the devices that is connected, like usb, hdd, webcam, how come on my ubuntu 15 VM I don't see a monitor? I am running the desktop edition so there should be a monitor. ...
0
votes
1answer
14 views

what is tagging a socket in linux netfilter [on hold]

What is tagging in linux kernel netfilter module? This is the reference code : ...
1
vote
1answer
38 views

Why `ip addr` showing inet 192.168.122.1/24?

My local ip address is : 10.102.42.102, but i don't understand the rest of the address. Can someone explain why ? root@HitHiFitHai:~# ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc ...
1
vote
1answer
20 views

How can I change the IP and gateway addresses permanently?

I recently installed Linux Ubuntu 14.04 to my computer. To enable internet connection I needed to change my IP and Gateway address. I did the following as a root user # ifconfig eth0 "my ip address ...