Command Line

Subscribe to Command Line feed
This is for anything regarding the command line, in any operating system. All questions (including dumb ones), tips, and interesting programs/console applications you've found or made yourself are welcome. Linux / BSD / OSX / Windows CLI apps or questions or comments, we're happy to take them all!Command Line
Updated: 1 min 35 sec ago

What shell should I use?

58 min 22 sec ago

Right now, I'm using zsh. I want something a that is a whole lot more minimal. It should be POSIX compliant.

It should have a vi mode and ideally (I know that this is a stretch) I would really like syntax highlighting in the interactive shell

submitted by /u/milanoscookie
[link] [comments]

Command line utility requests

8 hours 53 min ago

I have 2 months of free time and am planning to make 3 command line utilities. I'm making them open source ofc. Any ideas?

submitted by /u/milanoscookie
[link] [comments]

Windows - "Archive" of dates a file was previously modified.

Thu, 01/17/2019 - 08:23

When a file is changed and then saved, it usually records the exact time a file was saved. However, is there a way to view a history of all or at least some of the dates the file in question was modified, so you get an idea of how often you're working on the file? For example:

Last modified: Friday 3:30:15

Before that: Thursday 2:17:56

Before that: Wednesday 9:10:11

Before that: Tuesday 1:12:19

Before that: Monday: 10:00:01

If there is a way you know of, I'd be happy to hear.

submitted by /u/AfroMother
[link] [comments]

Is there a way to enable the ability to move the terminal cursor using the mouse in the CLI?

Wed, 01/16/2019 - 21:57

My current set up for context:

combo of hyper.js, fluent terminal, and cmnder on windows(WSL). Using Terminator on Ubuntu 18.04.

zsh shell

I'd like to be able to use my mouse to move the cursor in the terminal. In other words, if I had a super long command I wrote, I'd like to be able to click to move the cursor to edit it, rather than having to key around to get there.

I'd also like the ability to do this in Nano. I have read that this can be done in nano by using the -m flag but it does not seem to be working for me when I try.

Is there some kind of utility I can install to do this? Do I need a specific terminal emulator to make this work? If so, what kind?

submitted by /u/MadCervantes
[link] [comments]

Ubuntu question command help

Wed, 01/16/2019 - 11:45

What would this command do in Ubuntu

ls -al| sort -k 4,4|more

submitted by /u/Deanxd78
[link] [comments]

Command line Radio stream client: a few questions

Wed, 01/16/2019 - 03:42

Lately I tried to find an application where I can manage internet radio streams. Rhythmbox has a god awful UI and sometimes crashes if the supplied URL isn't an actual stream, other alternatives I found on alternative.to look like their custom UIs were made in a college class in the early 2000's or feature a bazillion logos for services I'll never use and are overwhelming from a UI perpective.

So I said fuck it, maybe something on the command line? Couldn't find anything after a short search.

Is there anything along the lines of what I'm looking for that isn't made with javascript (save URLs and names, be able to type "radiostream BBRadio" and have the saved stream start without further input)?

If not, I would be interested in making one myself. Should I write it in Python, since it's on most Debian based installations (I would have to learn it), or Java, which I have more experience with but will be a dependency installation for many?

submitted by /u/heyitsdross
[link] [comments]

[utility] bkp - simple tool for making simple backups

Wed, 01/16/2019 - 03:28

Whenever I act as a system administrator or software developer, I constantly find myself invoking cp myfile myfile.bkp. Yes, we have multiple version control systems around, but sometimes we need something extremely simple. This is where bkp comes into play.

https://github.com/gergelyk/bkp

With this tool you will easily backup and restore you files and directories. Alternatively you can pack them into archives and even append your comments.

Enjoy!

submitted by /u/gergelyk
[link] [comments]

Pages