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

0
votes
1answer
40 views

What is the string “xxx@xxx:~$” in terminal called? [closed]

I don't know or I just forget what is xxx@xxx:~$ called in a terminal terminal? Is there name for it?
-2
votes
1answer
56 views

Why are there different types of linux distributions? What makes them unique, fundamentally? [closed]

They all use Linux kernel (lower layer). They all provide support for the same set of packages (higher layer), despite version differences. And even though their beliefs and "philosophy"s differ, what ...
1
vote
0answers
26 views

Desktop freezes after login

When I log into my DE, after about a minute or so, the desktop freezes. When I mean freezes, I mean all windows become unresponsive, as well as the panels and applications menu. This happens all ...
-1
votes
0answers
38 views

Disk is full in Linux [duplicate]

$ df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_qq-lv_root 50G 50G 0 100% / tmpfs 923M 0 923M 0% /dev/shm ...
2
votes
2answers
59 views

How to parallelize dd?

I'm currently having trouble with dd invoked with a sparse file as input (if) and a file as output (of) with conv=sparse. dd seems to be using one core of the CPU (Intel(R) Core(TM) i7-3632QM CPU @ ...
0
votes
1answer
37 views

linux tool to create multiboot dvd?

I am searching for a linux tool to create a multiboot dvd. I found something about Sardu or Xboot, but these are Windows tools. Is there Linux software that can do the same? I have found unetbootin ...
0
votes
0answers
36 views

Delete a file in Linux irrespective of it being open [duplicate]

I am trying to delete files while archiving, using: rm -Rf /test/this/path/. but when I run this command I am getting this error: Device or resource busy This is due to the file being open ...
-2
votes
0answers
30 views

How to modify filesystem creation date in Redhat (LVM)

I want to change filesystem creation date in redhat linux
0
votes
2answers
21 views

Whose responsibility is to divide data into PEs or chunks?

When we create LVMs or the RAID partitions, the data we save in the parition is divided into PEs or the chunks respectively instead of the conventional blocks of ext3 or ext4. My doubt is whose ...
0
votes
1answer
19 views

won't the ever changing affinity assigned to threads by the Linux kernel have adverse effect on overall performance?

In my program, I have several threads that are started with the process and that remain until the program ends. They will meet different loads during the lifetime of the app, and at times they will ...
0
votes
1answer
95 views

Kali linux throws ' isolinux.bin missing or corrupt ' error

I downloaded Kali Linux from this link, I have a 32 bit OS, so I guessed ISO 32 Kali Linux is the suitable for me (they did not clarify in the website based on what we choose the type). Then, I ...
13
votes
3answers
186 views

How to force Linux kernel to “freeze” (or nearly freeze) for a few hundred milliseconds

We are running a real-time process on a non real-time kernel (CentOS 6), and this is probably not going to change. We have a streaming video application that requires about 500 MB/s of PCIe traffic ...
0
votes
0answers
16 views

How do you check if a variable equals text in C? [migrated]

How do I check if a variable equals some text? For example: If I inputted "Hi" with scanf, then how could I check if the "Hi" was something else inputted. I made a program but it has errors. The ...
1
vote
0answers
10 views

Setting the video output for the framebuffer device

I'm working with Broadcom's 97356 device, which contains an HDMI and an analog video output device. I'd like to be able to draw stuff to one of those two devices (or both at the same time!) using a ...
0
votes
1answer
50 views

service command does not work in centos 7

I used to use service command for restarting, reloading, and checking status of service on centos 6.5 like below: $ sudo service nginx restart OK $ sudo service nginx status ...
0
votes
0answers
8 views

A question in ip_append_data [migrated]

I am confused with ip_append_data in linux network protocol stack when I see those codes: if (!(rt->u.dst.dev->features&NETIF_F_SG)) { unsigned int off; off = ...
0
votes
2answers
50 views

ClamAV found virus, if I should delete this virus? [closed]

ClamAV has found two viruses on my server. Is this a virus? Should I delete it? /tmp/back: Perl.Shellbot-8 FOUND /var/tmp/back: Perl.Shellbot-8 FOUND
1
vote
0answers
13 views

How do I conserve the userns UID/GID mappings when archiving an LXC guest?

I'd like to archive an existing LXC container that has been configured to run as unprivileged LXC container (see this question). How can I conserve all the file system meta-data that is used to store ...
0
votes
1answer
26 views

munin is not showing all Ethernet ports

I have an Ubuntu 12.04 running on a VmWare ESXi. I'm trying to run munin on the Linux system to show the status of the system. But in the network tab of munin only eth0 is shown even though ifconfig ...
1
vote
1answer
34 views

How to keep the VNC service running after reboot (RHEL 6)?

I have installed the vncserver related package and am able to access the desktop through the client. But on restarting the Linux machine, I am loosing the VNC session and again I am supposed to run ...
0
votes
0answers
31 views

Missing macros for VSYSCALL in Linux 3.16.4

I am running Arch with kernel version 3.16.4. I need to compile a kernel module for running Intel Vtune '13 (r17). GCC reports the following: ...
0
votes
2answers
36 views

How to start teamspeak server on reboot as specific user

Linux version on the server is Centos 7.0. Teamspeak server runs with this command: ./opt/teamspeak3-server_linux-x86/ts3server_startscript.sh start My server doesn't have 100% uptime. Therefore, ...
-4
votes
1answer
54 views

Need to automate file transfer from linux server to windows shared folder

We need to transfer files from a Linux server to a Windows shared folder. we don't have any Samba server. Can you please explain a better way?
0
votes
1answer
18 views

Postfix or mutt changes subject string

I suspect that when I send a message to my postfix server with Re: in the beginning of the subject I get the following view in mutt: The first message containg Re: looks fine. But if I resend ...
2
votes
2answers
40 views

What is best and secure way to save application settings?

Let's say I have an application which has plugins, daemons, etc. Now It has to save its settings and plugins settings as well as too. Most of all applications use users home folder for it but it is ...
1
vote
1answer
32 views

View timestamp for CUPS print jobs

I'm looking for a way to view the timestamp of a job in CUPS. I've searched the man pages and can't seem to find it. The long term goal is to have a script that parses the time from the jobID and ...
0
votes
3answers
44 views

Change login user account when accessing server through Putty

I am a very new systems administrator. I have been hired in as a junior and came from a Windows administration back ground. I have about one month of Linux experience. I have a lot of resources that ...
-2
votes
3answers
49 views

Displaying time in 12 hour format in OpenBox? [closed]

I have a version of Linux which lacks the ability to adjust the time format in a GUI. I want it displayed in my panel in 12 hour format Can I do this in bash? I am using openbox and sparkylinux.
0
votes
0answers
25 views

Best approach to adding a kernel driver

I have a task to complete. An LED must be controlled immediately after the kernel loads and into the launch of a Debian system. It also must be controlled in user land. I already have basic LED ...
0
votes
0answers
11 views

replace menu key with capslock and capslock with left control using xkb

I followed the instruction here by defining my own xkbsymbols (Use setxkbmap to swap the Left Shift and Left Control) partial modifier_keys xkb_symbols "replace_Menu_Capslock" { replace key ...
0
votes
1answer
59 views

Can't mount SD card - Wrong filesystem

Just bought a SanDisk microSDHC 8Gb card and tried to change the file system to ntfs (used cfdisk thru terminal). Couldn't mount the device. Tried to change back to FAT32, but still can't mount. ...
1
vote
0answers
53 views

RHEL 6.1 yum hangs on “Updating Red Hat repositories.”

I just registered my RHEL 6.1 system using rhn_register. However, when I try to run any "yum" command, it gets stuck on "Updating Red Hat repositories" and never does anything. BTW I can run this ...
1
vote
1answer
58 views

Why can't I see my file in RAM?

In nano, I created a simple text file named 'blue_pink_red_orange_green' with the following contents: red blue orange green pink I then opened the file again and did: sudo strings /dev/mem | ...
0
votes
0answers
10 views

BSPWM on OpenSUSE 13.1

Okay so I want to install BSPWM on OpenSUSE 13.1, I have herd good things about the environment the fact it can be customized while still been a very effective text environment. Reason I want this is ...
1
vote
0answers
30 views

How to create the framebuffer file node?

I'm working with a limited embedded device - Linux environment - that uses a custom DirectFB implementation to draw a user interface in its video output. I would like to exchange this method by a raw ...
1
vote
0answers
14 views

File path in audit log instead of inode number

When I do: echo "#TEST" >> /etc/passwd I get the following in audit logging: node=kayak.office.local type=SYSCALL msg=audit(1412687666.054:62033): arch=c000003e syscall=2 success=yes ...
6
votes
1answer
47 views

Cleanup trap for ssh command on multiple remote hosts

I want to execute an arbitrary command on multiple remote hosts using ssh. These commands are mostly long running commands that monitor server resources and aggregate the output to my local ...
1
vote
4answers
110 views

How to find IP address of device connected on the same network as PC based on MAC id

A PC and embedded Linux device is connected on the same local network.(We don't have DHCP server access, IT admin has the access). We also don't have access to debug UART on the embedded Linux board. ...
8
votes
1answer
369 views

Why do user space apps need kernel headers?

I'm building busy-box and iptables for an embedded device and one of the dependencies for them are the kernel headers. I have searched the whole file system for *.ko files and found none. So i ...
0
votes
1answer
31 views

How to write shell script on VMDK to derive configuration

I have several VMDK files and I would like to write a shell scripts to derive configuration (i.e. No. of CPUs, RAM, NIC, HDDs Size, No of HDDs, etc.). How can I do this, or where do I start?
2
votes
0answers
47 views

Update Corrupted GRUB; Can't Boot Right

Okay, I've been trying to repair my GRUB for awhile on my version of Lubuntu 14, and nothing seems to work. It seems that an update has broken my GRUB, so that now when I try to boot on the ...
0
votes
2answers
97 views

Which linux distro ships unaltered GNOME 3.1x

I tried the GNOME 3.14 promo DVD. Unfortunately it did not offer the option to install it. I would like to install the latest version of GNOME that ships in a Linux distribution, which I suppose is ...
0
votes
0answers
24 views

Zone Normal range in system with 4G RAM

I have a 4GB RAM in my system. Following is my BIOS provided RAM map. [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009d7ff] usable [ 0.000000] BIOS-e820: [mem ...
0
votes
2answers
46 views

Howto Configure IPv6 on a Debian based system?

I realize this is probably a pretty basic question, but I can't seem to find an answer that makes sense to me. I have experience configuring networks for IPv4, but IPv6 is a whole other beast. I'm ...
2
votes
1answer
68 views

How to let a user create a directory although not create a sub directory

I'm trying to create a Bash shell script that allows for the transfer of files from a flash device to a archive in which the user will specify. Although I'd like to restrict this user from not being ...
2
votes
0answers
33 views

Advantages of using command line interface over GUI [closed]

I know its a simple question but what advantages does using a command line interface over GUI (graphical user interface) have?
1
vote
1answer
63 views

Unable to mount location after installing Linux Mint

I have been using Ubuntu for a while, but I decided to move to Linux Mint. I removed everything and clearly installed it. After the installation there are two parts which are File System and Toshiba. ...
0
votes
1answer
13 views

Bash - Need to make df output user friendly on login

I am trying to display the disk freespace to users when they login. Basically the output of df -h. I added this to .bash: echo -ne '\e[0;34m'"Disk: \e[m"$(df -h)"\n" It works fine & auto ...
5
votes
3answers
226 views

Can we hot-swap from one install of linux to another?

I have several separate installs of Linux on my machine, and reboot to whichever one is appropriate. I'm wondering if it is possible to switch from one to the other without a full reboot by doing ...
5
votes
2answers
180 views

sed + how to delete the second character “.” from the line

how to delete the second character "." from the line what I have is this ( but its remove the first "." from output uname -r | sed s'/\./ /' 2 6.18-164.2.1.el5PAE while I need the following ...