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

11
votes
3answers
2k views

What file systems on Linux store the creation time?

Are there any (good known, reliable) file systems on Linux that store the creation time of files and directories in the i-node table? If there are, is the "changed" time replaced by the creation ...
-1
votes
1answer
27 views

Erratic behavior with gzip on unix

I am compressing log files daily and very recently I have been seeing some crazy results on the file type of the file after compression. Normally you would expect file filename.gz returning gzip ...
0
votes
0answers
9 views

Warnings/Errors when running clamav/clamscan, scanning 3TB hard-drive

Questions: What am I doing wrong here? What do those errors and warnings mean? Is there a fix for this behavior? My case: I've been trying to scan two 3TB hard-drives with clamscan for a week now ...
-3
votes
1answer
17 views

Check if a file exist or not in a directory or not?

0 down vote favorite create a script to indicate whether a named file exists or not in your home directory or any of its subdirectories. It should print out the message "File does not exist" if the ...
0
votes
1answer
4k views

rsh shows “poll: protocol failure in circuit setup”, why?

In the starting rsh worked properly, but after making some changes it shows some error [changes are shown in the end of this question, see that], I am sharing the same. Command $ /usr/bin/rsh ...
2
votes
0answers
47 views

sudo -i returns an error

When I try to switch to root using sudo -i i get the error /var/tmp/sclDvf3Vx: line 8: -i: command not found... However, su - works which I will continue to use. I'm by no means a linux system ...
0
votes
0answers
5 views

Fast TSC calibration failed in TAILS whch pauses boot

I have several flash drives which have TAILS installed onto them. I have tried to boot from each of them, both on safe mode and off of safe mode, and I get a "Fast TSC calibration failed" warning ...
0
votes
0answers
17 views

Which Processes are interconnected with each other to create the GUI in Linux ?

I read, that the GUI created in the Userspace of Linux is not a single Program/Process but a few Processes that build on each other to create the GUI. Is there a general Layout for this architecture ...
2
votes
1answer
49 views

bash: how to save state on prompt evaluation

I want to put duration of last running command in command prompt, f.ex: user@host$ sleep 360 6m user@host$ Also, I want duration to not show up if it is less than some minimum threshold (say 30 ...
3
votes
1answer
21 views

Change the root password of a Linux image

I'm building a jessie build of Debian. Passwords are saved in /etc/shadow in the build tree, but they are salted obviously so I cannot change it just by editing the file. If this was my installed ...
1
vote
1answer
677 views

Adding multiple user with shell script on Ubuntu

Can someone help me in providing me the shell script for creating multiple users on Ubuntu. Password needs to be different for each user. Thanks in advance
0
votes
2answers
20 views

selectively moving partially matched files to different directories

I am working in linux server where a parent directory I has 100s of partially numbered files, e.g GGG12345_abb.txt GGG12346_abc.txt GGG12347_cbx.txt . . GGG19045_jha.txt each of which is ...
5
votes
6answers
13k views

Change the number of the partition from sda1 to sda2

I have a disk with two partitions: sda1 and sda2. I would like change the number of sda1 to sda2 and sda2 to sda1. It's possible but I don't remember the procedure. i.e. My first partition will be ...
2
votes
2answers
53 views

Print file contents and delete the printed content* from the file

In Linux, from a bash shell, how can I print the contents of a file and remove the content I just printed content from the file? I have a program writing texts to a file repeatedly. On a Linux shell ...
26
votes
6answers
41k views

How to find creation date of file?

I want to find out the creation date of particular file, not modification date or access date. I have tried with ls -ltrh and stat filename.
0
votes
1answer
14 views

Debian E: unable to locate package [duplicate]

I am attempting to install the lxdm package for debian (wheezy). Running apt-get update does not yield any errors, and my sources.list file is as follows: deb http://ftp.us.debian.org/debian/ wheezy ...
0
votes
2answers
25 views

Is there any disadvantage of executing a shell script using nohup?

To execute a shell script in background and without an interruption, we use nohup command. For example: $nohup mytest.sh & Press ALT Press Enter Is there any drawback or disadvantage of this ...
2
votes
1answer
31 views

User without a password - how can one login into that account from a non-root account

I have just started to use Scientific Linux (7.0) (although I assume this question might be distribution neutral..). The kernel version is 3.10.0-123.20.1.el7.x86_64. Coming back to my question. I ...
3
votes
1answer
453 views

Turn system on by USB keyboard?

To hibernate my Debian Wheezy system, I run the following command: sudo sh -c 'echo disk > /sys/power/state' To wake up the system, I can press any key on my USB keyboard. My understanding of ...
6
votes
1answer
3k views

What happens when your password expires and you're using key authentication?

on one of the boxes I don't control at work I use ssh keys to log in. Our passwords are set to expire after a few months. What happens if I don't reset my password and it expires? will I still be able ...
2
votes
1answer
21 views

How to make sshd listen to two ports, but restrict one of them to a single source address?

I need sshd to listen both on port 22225 (allowing connections on that port from any IP) and port 22 (allowing just a single static IP on that port). In other words, listen on two ports at the same ...
0
votes
0answers
14 views

Map characters to key-combinations

Is there a way to map special characters to the keyboard, using a combination of keys? For example, having Alt+A print out a Greek alpha letter, or having Alt+⇨ print out an implication arrow.
0
votes
0answers
11 views

Java JRE 6 installation

I installed Java 6 (jre-6u45-linux-x64.bin) on a Ubuntu 12.04 machine following the procedure from this link: http://ubuntuforums.org/showthread.php?t=1904467. When I later installed Java 7 and ...
2
votes
4answers
44 views

Does the inode change when renaming or moving a file?

in PHP the fileinode() functions returns the inode of a file. I was wondering if I can use it to determine if a file was renamed, moved or modified. I did some tests and it seems the inode stays the ...
-2
votes
3answers
36 views

what is the difference between “ssh user@ip” and “ssh ip user”?

I am facing problem with one of the above. Only ssh user@ip works not the other way round. And I am getting the following error when I run ssh ip user sh: root: not found Because of this I GUESS ...
0
votes
2answers
26 views

output in iptables

I have added the rule to iptables file, however the command does not show it. $ sudo less /etc/sysconfig/iptables Generated by iptables-save v1.4.7 on Fri Oct 24 13:28:48 2014 *filter :INPUT ...
9
votes
7answers
30k views

Problem to launch java at Debian: “error while loading shared libraries: libjli.so”

I'm trying to launch java: $ java -version java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory $ ldd ...
0
votes
1answer
1k views

Mint 15 on Lenovo G700: wired internet not working (Atheros QCA8172)

Mint 15 doesn't see internet after installing it in dualboot with windows 8 (in Windows internet works well). My network card is Qualcomm Atheros QCA8172 Fast Ethernet (rev 10). What I did: Install ...
0
votes
1answer
35 views

Is it possible to access to the framebuffer in order to put a pixel on the screen from the command line?

I am not sure if it is the only possible way, but I read that in order to put a single pixel onto the screen at a location of your choice one has to write something into a place called framebuffer. So ...
1
vote
1answer
25 views

Monitoring tool without web interface

I need to monitor a Linux server. I'm searching for a monitoring tool able to store system information (CPU, RAM disks usage, Apache and Postfix status, etc.) throughout the day and send an email ...
1
vote
0answers
46 views

Function tracing tool [on hold]

What are the best tools for user space function tracing ? I want to know if there is a tool for User Space function tracing (Cent Os environment) that without actually modifying the source code can ...
1
vote
1answer
2k views

mod-mono-server 4 is not working, while 2 does

I need to deploy an ASP.NET MVC4 (MVC3 at least) application on Centos 6 server. I've installed Mono 3.2.1, XSP4, mod_mono (for use with apache web server) and succesfully ran the test application ...
0
votes
0answers
11 views

Monitor not indentity

I use Debian 7.x and have two same monitors NEC MultiSync LCD2090UXi. But only one of them is detected as NEC. I used xrandr for change resolution of unidentified monitor and all was ok, but after ...
0
votes
0answers
16 views

Running Mac OS X under KVM/QEMU

Note to be removed in the future, so as to avoid confusion from answerers and mods edit: Forgot to add in the note, if anyone thinks this is the wrong stack-site to post this, please comment on why, ...
2
votes
1answer
43 views

How to set the core dump file location (and name)?

I am on CentOS 6, trying to enable core dumps for an application I am developing. I have put: ulimit -H -c unlimited >/dev/null ulimit -S -c unlimited >/dev/null in to my bash profile, but a ...
1
vote
1answer
1k views

Problem with former RAID hard drive settings in Linux Mint 17

I'm new to Linux, just installed Linux Mint for the first time. I have two hard drives which were previously in a RAID configuration. Now before I have installed Linux I've changed them to individual ...
0
votes
1answer
21 views

iptables | redirect from local [interface:port] to local [interface:port]

0 down vote favorite I have two interfaces eth0 (192.168.1.95) and eth0:1 (10.0.0.100) i want all packet for 192.168.1.95:9900 (from any 192.168/24) will be redirect/forward to 10.0.0.100:9900 and ...
2
votes
1answer
784 views

Build Chromium from source

I'm using Fedora 16 and I've successfully compiled Chromium from source (the first time I compiled something from source) a while back following these instructions: ...
0
votes
0answers
23 views

Where can we find a good Linux System Administrator? [on hold]

Where can we find a good Linux System Administrator? What are the websites to post a position that Administrators visit? Do System Administrators like to work as contractors? Or do they prefer to work ...
0
votes
0answers
21 views

Two monitors work as if they were a single one

I have 3 monitors (1 on an Intel card, 2 on Nvidia). After some magic with xorg.conf they started to work, but the two Nvidia monitors work as if they were a single, wide monitor (any maximized window ...
1
vote
1answer
1k views

Intel Turbo Boost apparently activated for no reason?

The other day, I reinstalled my operating system (Crunchbang, fork of Debian). For some reason my fan has been running at full speed (and blowing colder-than-room-temperature air) even though I'm ...
0
votes
0answers
11 views

Keyboard merely plugged in greatly increases kernel boot time

Specs are here. I am using a K65 RGB. I am using the ckb-git package from the AUR to provide basic input functionality. With Keyboard and with driver: Startup finished in 3.100s (firmware) + ...
0
votes
1answer
10 views

Porting Binder IPC to Linux

Android provides a device driver based IPC mechanism called Binder. I see it as one of the staging drivers in Linux. Although I can have a linux kernel running with this device driver, if I want to ...
0
votes
1answer
1k views

Debian and Systemd: breaking ordering cycle error

I'm a new embedded developer I'm trying to make systemd 37 work with freescale vybrid board (A5 and M4) running on linux-3.0 After boot with some breaking ordering cycle error, I check with ps ...
2
votes
2answers
31 views

Several hard-links with different metadata in Linux using Ext4

Is it possible for Ext4 file systems (or maybe another one understood by Linux) to assign different metadata (like modification time, owner, access rights) to several hard-links that refer to the same ...
13
votes
1answer
7k views

touch: cannot touch `foo': No such file or directory

What could cause touch to fail with this error message? touch: cannot touch `foo': No such file or directory Note that an error due to incorrect permissions looks different: touch: cannot touch ...
2
votes
0answers
109 views

Why adding swap space is the slowest part of the booting process? [closed]

I can see that adding Swap space is the slowest part of the booting process. Why? I actually have ~4GB for swap and 2GB RAM memory. dione@saturno:~$ dmesg | grep -C 4 swap [ 2.179979] input: ...
3
votes
1answer
696 views

BCache and disk encryption

I recently bought a new laptop with a 16Gb mSATA SSD cache drive. I haven't used that one yet. I have, however, opted for Ubuntu 13.04 with "Full Disk Encryption" for the main partition (is that ...
1
vote
1answer
16 views

Convert Tab Separated csv using unoconv

I am attempting to convert a tab separated csv into an xls file using unoconv. However, the tabs are not being recognized as the field separator. Can someone please tell me how this can be done. I've ...
0
votes
4answers
138 views

Applying different permissions to files vs. directories

Sunny answered the question above in this post, The answer was given as No need for scripts. // Directories: find . -type d -exec chmod XXX {} \; // Files: find . -type f -exec chmod ...