These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

learn more… | top users | synonyms

0
votes
0answers
2 views

Umask value isn't reflecting after changing

I changed Umask value from 002 to 007 in /etc/bashrc and /etc/profile files as being root user. After logging as normal user I run Umask command and it displays value as 0027.It should display 0007, ...
1
vote
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 ...
11
votes
8answers
32k views

How do I work with GUI tools over a remote server?

I have an Ubuntu server running on EC2 (which I didn't install myself, just picked up an AMI). So far I'm using putty to work with it, but I am wondering how to work on it with GUI tools (I'm not ...
0
votes
1answer
1k views

openSuse, not running the cron job

I have created a cron job in the /etc/cron.d/dispatchingEmail_I the permissions of dispatchingEmail_I are the following: -rw-r--r-- 1 root root 84 Sep 11 19:52 dispatchingEmail_I content of ...
18
votes
3answers
1k views

Way to instantly fill up/use up lots of disk space?

On a Linux VM I would like to TEST the NAGIOS monitoring more deeply than just switching off the VM or disconnecting the virtual NIC; I would like to test or "enforce a disk space alarm" through ...
28
votes
3answers
52k views

How to use GoToMeeting in Linux

My employer wants me and the team of developers to communicate with them using gotomeeting.com service. Is it possible to use GoToMeeting in Debian? I know that officially GoToMeeting supports only ...
0
votes
1answer
59 views

AWS linux - How could I install postgreSQL on amazon linux?

I'm really beginner. I want to install postgreSQL on Amazon linux. Please let me know what I should type in regular sequence. I saw some of questions about installing postgreSQL on linux, but there ...
0
votes
0answers
17 views

USB wireless dongle detected by usb but interface does not come up

I have a wireless dongle based on the RTL8192EU chipset, but there doesn't seem to be any module loaded for it. This is the dmesg output when I plug it in: [ 404.321566] usb 1-1.3: new high-speed ...
2
votes
1answer
14 views

How to set a routing table that prefers wlan dhcp interface as default route

eth0 has a static IP set in /etc/interfaces wlan0 gets it IP dynamically How can I change my routing table and where would I put the command to always make wlan0 the default route so internet access ...
52
votes
9answers
127k views

How to list all files ordered by size

I would like to list all files in the order of big to small in size and the files could be present anywhere in a certain folder.
0
votes
3answers
10k views

I don't see .bashrc file in my /home and /etc/skel direcories

I am running linux mint 17.1 rebecca, but I have found it quite different with other distros I am used to, in /home and /etc/skel there's no .bashrc I don't know if i mess up with something or it is ...
0
votes
0answers
18 views

SSH using script not working , but normal ssh working fine

[fm@serv1 new_dir]$ . ./env_call.env [fm@serv1 new_dir]$ ssh ${serv2} "/tmp/new_dir/backup.sh ${env}" Permission denied, please try again. Permission denied, please try again. Permission ...
2
votes
0answers
55 views

“-bash: /root/.bashrc: Permission denied” when logging in

I have this server running Centos 7. Every time I log in (remotely or locally) with every user I get an error. If I log in as root I get -bash: /root/.bashrc: Permission denied If I log in as a ...
0
votes
2answers
21 views

Why is ulimit -u higher than /proc/sys/kernel/pid_max?

On my system ulimit -u reports 63172 and /proc/sys/kernel/pid_max reports 32768. Why is it that the value for ulimit -u is higher than the kernel's value? From my understanding, ulimit -u shows the ...
0
votes
0answers
21 views

I would like to unload kernel modules that show as busy

I want to unload the modules "gsch and redirfs" from kernel on RHEL 7.2 , which is causing frequent kernel panic. But when I try to unload , I am getting below error. # modprobe -r gsch modprobe: ...
0
votes
1answer
18 views

joint two conditions in bash script

Note: Update Jun 28 I have an iptables script .sh (bin/bash) with the rules: function run_ips(){ for ip in $(sed '/#.*/d' ips.txt); do if echo $ip | grep -q "-" >/dev/null; then iptables -A ...
-4
votes
0answers
15 views

How useful is the 'top' command and how would you use it together with 'ps' and 'kill' to investigate a system that might be misbehaving? [on hold]

I am doing my controlled assessments and for the final task I have been asked to get a professionals opinion on this particular question.
1
vote
1answer
12 views

Is there any configuration validator for linux?

I found something if you mistype some configuration for the Linux. Like set invalid value will cause the System crash. In my experience. I assign an invalid value for seLinux. The CentOs will not ...
7
votes
0answers
137 views

CUPS prints n^2 as many copies as I want

This has baffled me for a few weeks now. I have a Kyocera network printer set up in CUPS, and whenever I try to print to it I seem to end up with n^2 as many copies as I request. That is, I try to ...
2
votes
1answer
31 views

Debian Package Manager Problem

When I install something or update something I get the following error messages: Reading state information... Done You might want to run 'apt-get -f install' to correct these. The following packages ...
0
votes
0answers
6 views

No root device specified error

I have created a LFS system by reading the book provided at the LFS website. I tried to create an ISO image of it using the tutorial provided here. Then I created a bootable usb stick using unetbootin ...
0
votes
0answers
25 views

How to find delimiter of a text file in linux? [on hold]

I have text file with first 7 lines having no data, from 8th line it has many columns and couldn't open the file. So, I want to check the delimiter of this text file from linux. Can anyone please tell ...
2
votes
2answers
26 views

Recursive comparison and deletion (without rsync or hashing)

I've been using rsync to synchronise folders and it works well. The problem is that more recently I've started syncing folders with larger files in them, and it takes much longer than I'd like it to (...
1
vote
1answer
16 views

Upgrading Squeeze to Wheezy after LTS stopped

I've got a server running Squeeze 6.0.1 which I want to upgrade to Wheezy. Docs for wheezy state that I should bring squeeze up to the latest point release before upgrading to Wheezy. Is that still ...
68
votes
8answers
62k views

How to know if a disk is an SSD or an HDD

I want to know whether a disk is a solid-state drive or hard disk. lshw is not installed. I do yum install lshw and it says there is no package named lshw. I do not know which version of http://pkgs....
0
votes
0answers
7 views

How to configure the file /etc/security/limits.d/90-nproc.conf?

Sorry for that I tried to search some help in the google for the explanation of the file 90-nproc.conf and want to figure out how to configure this file correctly. But unfortunately not found some ...
4
votes
2answers
11k 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 ...
5
votes
3answers
448 views

What is the difference between -g and -G options in useradd

Forgive me I am not strong in the Linux. As the title said . Could anyone please tell is there any difference between them? After I look through the help. I didn't found much difference between them....
0
votes
0answers
14 views

Encrypt directory on Linux

I need to create an encrypted directory (to be then filled with files and subdirectories) in a Linux ext4 filesystem, accessible to just one user. It should be: visible (just the root) from the non-...
5
votes
1answer
14k views

How to execute Windows commands remotely from Linux machine using rdesktop command?

Is it possible to run Windows commands using rdesktop tool in Linux? I tried with rdesktop -s option: rdesktop -u user -p 10.0.0.2 -s "cmd.exe" but I'm not able to open the cmd.exe using the above ...
0
votes
0answers
20 views

Why doesn't `su -` re-read /etc/environment?

I have the following line in /etc/environment: AAABBB=cccddd When I login using the text console, the variable is set, I don't even need to reboot. But if I do su -, the variable is cleared. Why is ...
1
vote
1answer
3k views

Trouble switching from DHCP to a static IP on Kali Linux

When I installed Kali Linux 64bit, I forgot to set up a static IP address, and now DHCP determines my address with my router. I have already modified /etc/hosts and /etc/network/interfaces to declare ...
0
votes
2answers
41 views

Booted from NFS Linux has no permission for su command

I've booted Linux from NFS with Android system. And now I have to execute command as super use in minicom. But system doesn't allow me to switch to super user mode. Every time when I type: shell@...
5
votes
1answer
5k views

Understand the Route table

I just setup the OpenVPN and it is working as expected. However, the routing table of the client is confusing me to no end. Here is the route table: # route -n Kernel IP routing table Destination ...
1
vote
3answers
34 views

Create Partition (Standard partition vs LVM physical volume) in CentOS installation

All. Forgive me I not familiar with the Linux. I am trying to install CentOS in the VMWare. As I knew, Linux can only create three kinds of partitions. they are primary, extended, and logical, For ...
0
votes
0answers
21 views

Create user who can only ssh and reboot machine [duplicate]

I have a problem when I want to create user for SSH and rebooting the machine only. What I did is I just created a normal user. But normal user can access other commands like reboot, vim, ps, etc. I ...
5
votes
4answers
30k views

startx error when setting up X server on archlinux

I am trying to install X on my archlinux home desktop. I get this error when trying to start it (startx/xinit): [root@computer ~]# startx xauth: file /root/.Xauthority does not exist xauth: file /...
2
votes
3answers
43 views

How to check and run a script if it's not running?

I created a pretty simple script called main_start_script that will run 2 python programs in background, code is: python /opt/cuckoo/cuckoo-2/cuckoo.py 1>cuckoo_script/cuckoo_start.txt 2>&1 ...
2
votes
1answer
30 views

User home directory

I am learning CentOS and I created some users and then deleted, but I used userdel without any option. So will it remove the home directory and other things related to those users? If not then is ...
1
vote
1answer
17 views

Visible portions of windows not redrawn in some applications

Some applications are not updating of their windows, except when the window is made visible again after having been on a hidden virtual workspace. Clicking on menus results in the opened menu being ...
0
votes
0answers
10 views

Intel 7 audio no HDMI audio for headphone and dell notebook works [on hold]

Clean install of Fedora 24 and wish to get the HDMI working on Monitor, believe the HDMI is turned off on the Intel Chip, there's no highlighted/selected HDMI in pulseaudio. The notebook speakers and ...
1
vote
0answers
11 views

iwconfig wlan0 txpower 20 does nothing

I am on Linux Mint 17.3 Cinnamon. I am trying to boost my Wi-Fi signal well under our country specification. Suppose my maximum TX power allowed by our law is 20. Ok, now my integrated laptop card ...
10
votes
2answers
6k views

Do not halt the boot if an fstab mounting fails

I have this line in my fstab: sshfs#ecarroll@o99:/opt/dealermade/ftp/inc /opt/dealermade/ftp/inc fuse defaults,idmap=user,users 0 0 For whatever reason it didn't work -- that's fine. How do I make ...
-1
votes
1answer
30 views

how can I see if my cron is running and doing the job?

how can I see if my backups is saved after the minute assigned? how can I test it if it's ok?
0
votes
0answers
11 views

Questions on /dev/mem, dumping using dd, and .bin and .rom formats

Following @ack 's answer on How to dump BIOS data to a file I would like to know: 1) when one is dumping memory from /dev/mem, is the file data in binary or some other format? I have done a dump ...
0
votes
0answers
36 views

How to convert from virtual address to physical address and back? [migrated]

I'm given a task to write an application that will talk to a device. However this is not a driver since device is still being developed and the application is intended to exercises its first revision. ...
4
votes
1answer
435 views

Why does activation of LVM partition with large snapshot take a long time?

After creating a large snapshot (I assume it drifted about 30GB from the original) I noticed that vgchange -ay took noticeable longer (to the point I thought computer hanged). What does the ...
0
votes
1answer
20 views

how to download poky onto a micro SD card [on hold]

How do I download Linux Poky onto a micro SD card? The goal is to be able to insert the SD card into a gumstix camera so that we can input commands directly to the camera.