Questions specifically about Linux but not specific to a particular distribution. If the question could apply to any Unix-like system, specify your Linux distribution in the body of your question but do not use the /linux tag.

learn more… | top users | synonyms

1
vote
2answers
1k views

tkdiff error on Linux Redhat 5.5

I installed tkdiff as root, and it runs fine under that user, but when I switch to a local user I get the error: Application initialization failed: Can't find a usable init.tcl in the following ...
1
vote
1answer
39 views

linux unbuffered compression options

I'm working on a embedded system and due to persistent memory restrictions, I need to compress a log file "on the fly". My objective is to have a one liner inside a script, which would look like ...
2
votes
3answers
4k views

How to enable libass on Linux?

I tried to enable libass for ffmpeg with this --enable-libass in command but it didn't recognise the command. Does anyone know how to enable libass on Linux?
0
votes
1answer
40 views

netstat shows over 44K connections without ip address, what's that?

I have a question about linux netstat usage and output results. I'm trying to solve a dilema about why my server is facing communications delays and bottle neck issues, So I started digging and ...
13
votes
1answer
13k views

Updating disk free size without rebooting the host

I use RHEL4 with LVM2 on it. At times even after removing large files more that a GB the partition size is not getting updated when is see using df command. -bash-3.00$ df -h Filesystem ...
0
votes
1answer
2k views

What variables are valid within /etc/default/useradd file?

My /etc/default/useradd file is as follow: # useradd defaults file GROUP=100 HOME=/home INACTIVE=-1 EXPIRE= SHELL=/bin/bash SKEL=/etc/skel CREATE_MAIL_SPOOL=yes man page for useradd provides many ...
2
votes
2answers
50 views

USB flash drive formatted as “Linux Live CD” keeps the CD-ROM name after re-partitioning

I have an USB flash drive that I formerly used as installation medium for Linux Fedora. The stick still has the "Fedora Live USB" installation files on it. When I insert it into my olde laptoppe, it ...
3
votes
1answer
823 views

Can I use a parallel port as a CUPS input device?

I have an old piece of a hardware that does diagnostics on medical equipment. It prints out results over a parallel port. Is there any way to have CUPS accept jobs from a parallel port and redirect ...
0
votes
0answers
15 views

Create iso Frame buffer video [on hold]

How to create a ISO and only frame buffer video console? (Example: archlinux, fedora, debian, Ubuntu, etc)
1
vote
0answers
532 views

How to install AMD Catalyst 15.12 (fglrx 15.302) on Kali 2.0 (Sana)?

Previously I faced an issue installing Catalyzt 15.7 (fglrx 15.20.1046) on Kali Sana because of the whole /usr/lib and /usr/lib64 co-existing. Following the post How to install AMD Catalyst 15.7 ...
0
votes
1answer
33 views

Listing files with a certain extension

I'm suppose to write a command that would list all files that end in .tx with an optional t at the end. So far all I got is listing the files that end in .tx which is: ls *.tx Now my problem is ...
0
votes
1answer
56 views

High Availability of Services

I want to monitor a couple of services in linux. In case they go down I want to restart them. I'm writing a crontab which will get the name of the services using jps command every 60 seconds, and if ...
1
vote
2answers
138 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
1answer
21 views

How can I configure the serial port under debian 8.3 on HP Server?

If there is no Monitor I can access via the serial RS-232 port on Debian/GNU/Linux 8.3! How can I configure the serial port under Debian 8.3. It should be possible already during the boot from Debian ...
1
vote
0answers
15 views

How to programmatically change a password on an IPSwitch server using a Linux client?

One of my companies customers runs an IPSwitch sftp server, and they have disallowed public key authentication, and require us to change our password every 90 days. The problem is that, I cannot see ...
0
votes
0answers
2 views

How to access usb otg files from Kali Nethunter terminal Nexus 6 [migrated]

I have a rooted Nexus 6 running Marshmallow 6.0.1 and with the Kali Nethunter overlay installed. I want to execute some files that are in the usb otg from the Kali terminal, but I don't know how to ...
0
votes
1answer
27 views

Give the command to remove duplicate lines in a .txt file and save the new file as new.txt file

I'm trying to do this but I cant create the file. I enter: sort myfile.txt uniq -u | tee newfile.txt and It wont create the file automatically. What am I missing here?
0
votes
1answer
2k views

mailx: nss-config-dir=/etc/pki/nssdb/: No such file or directory

I am trying to send email using mailx using remote SMTP server (in my case it is office365 SMTP Server). Here is the command: # echo "THis is the Body of the email" | mailx -v -s "This is email ...
1
vote
0answers
33 views

mount: special device /dev/sda1 does not exist

I had a CentOS 6 server suddenly lock up on me after doing about 2 weeks of calculations for a project. Upon reboot, the machine would crash while attempting to mount the devices listed in the fstab ...
0
votes
1answer
32 views

How do kthreads actually work?

Need to implement DHCP server in kernel space. It's supposed to be a multithreading server, and I think I should use kthreads ( I'll be glade if you know better decision ). However I can't understand ...
12
votes
5answers
36k views

Resolving MAC Address from IP Address in Linux

I need to write a bash script wherein I have to create a file which holds the details of IP Addresses of the hosts and their mapping with corresponding MAC Addresses. Is there any possible way with ...
0
votes
1answer
24 views

Linux not using default route [on hold]

I'm no Linux expert, though I use it regularly. So can someone throw some light on the following behavior. I would expect traceroute to have the first hop as 192.168.1.160 ian@ubuntu-mini:~$ ...
11
votes
1answer
792 views

Why does hdparm see two different values for the size of a drive?

I have a 1 TB drive attached via USB. It contains an LVM physical volume filling the entire device (without any partition table). When I tried to extend a logical volume by using the entire PV, the ...
0
votes
3answers
53 views

Linux + how to verify the CPU performance

I have few servers that I manage in my origination ( red-hat 5 ) my users complain about the bad CPU performance grep processor /proc/cpuinfo processor : 0 processor : 1 can I ...
0
votes
0answers
38 views

Monitoring Linux Machines [on hold]

I have a couple Linux machines and VMs at home that I want to monitor. Basically, what I would like to do is setup a web page that display's information such as CPU/RAM usage, Uptime, IP Address etc. ...
1
vote
0answers
19 views

understanding output of strace of empty c program [migrated]

int main(int argc, char *argv[]) { return 0; } Given the above C program, I get the following the output using clang test.c ; strace ./a.out. execve("./a.out", ["./a.out"], [/* 36 vars */]) = 0 ...
0
votes
0answers
22 views

changing file and folder permissions for network shares

I am fairly new to linux but used it before and know bit about the command line etc... I am trying to set up a folder in which everyone has their own username and password with each folder, I have ...
0
votes
0answers
15 views

CentOS 7 grub option is missing after upgrading windows 8 to 10

My system was dual booted with CentOS 7 and Windows 8. After I reinstalled the latest Windows 10 Pro and removed windows 8, my system is only booting with Windows 10 as the Grub2 is not appearing at ...
0
votes
0answers
19 views

respawn with arguments and tty3 without root?

Please bear with me as I am not a Linux guy. I am trying to start a application to run in a terminal that I can ssh in and conspy to see the activity and also respawn if there is a crash. I have a ...
0
votes
0answers
23 views

Infrastructure Documentation tool [on hold]

Is there any open-source tool that can be used for IT hardware infrastructure documentation with some additional services such as automatic updates for new hardware , mutual dependencies , networking ...
0
votes
1answer
35 views

Exporting a Variable from bash script does not work, does work if I change the variable to any other name [on hold]

This is the strangest behaviour I have ever seen. I know you might be shocked to see the below explaination but yes this is happening. I'm trying to export a variable name which is LON_GEMINI_BOX ...
0
votes
1answer
5k views

How can I see settings of the email server?

I have root access to a Linux server (CentOS 5.10). I want to see the email server's settings such as whether SMPT is working, wheter there is an email server, port number, does it require SSL, what ...
0
votes
0answers
16 views

Autocomplete in browsers doesn't work on Linux

I have several websites which use autocomplete in their forms. For example, after logging in to an invoicing website I can type in the client field several letters (3-5) and then the box with list of ...
2
votes
1answer
2k views

Bridge interfaces with Vlan on Linux based access point

I have a Linux based wireless access point. It has eth0 interface for ethernet, ath0 for wireless and br-wan as a bridge between the two. bridge name bridge id STP enabled ...
0
votes
1answer
28 views

Determine which network interface to use based on target IP

Say I have two network interfaces, eth1 and eth2, both of them connected to a different ISP. How can I instruct linux to use eth1 for all traffic to the IP 111.222.111.222 while eth2 is used for all ...
-6
votes
0answers
28 views

Please Help creating a script using if else condition [on hold]

Anyone can help me? I have 4 file, File1, File2, File3, File4 ex. File1 File2 File3 File4 10101 10101 10216 MB16 10304 10203 var=$(cat File1.csv) var2=$(cat File2.csv) var3=$(cat File2.csv) ...
0
votes
0answers
17 views

USB ports do not wake up from suspend to RAM

I have an AMD Athlon 5350 (desktop, not a notebook) and recently upgraded from openSUSE 13.2 to Tumbleweed (openSUSE's rolling release). After that I gave suspend to RAM another try after it had just ...
-5
votes
0answers
21 views

How can i retrieve the following attributes in linux? [on hold]

Reads (transfers per second ) between system memory and user memory writes (transfers per second) between system memory and user memory Number of system calls of all types per second Number of ...
2
votes
2answers
717 views

How does PulseAudio start?

PulseAudio is always running on my system, and it always instantly restarts if it crashes or I kill it. However, I never actually start PulseAudio. I have checked /etc/init.d/ and ...
0
votes
0answers
9 views

Top panel locked - can't add/remove from the panel

I'm using gnome 3.18 and I'm unable to add/remove items to the top panel. In previous versions I was able to ALT+Right click on the panel to bring up a menu of options. I've tried Super (winkey) + ...
0
votes
0answers
17 views

Cannot install D-Link wireless Range Booster N usb on kali linux VMWARE

I have a D-Link Range Booster and tried to use it with KALI in vmware. I have it installed on my Physical Windows machine then when I use it with kali it doesn't detect it. This is the vmware sign ...
0
votes
0answers
17 views

Mouse and Keyboard not working in Linux Ubuntu 15.04/15.10 after update

yesterday i installed some updates with the automatic ubuntu updater and shutdown my pc after that. now i try to reboot and i now have the problem that my mouse and keyboard aren't recognized (not ...
-1
votes
0answers
45 views

Installing Debian on Surface pro 4 [on hold]

I would like to purchase a Surface Pro 4 tablet for my wife but will avoid it if I cannot properly install Debian Linux as a secondary operating system. I have not been successful so far in getting an ...
55
votes
6answers
51k views

How to display meminfo in megabytes in top?

Sometimes it is not comfortable to see meminfo in kilobytes while you have several gigs of RAM. In Linux it looks like that: And here is how it looks in Mac OS X: Is there a way to display ...
-1
votes
3answers
123 views

How to increase disk space in root?

So I check on my server using df -h and my centos-root is at 99% capacity. Just a few days ago, the root is at 87%. For some reason, it increases so quick. Is there any suggestions on how to reduce ...
1
vote
1answer
17 views

Create Shortcut to VMware

How would I create a shortcut to VMWare player on CentOS 7 desktop? A lot of people say it's not possible to create shortcuts on Gnome 3, I have seen it working with a special file, but i'm not sure ...
7
votes
0answers
44 views

Why does 8250 UART driver not wake up TTY if more than 256 characters are pending?

What is the motivation of this if-condition in void serial8250_tx_chars(struct uart_8250_port *up)? if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) uart_write_wakeup(port); It has been ...
3
votes
3answers
1k views

Install Linux on PPC Mac: NO CD DRIVE

I am trying to install Linux on my Xserve G4, a NewWorld PPC Macintosh computer. The issue is: I have no CD drive, so all those helpful comments like "Just boot from Linux using a LiveCD" don't work ...
2
votes
1answer
39 views

Adding folder name to .zip files inside it

I have file1.zip, file2.zip, etc. in folder called folder1. have similar folders folder2, folder3, etc. I need to add folder name to each .zip file inside these folders. So, files inside folder1 ...
1
vote
2answers
889 views

install opencv-2.4-9 on centos 6.5 with cuda 5.5 support

I can't seem to install opencv 2.4.9 on centos 6.5 with cuda 5.5 support. This is my cmake output: [root@cadejos-0 opencv]# cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/opt/opencv -D ...