command line

  1. hal_sk

    Using command outputs in another scripts

    Hello, Sometime I need to extract specific value (or more values) from my system using command outputs (in order to use this values for conditional testing in scripts). For example: Get my CPU temperature and if it is above 60 °C then do something. For this scenario I use command "watch -n 2...
  2. N

    [Don't Need To Fix The Problem Anymore So Idc, Thanks For The Help] Desktop Isn't Scaling Properly At 1080p And I Don't Know How To Fix It

    Ever since I switched to Linux whenever I tried using 1080p the taskbar and windows would go outside of the screen, hence I figured it wasn't scaled properly. DIdn't know how to fix it, was able to use 1050p without a problem so I just stuck with that. Yesterday I was following Christ Titus...
  3. Lasnik

    Command line library for GUI

    I installed Debian via the minimal-net installer without any GUI. But now I want to make one myself :D So are there any Java (this would be better) or C libaries that can help building a simple GUI in the command line?
  4. B

    can't see or find "system-auth" and "password auth" in pam.d

    So I want to sett the limitation of login attempt on some users. And I have to use system-auth and password-auth to do so. But I can't see or find them! /etc/pam.d Hope somebody can help
  5. M

    drivers: video: logo: Select boot logo on runtime

    Hi, I'd like to know one if my approach towards the following problem statement is correct or wrong, Developer should be able to select a logo on runtime using kernel command line argument or something similar. As far as I see from the drivers/video/logo section, we need to implement some...
  6. L

    Sdout stream a command into the same file?

    I do not know if I expressed myself well in the title, but please correct me if I am wrong. Here I have a beginner problem: I have a file with multiple lines of code, and I can number lines of code with nl command, now I want to number the lines but i want to stream the output into the same...
  7. M

    How to connect to Wifi network from COMMAND LINE INTERFACE ?

    Hello, I skipped downloading DESKTOP ENVIRONMENT in installing kali linux. Now I stuck in CLI. i tried following commands sudo apt update sudo apt upgrade sudo apt-get install xfce4 but I realized I didn't connected to internet. How to connect to internet using wifi in CLI ? I really...
  8. T

    Newb with some questions!

    Backstory: So I have an older Lenovo laptop; currently running Windows 10. It could be much faster and better if it had a Linux OS on it. I have my Associates in Computer Networking and we used Kali in school and so I have a basic and general understanding of Kali and Linux. Question: I have...
  9. E

    Linux installation error

    I'm new to Linux, and I'm trying to install some packages for machine learning. I'm using NVIDIA Jetson TX2, and have had no problems installing packages like TensorFlow and whatnot. However, I'm currently trying to install something called Keras, and when I enter `pip install keras` or `sudo -H...
  10. blueray

    Text Above and Bellow Selected Lines

    I am using Geany. These is a option Edit > Format > Send Selected To > Set Custom Commands Here, for example if I want to sort selected text, I just use sort command. What I want this (Set Custom Commands) to do is put .... above and bellow my selected line/s. For Example if I select the...
  11. Nemesis

    mv command exist with code 0, even if it falls..

    I'm currently writing a script to rename a file (by using the mv command) However, when the move fails, due to file already exist, the mv command exist with code 0 If I'm pressing ctrl-c, I will get exit code 130.. Is mv supposed to behave like this? How why, I'm confused.. Isn't there anyway...
  12. SBlackLinux

    LPIC-1 Exercise Question on Libraries

    Hi all. New to the forum and a bit of a newbie, but trying to learn. I have searched for an answer but haven't found one, so hoping someone can assist. The Dynamic Libraries chapter in Tuxcademy's LPIC-1 manual has the following exercise: "Find a statically-linked executable on your system."...
  13. P

    naming custom shell command

    I have a custom shell that i am implementing. I am trying to keep the commands for that shell close to what people are used to for a normal linux shell. I am having a hard time finding any naming convention style guide, so i am seeking assistance here. I want to list all the toys associated...
  14. D

    Remote control a linux machine, via terminal

    Hey, I made two python programs, in two different computers, that uses sockets to communicate between the two computers. Then, I wanted to execute a terminal command at the client program and the command it self will be sent from the remote controller program, then the client will send the...
  15. L

    Problem with MAC spoofing

    Hi everyone, I'm writing because I'm a rookie with GNU Linux and I got this problem: If i write this commands: sudo ifconfig <interface> down sudo macchanger -r <interface> sudo ifconfig <interface> up then, I can't surf the net... If anyone could help me with this problem, I'd be very...
  16. A

    nnn - the missing terminal file browser for X

    This post is a shameless attempt to introduce nnn - https://github.com/jarun/nnn I've been writing `nnn` for a year and it's stable now. Available on several distros and each release comes with cooked packages for multiple distros. `nnn` runs on Linux, OS X, Raspberry Pi, Cygwin, Linux...
  17. Alboy1975

    Complete linux noobie, ordered secondhand laptop (what i need to know)

    Hi I am awaiting delivery of the below laptop, which I've picked up for £170: https://www.ebay.co.uk/itm/Lenovo-Thinkpad-Ultrabook-Helix-11-6-Touch-i7-3667U-8GB-256GB-SSD-Windows-10/153120834786?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649 I have been around computers most of my...
  18. blackneos940

    openSUSE Qt5: QtWidgets: No Such File Or Directory.....? :3

    Hello everyone!..... ^^ I had ungodly amounts of Mountain Dew today, and I decided to take a crack at compiling JasKinasis' Qt Programs under openSUSE, which I just installed last night..... :) What Package/step am I missing.....? :< I tried: qmake -project; qmake; make; , and I even...
  19. Tobby P

    Domain specific language best practices

    I’m discussing usage of DSL (domain specific language) in security tools with my colleagues. We haven't been able to reach an agreement over naming conventions. There are many tools using DSL: splunk, sumologic, elasticsearch and etc. But what are the best practices? So for example how would...
  20. D

    Installing Telegram on Ubuntu 17.04 (32bit)

    Hello, Linux folks! I've been using Ubuntu for several years at the office but have primarily been using it for web-based things, typing up work reports, etc. It's only in recent months I've been trying to learn how to use the command line, move beyond Ubuntu Software center, and so on. Today...
Top