LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-31-2020, 06:34 AM   #1
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: Slackware®
Posts: 13,927
Blog Entries: 45

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Arrow Tricks for getting around your Linux file system


Hi,

Tricks for getting around your Linux file system
Quote:
The cd command is probably one of the first 10 that any Linux user learns, but it's not the only way to navigate the Linux file system.Here are some other ways.
Whether you're moving around the file system, looking for files or trying to move into important directories, Linux can provide a lot of help. In this post, we'll look at a number of tricks to make moving around the file system and both finding and using commands that you need a little easier.
If you need more information for bash builtin commands then look here;
Linux / Unix Bash Shell List All Builtin Commands
Hope this helps.
Have fun & enjoy Gnu/Linux!
 
Old 03-31-2020, 07:50 AM   #2
Michael Uplawski
Senior Member
 
Registered: Dec 2015
Posts: 1,623
Blog Entries: 40

Rep: Reputation: Disabled
Thank you for the references.

Anyhow, the second article is, maybe a little bit, too quickly written. In the output to “help | less”, or “help -d” some descriptions are terribly unhelpful, clipped or otherwise “defunct”. I would not have dared to just replicate this output. You absolutely need the “help [cmd]” in these cases. But you do not know, why.., so why..?

Ah! This is cool, too:
Sample outputs:

Quote:
:: :
Null command.

No effect; the command does nothing.

Exit Status:
Always succeeds
Well... thank you. Maybe. Or What... for the sample.

No. Really. I did not even know the “help” command. This is great stuff, all in all.

Last edited by Michael Uplawski; 03-31-2020 at 07:55 AM. Reason: Sample outputs, second article, not the first.
 
Old 03-31-2020, 02:25 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: Slackware®
Posts: 13,927

Original Poster
Blog Entries: 45

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member Response

Hi,

Quote:
Originally Posted by Michael Uplawski View Post
Thank you for the references.

Anyhow, the second article is, maybe a little bit, too quickly written. In the output to “help | less”, or “help -d” some descriptions are terribly unhelpful, clipped or otherwise “defunct”. I would not have dared to just replicate this output. You absolutely need the “help [cmd]” in these cases. But you do not know, why.., so why..?

Ah! This is cool, too:
Sample outputs:


Well... thank you. Maybe. Or What... for the sample.

No. Really. I did not even know the “help” command. This is great stuff, all in all.
I really cannot see why you would pipe 'help | less' since the help output would be a page. The 'help command' would be to use the 'help shopt' as an example;
Quote:
help shopt
shopt: shopt [-pqsu] [-o] [optname ...]
Set and unset shell options.

Change the setting of each shell option OPTNAME. Without any option
arguments, list all shell options with an indication of whether or not each
is set.

Options:
-o restrict OPTNAMEs to those defined for use with `set -o'
-p print each shell option with an indication of its status
-q suppress output
-s enable (set) each OPTNAME
-u disable (unset) each OPTNAME

Exit Status:
Returns success if OPTNAME is enabled; fails if an invalid option is
given or OPTNAME is disabled.
As most experienced users know that 'help' is abbreviated to allow a user to get description for a particular command.
I thought the articles would be helpful to some Gnu/Linux users.
Hope this helps.
Have fun & enjoy Gnu/Linux!
 
Old 04-15-2020, 12:59 AM   #4
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
I appreciate your contribution of `help` to my {learn,remember}ing conditionals!!!

Code:
help -s \( . [ [[ br cas con ev exe fo if sel te unt wh { #expr(1)
(#comment: expr is a binary, not shell builtin, says: file `which expr`)

Minor btw: I ?think? there's a ?bug? in [
i.e. if an arg (to help) matches several, all are output. Except [[
!!!
 
  


Reply

Tags
bash, builtins, filesystem, path



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Overview of Linux system + getting around LXer Syndicated Linux News 0 08-20-2019 07:03 AM
[SOLVED] Compiz glxgears get's around 400 FPS where OpenBox get's around 1300 FPS, Why? MikeyCarter Linux - Software 5 02-14-2011 04:25 PM
[SOLVED] Starting File System .. Starting File System .. Starting File System .. Starting File rmknox Linux - Newbie 3 08-15-2010 11:30 PM
New Tricks and Toys For Linux Addicts- USB tricks and Portables OS's! linus72 Linux - Newbie 3 05-29-2009 05:36 PM
LXer: Getting your head around PHP objects LXer Syndicated Linux News 0 08-07-2006 08:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration