Skip to content

Linux Command to list all users by uid

I am using RedHat Linux 6. I need redhat Linux terminal code to list all the users above uid=499? i already tried “cat /etc/passwd”. but it shows all users. how do i filter it? Answer You can use awk to parse the passwd database for the UIDs you want. To list all the users for UIDs strictly greate…

Gobblin Git clone error

When trying to download and build Gobblin from git clone. By following, Download and Build Gobblin Locally On your local machine, clone the Gobblin repository: It gives following error in my Amazon Ec2 instance. How to avoid that error message? Answer The issue is not about communicating with the goblin serve…

Where the heck is that core dump?

TLDR: Can’t find the core dump even after setting ulimit and looking into apport. Sick of working so hard to get a single backtrace. Questions on the bottom. I’m having a little nightmare here. I’m currently doing some c coding, which in my case always means a metric ton of segfaults. Most o…

Kernel update breaks CUDA

I have a NVIDIA Grid K2 GPU allocated to a virtual server running Ubuntu 14.04. To reinstall the proper drivers after an automatic kernel update I ran sudo apt-get update followed by sudo apt-get install nvidia-current. Now I cannot get CUDA 7.5 to work any longer. If I run the deviceQuery sample I get the fo…

How to install Android SDK on Ubuntu?

For my Ubuntu machine, I downloaded the latest version of Android SDK from this page. After extracting the downloaded .tgz file, I was trying to search for installation instructions and found: To get started on Linux: Unpack the .zip file you’ve downloaded. The SDK files are download separately to a use…

RPi2, OpenMAX, Deadlock

Environment Raspberry Pi 2 B+ Debian Linux OpenMAX IL Use-case OpenMAX Camera Video capture Camera ports are disabled Renderer / Camera Tunnel is set All components state is set to Idle Ports are enabled Problem description The first port being enabled to the Camera Input port ( Port #73 ), the port is being …

I’m getting errors in my shell script

MY CODE : THE ERRORS : Answer Your code has lots of issues. You were not consistent in your variable names (e.g. pp vs. PurPrice) You only use $ when you want the value of a variable (not on read’s for example). You can’t use strings with the integer test operators (-eq and so on). You need backti…