Favorite Linux Commands
-
@brianlittlejohn Switch to powershell and always use "ls"
-
This thread deserves more attention than it gets. I was getting annoyed with dd and no status display today (lots of Raspberry Pis to image.) This time I know the exact size of the sd cards being imaged tho, so pv is very helpful.
dd if=/home/comtech/rpi.img | pv -s 16g | dd of=/dev/mmcblk0 bs=4k[root@localhost comtech]# dd if=/home/comtech/rpi.img | pv -s 16g | dd of=/dev/mmcblk0 ^[34MiB 0:01:37 [ 249KiB/s] [==> ] 2% ETA 1:17:2 -
@travisdh1 said in Favorite Linux Commands:
This thread deserves more attention than it gets. I was getting annoyed with dd and no status display today (lots of Raspberry Pis to image.) This time I know the exact size of the sd cards being imaged tho, so pv is very helpful.
dd if=/home/comtech/rpi.img | pv -s 16g | dd of=/dev/mmcblk0 bs=4k[root@localhost comtech]# dd if=/home/comtech/rpi.img | pv -s 16g | dd of=/dev/mmcblk0 ^[34MiB 0:01:37 [ 249KiB/s] [==> ] 2% ETA 1:17:2This isn't installed by default on some systems, but i easy & quick to add.
-
Mine has been grep and cat.
-
When I want to use virt-manager from my Mac.
ssh -Y username@ip-address virt-manager & -
I use
^quite frequently any more. -
free -h -
-
cat <<EOF | sudo tee /home/user/Documents/hello-MangoLassi.txt Hello MangoLassi! EOF -
historyas of late
lol -
@wirestyle22 said in Favorite Linux Commands:
historyas of late
lolctrl + rSearches typed query in command history. -
@travisdh1 said in Favorite Linux Commands:
@wirestyle22 said in Favorite Linux Commands:
historyas of late
lolctrl + rSearches typed query in command history.Pretty much this. Use it all the time.
-
@jaredbusch said in Favorite Linux Commands:
@travisdh1 said in Favorite Linux Commands:
@wirestyle22 said in Favorite Linux Commands:
historyas of late
lolctrl + rSearches typed query in command history.Pretty much this. Use it all the time.
I've been using ZSH and I have it automatically do that.
-
@stacksofplates said in Favorite Linux Commands:
@jaredbusch said in Favorite Linux Commands:
@travisdh1 said in Favorite Linux Commands:
@wirestyle22 said in Favorite Linux Commands:
historyas of late
lolctrl + rSearches typed query in command history.Pretty much this. Use it all the time.
I've been using ZSH and I have it automatically do that.
So as I type it dynamically auto suggests things. Then just hit ctrl+e to auto complete.

-
Die die die
Sorry that's what I shout when something doesn't work as I'm a newbie lol
-
Finding a file or folder without seeing any permission denied texts.
find / -name "filetofind" 2>/dev/null