cli

  1. Sueno1123

    Building a golang program from source

    Hello, I'm trying to build pcd from source, which is a CLI podcast manager written in golang. Apparently the usual make command doesn't work on this one. The program is poorly-documented, and the developer appears to be inactive. How do I do it? Thanks for your time.
  2. S

    Creating a grouped tab separated file with a flat list

    Crosspost: https://www.nixcraft.com/t/converting-a-list-into-a-tab-separated-file-grouped-by-values/4517 Hello Linux.org, This is my first post here and I'm hoping the community is inviting to novice shell scripters. So let me share. I have a text file with a list of values. Here is a snip...
  3. SpongeB0B

    [Solved] how launch a interactive terminal for an user from .profile

    Hi everyone, I was looking how to Launch command once at login per user. This is now working thanks to @NorthWest But I would like to launch for the user a terminal to change his password like this -> xfce4-terminal -e 'passwd' from a script that is being called from ~/.profile see: Launch...
  4. N

    A cli appimage store made in ruby Jewelry store

    Hey everyone good night, i made a cli ruby appimage store with my friend check it out https://jewelrystore.emperror.repl.co/ or https://github.com/NillyTheL0L/jewelrystore
  5. SpongeB0B

    [Solved] Launch command once at login per user.

    Hi everyone, When I create an user ( useradd ) I would like to create a command to run only once for the user when he login for the first time. First I was thinking about ~/.profile but I don't like it because the command will stay forever in the file.. and if I use a solution like...
  6. SpongeB0B

    [Solved] Alias don't output with TAB and LF ?

    Hi everyone, when I enter this in the terminal stat --printf="%a\t%A\t%U\t%G\t%s\t%.19y\t%F\t%n\n" * | numfmt --to=iec-i --field=5 --delimiter=' ' --suffix=B I got what is expected: 755 drwxr-xr-x virtua virtua 4.0KiB 2022-02-28 07:09:20 directory Desktop 755...
  7. S

    How to use Linux from USB without booting into it?

    I am a high school student. Sometimes I need a portable way to use linux when I am at school. I am very used to using some linux utilities like VIM, compilers and others for my CS project. As my school runs on Windows, sometimes its very hard to setup a environment for a new language and figure...
  8. L

    Format partition as ext4 and setting overhead to 0%

    Need to format an external hard drive partition. It's not a system drive/partition so no system log files will be written to it. (who uses an external hard drive to write system log files anyway?) By default when you format a partition as ext4, the system reserves 5% of the disk space. So, only...
  9. L

    How to copy files and directories fully preserving nanosecond precision for timestamps

    Purchased a new laptop recently, so need to copy files from old laptop to new. Used the tar command to create an archive, then copied the tar file across to external hard drive, afterwards copied the tar file from external drive to new laptop, then extracted archive on new laptop. Once...
  10. iridakos

    CLI for daily notes

    Hello, I made a CLI tool to save, access and organize daily notes. I named it stup, it derives from the Standup meetings since its initial purpose was to cover my need for keeping my Standup notes in a convenient way. You can find the script and more information about its features on GitHub...
  11. M

    Federated CLI Access with SAML (AWS)

    Hello, I'm trying to allow acces to AWS CLI/API using SAML and ADFS. Every time I run my script I receive the error "Response did not contain a valid SAML assertion". Any idea what's causing this response? For reference I'm following the guide posted here...
  12. superboy2k6

    Add a specific user to get sudo privilleges using shell scripts ONLY

    Hey so I wanted to create a shell script so that a user is added in which the user has sudo privilleges. My code went like this: #!/bin/bash useradd liveuser ; echo -e "liveuser\nliveuser" | passwd liveuser usermod -aG sudo liveuser su liveuser exit It did create the user with the password but...
  13. blackneos940

    Having Trouble Understanding When To Call Classes In C# With Mono and .NET...

    So anywho, this post pertains to Linux, but also to any OS that can run Mono or .NET Framework. It's a basic C# Program I got from a YouTube video teaching C#. :) First, the Code... using static System.Console; namespace Classes { class Animal { //Class Constructors public...
Top