Тэги:
#command_line #command_line_interface #cli #command_line_tools #shell #terminal #gnu #linux #bash #multiplexer #neovim #vim #vi #zsh #homebrew #text_editor #console #konsole #alacritty #fuzzy_finder #emacs #package_manager #dpkg #apt #pacmanКомментарии:
for a second, i though 'cometer' was some sort of cli text editor 😒
ОтветитьCLI is bad. You have to use recall memory instead of visual memory. You get no cues. Everybody is lying that they know CLI but they know few commands they use daily and the rest they google.
ОтветитьTo people who can relate, use this comment as an appreciation to the particular phrase from this video, namely: They can't figure out how to exit (VIM)
Ответитьusing a tiling window manager was massive for my productivity. when i suddenly had to start teaching online during covid it became clear how much time is wasted rearranging and resizing items in the display.
impossible to not include git in the list also.
all of the text processing tools in the gnu core utils.
finally i think it is important to set aside a liitle time everyday or every week to automate, customize, optimize and simplify your workflow.
Whether that is adding a couple of command aliases to your shell, or adding a couple of keybindings to your editor.
Even adding some inbox rules to your email
netstat
ОтветитьGreat video, I enjoyed it a lot.
ОтветитьSo what is Command Line Developer tools on mac?
ОтветитьI highly recommend the book by Neal
Stephenson - "In the beginning was the command line."
Why is no one mentioned nala?
ОтветитьA terminal or a console, today means just an empty user interface box, you can run any program in it, be it a shell, a game, whatever you like. It is not a required part of the shell. In fact, you can programmatically run shell scripts inside any program, effectively you can run a shell inside another program, direct the shell's stdout to your program and manipulate it, display it, etc.
ОтветитьI absolutely love CLI. I have 2 laptops one is my gaming pc windows10 stays on that machine. But my hp laptop couple years old I keep arch linux on. It's my main laptop when I just want to surf the web program etc my daily driver if I'm not gaming.
I've last year or so have gotten to the point outside of a web browser I've been only using CLI apps. Email, music player, file manager, neovim, irc, discord (rip that 3rd party tool)
nala is a prettier, faster alternative to apt manage your packages, I've set up aliases to do sudo updates and upgrades etc.
Ответитьisql is one I have used especially when I have corrupted my local database and need to access it. git bash command line is also a tool I have used frequently.
Ответитьits not really a command but a helper? the -h or -help, basically a little documentation for a program
Ответитьupdate your system Forrest 🙂
ОтветитьThe other thing with command line is extensibility. For example, if I keep typing
rsync -haux --progress dir1 dir2 myserver:where/ever
I can e.g. define a function via
rs() { rsync -haux --progress "$@"; }
so that instead I type
rs dir1 dir2 myserver:where/ever
(I use aliases to rename rm to remove to prevent accidently typing rm when I mean rs -- learned that a while back)
or I can type
cat > ~/bin/rs
#!/bin/bash
rsync -haux --progress "$@"
^D
chmod a+x ~/bin/rs
and I have a command than anything can run as if it were an executable. (I do this a lot since it means I can see the terminal above while typing out my program, whereas e.g. vim or nano take over the screen.)
readline in vi mode .. can't live without it
Ответитьi use command line/terminal to utilize afking or automation in minecraft, thanks to minecraft console client
ОтветитьGimme my award
Ответитьhelix, broot, exa are my vital tools.
Ответитьyou forgot dash shell . As for text editors , couldn't you just use echo > file.txt or would that be echo | file.txt ? I know , I'm a blatant nube . Er--I mean Noob .
ОтветитьMan, thank you so much! I was googling like crazy to find 'tldr', couldn't recall its name. Finally found it in this video. I'm a heavy user of this tool and found it extremely useful
ОтветитьHi Forrest Knight. Very good Content. For Windows Packet Manager you should also mention "Chocolately", in combination of windows powershell as Admin. Safes a lot of time.
Your Question answered for windows:
- totalcommander
- lens
- dia
- vscode
- docker
- virtualbox
- terraform
- openssl
- kubernetes-helm
- nodejs
Really great tipps. ;-)
i recommend tig, also zsh, oh my zsh and autosuggestions feature
ОтветитьThe best shell command I recommend is git
ОтветитьI use ZSH + Tmux + NeoVim (highly cusomized). I also keep bpytop (prettier htop) open in one of my panes to monitor make build when executing mulitple runners. I rarely leave the terminal when I'm in a coding session
ОтветитьOne thing I found very cool in bash/zsh is the Ctrl+R shortcut, it's a reverse fuzzy finder but for your recent commands in the shell; So, I never waste my time pressing the up arrow key.
ОтветитьGreat video 🎉 There are many great tools re-incarnations out there like ripgrep, lsd, bat. The one that takes my terminal to the next level is git[hub|lab] CLI. For the first time, I can mange my project in the shell using a clean and sharp interface.
Ответитьnano. 1st install nano then talk
Ответитьtmux, oh-my-zsh, and zsh-autosuggestions are huge ones for me. Lots of tools I use for vim as well. All of these save me a ton of time.
ОтветитьHow do you have so much time to do all these things
ОтветитьOh and ps I use that a lot especially when writing code to see what the resident size of my program is. Especially when writing a more involved C/C++ application then I want to be sure that it isn’t leaking memory.
Even when my code checker says it’s okay I always check. And when I see NodeJS consume 90-150MB for something simple I decide to rewrite it in C++ or Rust because those containers will add up in cost! And since C++ or Rust is even 10 times faster we let definition require 10 times less for the same work load, saving lots and lots of money in the end.
Two commands I’d recommend find and egrep
find probably the more important one for me. Just to find certain files and perform certain actions on it is ideal.
The nohup is also important. pushd popd I use that a ton.
Great content! I try to live in terminal because I find I can navigate faster cause I’m so used to. I started with Vim and stuck with it.
Also, TLDR is definitely the right way to RTFM ha ha.
Keep up the insightful content!
vim exit jokes crack me up so hard because i once had to google how to exit vim hehehehe
ОтветитьI am in Windows Terminal with PowerShell. My favorites are posh-git and ag 'The Silver Searcher'
ОтветитьWezterm, vifm, nvim, taskwarrior, btop, dua, fasd, many fzf commands as the zsh functions.
To be honest, many CLI commands I use in scripts with rofi, so I can bind them to the shortcuts.
I use Oh-My-Zsh, tmux and plugins in OMZ such as autocorrect and suggestions this makes life seriously easy
Ответитьfish shell on cool-term-emulator lmao
ОтветитьI use Konsole and neovim (recently switched from VSCode). I had tmux installed with alacritty and wezterm. I like how I can save my terminal window layouts and bookmark the paths of each instance of the terminal in Konsole. Its support of font ligatures also really great.
ОтветитьRipgrep, micro, jq. If you’re "strictly" a dev then Starship is super cool too. The latter is a little annoying if you are a wide ranged user when it comes to the cli.
Ответитьhalfway throught the video and Ive leared about 'ls' and 'package-managers'
nice work dog. this will git you far
Given the option, I would live entirely within getty on my laptop, but since that's not really practical with the modern web, I tend to use fish on alacritty, neovim (though I have been experimenting with helix), tmux, git (obviously), lynx (a terminal web browser) for looking things up quickly, and the ncurses vlc frontend. I also prefer using bat over cat and less/more, because it has line numbers and it enters a pager (most likely less) automatically if the file takes up more than a single screen. I also experimented with nushell for a little while; it's inspired by powershell but without the object orientation, and is good for displaying data on the screen, but I prefer stuff like zsh and fish.
ОтветитьLazygit is my favorite. Until I use this, I only use add commit pull and push, but now I can use almost every feature of git
Ответитьhow to exit vim?
Ответить