Free Republic
Browse · Search
General/Chat
Topics · Post Article


1 posted on 12/06/2021 12:15:03 PM PST by ShadowAce
[ Post Reply | Private Reply | View Replies ]


To: rdb3; JosephW; martin_fierro; Still Thinking; zeugma; Vinnie; ironman; Egon; raybbr; AFreeBird; ...

2 posted on 12/06/2021 12:15:16 PM PST by ShadowAce (Linux - The Ultimate Windows Service Pack )
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce

Very good primer!


3 posted on 12/06/2021 12:21:44 PM PST by frogjerk (I will not do business with fascists)
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce

I can also get along without electricity too. And refrigeration.


4 posted on 12/06/2021 12:23:38 PM PST by Steely Tom ([Voter Fraud] == [Civil War])
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce

bkmk


5 posted on 12/06/2021 12:27:38 PM PST by sauropod (Meanie Butt Daddy - No you can't)
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce

I knew most of those.


6 posted on 12/06/2021 12:27:50 PM PST by Pollard (PureBlood -- youtube.com/watch?v=VXm0fkDituE)
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce

The terminal is only extremely useful because of The ‘Net and
Search Engines...[along with cut and paste and editing capabilities].

Jus’ sayin’...


8 posted on 12/06/2021 12:37:59 PM PST by Paladin2 (Critical Marx Theory is The SOLUTION....)
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce

I use Yakuake terminal. It runs all the time and when you hit F12 and it pops down from the top of the screen. I’ve got it set to be 60% of the screen width and centered horizontally. I don’t have to wonder where the terminal will open or how small it will be.


9 posted on 12/06/2021 12:40:29 PM PST by Pollard (PureBlood -- youtube.com/watch?v=VXm0fkDituE)
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce
I would just nit-pick (because I'm avoiding doing something else at the moment) that for #16 that isn't really running multiple commands "at once." It is running multiple commands in sequence from one command line entry.

Now, you can run multiple things at once by putting a running command into the background. I'm a bash guy so this is what I know:

./some_command &
./some_other_command

This will start some_command and immediately return control to the shell, where you can start some_other_command and both will run simultaneously.

A couple of other really handy tricks involves piping. Say the some_command program was going to dump a lot of text to the screen. It's going to scroll by fast...or you can pipe that into one of two programs, more or less. Yes, that is their names.

./some_command | more

The vertical bar is the pipe symbol. All the standard output from some_command gets piped into the input of the more program - which shows you a few lines at a time and allows you to page through it at your own pace. Less works similarly, no I really haven't bothered to find out why we have two nearly identical utilities.

There are also 'head' and 'tail' programs similar to more and less that, as the names imply, show you merely the head (first few lines) or tail (last few lines) of the text.

One other good trick is redirecting to a file. Suppose some_command generates a lot of text and you want to save it to look at later:

./some_command > foo.txt

Will dump the standard output of some_command into a file called foo.txt. Or you can get fancy and do:

./some_command > foo.txt
./some_other_command >> foo.txt

This puts the output of some_command into foo.txt, then it appends the output of some_other_command to foo.txt - so you can later read it all.

Ok, enough geeking out for one afternoon.

11 posted on 12/06/2021 12:53:39 PM PST by ThunderSleeps (Biden/Harris - illegitimate and everyone knows it.)
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce

Why does the title say “every Ubuntu user should know”?

Is this a way if saying “every n00b should know”?

Because AFAICT none of this is unique to Ubuntu.


17 posted on 12/06/2021 1:25:11 PM PST by 2 Kool 2 Be 4-Gotten
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce

Oh man... Another “Too techy for you” Linux post. My friend... Are you trying to discourage the use of Linux when there are now full point and click GUI desktops?

Here is a counter argument to terminal “Dependency”...

Aside from the totally capable GUI interfaces most distros have now, I am running into very useful apps but they have no GUI Icon launch access supplied, only terminal commands to start them. Found that it is easy to create a launch shortcut and icon that will automatically perform the launch command for you without needing to put the commands in the terminal. I am going to use Cinnamon as the example but in the link below are the instructions how to do it with other desktops.

For Cinnamon, Xfce, And LXDE, first find and make note of where the launch file for the application is located in your directory. You can find this with a search of your directory using the application name. Or it can usually be found in system files/user/bin/. Or just use the terminal launch command supplied with the app if you have it.

You can then create an application launcher by right-clicking on the desktop background, and selecting +Create Launcher menu. Click on the Create Short cut icon and it will give you a menu of icon types to choose from. Then fill in the app type, app name, terminal command, the location of the app in your file directory using the “Browse” dropdown menu, and then any additional note you want as meta data when you hover your mouse cursor over the icon.


20 posted on 12/06/2021 2:20:07 PM PST by Openurmind (The ultimate test of a moral society is the kind of world it leaves to its children. ~ D. Bonhoeffer)
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce

We have a Linux mainframe. It’s basically all I do sometimes. crontab -e


23 posted on 12/06/2021 2:25:26 PM PST by AppyPappy (Biden told Al Roker "America is back". Unfortunately, he meant back to the 1970's)
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce
Thanks. How much does regex correspond to this?

Meanwhile, how many Windows users have even run dxdiag in the Run command?

24 posted on 12/06/2021 3:09:47 PM PST by daniel1212 ( Turn to the Lord Jesus as a damned+destitute sinner, trust Him to save + be baptized + follow Him!)
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce

Excellent post.


25 posted on 12/06/2021 6:18:19 PM PST by kiryandil (China Joe and Paycheck Hunter - the Chink in America's defenses)
[ Post Reply | Private Reply | To 1 | View Replies ]

To: Nailbiter

flr


26 posted on 12/06/2021 6:22:35 PM PST by Nailbiter
[ Post Reply | Private Reply | To 1 | View Replies ]

To: ShadowAce

I use a Linux app called “easystroke” (horrible name lol), and I have the terminal set to open with a mouse gesture (a “lesser than” symbol <) makes it super quick to open, and the “greater than” symbol > for close)

Another easy tip is that if you type a long command with something wrongmin it, and you get an error, instead of typing the whole,thing over again, use your “up arrow”,to select the previous command you typed, then use your left arrow to move the cursor to the right spot to correct the mistake (which is usually just a wrong letter, or symbol or somethjng)


27 posted on 12/07/2021 8:20:41 AM PST by Bob434
[ Post Reply | Private Reply | To 1 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson