A family of Unix-like 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

8
votes
6answers
13k views

How to echo commands in a bash shell script, but not execute them?

Is there a way for running a shell script with echoing the commands but w/o actually executing them? Let's say I have script removing a file whose name is stored in a variable: #!/bin/bash set -v FN=...
2
votes
5answers
5k views

Find directories with all files inside older than X?

Is it possible on linux to find directories where all contained files and directories (and sub-directories' files etc.) are older than a given age? In other words, if a directory has one or more files ...
0
votes
1answer
22 views

How can I mount a tmpfs to /tmp via fstab, writable to anyone?

I want to mount a tmpfs to /tmp and make it writable to users (or a specific user). The machine is a Raspberry Pi 3 with Debian 8.0 (Raspian). Whatever I try, /tmp is always mounted with permissions ...
0
votes
1answer
12 views

Highly unstable WLAN / Roaming does not work with Debian 8

When using mobile devices in large buildings WLAN connection fails forever or longer periods of time when roaming from one access points to another occurs. The WLAN link is always up but no network ...
-5
votes
0answers
28 views

What devices can I use Linux on? [closed]

I have a new project requiring a touch screen enabling me to write as one might wish to do on Paint for instance. I just can't write with an ordinary mouse. Anyway, I need a new device, and my issue ...
0
votes
0answers
32 views

Is there a way to find out how many instances of the root user is logged into a linux machine? [duplicate]

We have a handful of users that login to our Linux VM machine as root either through the vSphere client or through SSH and I want to see if there is a way to tell if multiple root users are logged in ...
0
votes
1answer
134 views

Free 'no-host OS' virtualization and vm management for desktop

Is there good, robust enough for every-day use, way to setup free hardware-based virtualization which would support at least Windows and Linux and also be supported by some usable, user-freindy and ...
0
votes
0answers
33 views

install custom kernel and rootfs on board SMDKV210

I need help to install custom uboot + kernel + rootfs on a device with board SMDKV210 (device is panel INEWTEK) So the fact is that worked on a device (inewtek) with board SMDKV210 (call it old board ...
0
votes
1answer
36 views

How to configure NAT to act as port restricted?

I am working on a project which require me to test with different type of NAT. I am using a laptop which is acting as Linux router. Due to some reason it is not able to correctly identify NAT with my ...
0
votes
3answers
11k views

Autostart programs/scripts in Debian 8 Jessie

I have a scipt (.sh) for screen rotation of my thinkpad on linux. I have now installed Debian 8 Jessie and the "Startup Applications" is no longer there, how can I make it to startup on boot? or user ...
1
vote
2answers
3k views

Suse Enterprise Server 12 - Resize Root partition

I have a Suse Enterprise Server 12 installed on a VMware server, I want to be able to increase the root volume, ideal I would like to be able to set it to auto expand. below is the layout. df -h ...
0
votes
1answer
26 views

How to monitor events of process start and exit under Linux?

Under Windows, we can use Process Monitor to monitor various activities of all processes, such as events of process start and exit. Is there a similar tool under Linux?
1
vote
3answers
6k views

Shell script bash: Moving file iterate based on month

I have very little knowledge about shell scripts, but unfortunately I have to write one. I want to ask about bash script iteration moving files, I need to move log files sorted by month which will be ...
1
vote
1answer
20 views

Inserting second disk during installation of OS in VMware

Hello I'm installing Red Hat 9(version from 2009). Everything was good until the installation program asked for the second disk, now I don't know how to add the second cd and continue the installation....
1
vote
4answers
13k views

CentOS 7 ESXi/VMware Hang on Boot

I installed CentoOS 7.0 1406 on a VMWare ESXi 5.5 hypervisor. I installed "Sever with GUI" and selected KDE. However on boot I get the following messages in under a second, before the process tops (...
2
votes
2answers
35 views

Cannot find the process using most of RAM

I have 8 GB RAM running on Ubuntu. I notice that a lot of memory is used even when I don't run any programs. I used the top command to view the processes, sorted by resident memory they use. It showed ...
2
votes
1answer
226 views

Create softlinks to a file in every subfolder

I have some webspace on which I can't edit the main php.ini file, and I can't use an .htaccess command to make it recursively applied. If we call my web directory D, I'd like to recursively create a ...
86
votes
4answers
137k views

How can I determine what process has a file open in Linux?

I'd like to determine what process has ownership of a lock-file. The lock-files are simply a file with a specific name that has been created. So, how can I determine what process has a particular ...
0
votes
2answers
3k views

How to encrypt a dual boot system with Veracrypt?

I want to dual boot Windows 10 alongside Arch Linux on 1 SSD. The SSD is 465GB and I want to use Veracrypt to encrypt the hard drive and enable pre-boot authentication. I haven't attempted to do this ...
3
votes
1answer
59 views

How to explain the strange power consumption difference among OSes and hardwares and how to lower it?

I use a wattmeter to measure the power-consumptions of my computers. The following is the result: my laptop + Ubuntu 14.04: 14.5 watt my laptop + ArchLinux: 30 ...
-1
votes
1answer
18 views

Chain/Convert Socks5 to http

i want to get socks5 traffic and translate/redirect it to http proxy (Squid) and add Authentication to each request , how can i do this ? i saw the JSOCKS but it hasn't the cascade to http option , ...
0
votes
3answers
57 views

How to run a Bash script when using a graphical desktop login

I am running the MATE desktop on Arch Linux, and I have a bash script that I run which: Configures MATE to work with multiple monitors Connects the PC to the internet Changes my mouse speed I have ...
0
votes
1answer
283 views

I get this error when login to cisco switch

I get this error after enabling ssh in cisco switch. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@...
1
vote
1answer
59 views

Clone only space in use from hard disk

Can I use dd, rsync, clonezilla or any tool to clone only space in use in my hard disk in Linux? I need to do a backup from a 1 TB HD (with only 2 GB space in use) into a 500 GB HD.
20
votes
4answers
3k views

*nix equivalent of Active Directory? [on hold]

I'm looking for some terms to help me google further information. How does a set of *nix machines store network usernames and passwords? That is, if I want to set up a central server and manage ...
6
votes
2answers
6k views

Why 100MB ext2 boot partition recommended for linux?

A lot of people recommend a separate ext2 boot partition with around 100MB space for Linux installations. What is the significance of this separate boot partition.
1
vote
2answers
513 views

Unable to remove package on Debian 7

I have a damaged installation of MariaDB which I am trying to clean out and re-install. If I do sudo apt-get upgrade I get the following remove: You might want to run 'apt-get -f install' to correct ...
1
vote
1answer
3k views

What do these error messages mean and how to fix it?

============================================================== actually I figured out this is an issue of intel video driver:http://lkml.indiana.edu/hypermail/linux/kernel/0902.3/01703.html =========...
-1
votes
0answers
20 views

Both options in dual boot direct to windows

I have a HP laptop with dual boot (Windows 10 + Ubuntu ) installed on it. I worked on my pc for a year like this by working on any one of the two platforms at a time whichever is required and had no ...
2
votes
1answer
94 views
+100

CentOS SFTP chroot

I've some issues chrooting an SFTP access for a client. I can access the directory, but the problem is I can't read / write, I can just access the directory. Below is what I've done : # cat /etc/...
0
votes
1answer
3k views

Problems getting VMware Server to work on Ubuntu 9.10

I'm trying to get VMware Server 2.0.2 (64-bit version) to work on my Ubuntu workstation. However, the install script ($ sudo ./vmware-install.pl) runs into problems with the kernel modules: [...] ...
0
votes
1answer
425 views

Will VMware Server make my virtual machines use less RAM?

I have many virtual machines on my system (6 at the moment) and many times 2 of them are running in the same time. I have 6GB of RAM but most of time it's on 90% of usage because of the running ...
0
votes
1answer
976 views

VMWare Server inventory directory for ISO images

I'm trying to create a Virtual Machine in VMWare Server for Linux. I'm at the part where it asks for an ISO image. The inventory is empty. I don't know what directory this actually corresponds to on ...
1
vote
1answer
994 views

Shutdown VMware guest applications when UPS kicks in

My situation is that I am running VMware workstation to run a LAMP server for some lightweight data collection. My host OS is Windows XP. I have a APC UPS that is set to shut down the PC via ...
9
votes
1answer
1k views

Renumbering ethernet devices in Linux

I have a VMware machine running Ubuntu 9.10 (Karmic) with three virtual ethernet NICs. For some reason, the kernel has decided that these NICs are: eth3, eth4, and eth5. There is no eth0-eth2. How can ...
0
votes
1answer
308 views

Hardware HDD vs. VMWare Virtual HDD [closed]

I'm working on a kernel 2.4-based OS that normally runs on hardware, but now we're porting it to VMWare. I'm having trouble with access to the hard disk. There are no problems running on hardware, ...
0
votes
0answers
18 views

Interruptable Loop that Does Not Interrupt Piped Processes

I'm trying to write a shell script which performs an operation every fifteen minutes until the user interrupts it, then aggregates all of the results to stdout and exits cleanly. My thought was to ...
1
vote
7answers
2k views
36
votes
7answers
46k views

When to use Bash and when to use Perl/Python/Ruby?

We are doing all our scripting with Bash so far, but I'm starting to feel a bit silly about it. While we can of course do everything we want with Bash (it's quite powerful), I'm starting to wonder if ...
0
votes
1answer
744 views

boot from encrypted filesystem without user interaction?

Is it somehow possible to boot a Linux operating system from an encrypted filesystem/disk without having user interaction? Background: I am preparing a VmWare Image for shipment to a customer. This ...
0
votes
0answers
16 views

Linux turn off laptop screen

Okay. So I've got a second monitor. So my configuration on Linux (Kali) is: Primary - Samsung 23' and Secondary is laptop screen. Sometimes, when I want to, you know, Netflix&chill I used to press ...
0
votes
2answers
382 views

How to recover the ubuntu system?

I installed an Ubuntu virtual machine on Vmware. However, one time the disk was full, the system was installing some updates, it quit without giving any message. Now the system is crashed, I can not ...
7
votes
4answers
1k views

Good Free Ubuntu Server VMWare Image Needed

Can anyone recommend a good, free Ubuntu Server VMWare Image (or Virtual Appliance, as they call them)? I have looked on the VMWare VAM and there are literally hundreds to choose from. I am looking ...
1
vote
3answers
896 views

Unable to run top command in Linux after a few days of uptime

After 3 days uptime, I can't run top in Linux. This is x86 Linux Fedora Core 8 running under vmWare under Windows XP. [root@fc8 ]# uname -a Linux fc8 2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:55:12 EDT ...
0
votes
1answer
3k views

How to upgrade to g++ 4.7 in SUSE linux

I am new to linux. I am trying to upgrade my g++ to version 4.7 If I type g++ -v it shows currently version gcc version 4.1.2 20070115 (SUSE Linux) I am trying to do the following sudo zypper ...
3
votes
0answers
15 views

Why os Fedora is calling containers on startup?

My fedora distro is messed up with docker containers... Everytime I restart this I need to call "docker ps" and then call "docker kill" for each container that is running... How can I discover who ...
0
votes
0answers
7 views

How to get mplayer's currrent volume value?

I want to know the volume value of mplayer from command line, which is running already. Is there any way?
4
votes
4answers
6k views

How to change the resolution of the TTY on Arch Linux

I followed the Arch beginner's wiki to install on VMWare player (host is Windows 7) Arch without x-server and I would like to know how I can change the resolution of what I think is called the TTY to ...
0
votes
1answer
123 views

Unable to get Debian guest full screen on VMware Player 12

I have installed a Debian 8 guest on VMware Player 12 but I cannot get the Debian screen to fill my whole monitor even in Full Screen mode. When I set it up, I set screen size to be the same as the ...
0
votes
1answer
18 views

OpenWRT - how to convert failsafe mode to normal boot?

I know that sounds strange. Here's some background: OpenWRT - how to do initial login (ssh) if 192.168.1.1 can't be routed? Essentially, I flashed openWRT and the normal boot mode is broken. I ...