Listing commands in Linux
2 posters
IITDU Forum :: Academics (BIT) :: Semester 4 :: CSE 401
Page 1 of 1
Listing commands in Linux
It's a tips basically.
You can list quite a number of linux commands, as well as some utilities by a command named 'compgen'
try this things... and then apply 'man' on them.
1. "compgen -c" will list all the commands you could run.
2. "compgen -a" will list all the aliases you could run.
3. "compgen -b" will list all the built-ins you could run.
4. "compgen -k" will list all the keywords you could run.
5. "compgen -A function" will list all the functions you could run.
6. "compgen -A function -abck" will list all the above in one go.
I think this should eliminate the overhead of cramming the commands. Just remember this, it remembers for you.
You can list quite a number of linux commands, as well as some utilities by a command named 'compgen'
try this things... and then apply 'man' on them.
1. "compgen -c" will list all the commands you could run.
2. "compgen -a" will list all the aliases you could run.
3. "compgen -b" will list all the built-ins you could run.
4. "compgen -k" will list all the keywords you could run.
5. "compgen -A function" will list all the functions you could run.
6. "compgen -A function -abck" will list all the above in one go.
I think this should eliminate the overhead of cramming the commands. Just remember this, it remembers for you.
Re: Listing commands in Linux
nice tips
rep++
here is another tips.
When you use the above mentioned commands, it shows all available commands or aliases alphabetically.
you can try this
rep++
here is another tips.
When you use the above mentioned commands, it shows all available commands or aliases alphabetically.
you can try this
- Code:
compgen -c a
Similar topics
» SWOT submission: listing of all groups
» some commands for mysql.....
» Basic unix Commands : Offline edition
» Basic Commands for Oracle 10g
» Various commands for DBMS and MySQL
» some commands for mysql.....
» Basic unix Commands : Offline edition
» Basic Commands for Oracle 10g
» Various commands for DBMS and MySQL
IITDU Forum :: Academics (BIT) :: Semester 4 :: CSE 401
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
Tue Sep 29, 2015 2:45 pm by Sophiawood
» Cisco EHWIC SFP/GE WAN Card
Mon Sep 07, 2015 11:08 am by Sophiawood
» Huawei S1700-28GFR-4P-AC Price
Thu Jun 25, 2015 2:31 pm by Sophiawood
» teach yourself C++ / Herbert Schildt Solutions
Wed Jun 03, 2015 1:52 pm by Abdullah Al Noman
» teach yourself c by herbert schildt pdf
Wed May 13, 2015 11:01 pm by Raquib Ridwan
» ASA 5506X With Firepower ASA5506-K9
Fri Apr 10, 2015 4:31 pm by Sophiawood
» New Trends in Deal Business
Tue Feb 03, 2015 9:38 pm by nersoa
» PoE Power Allocation for WS-C2960S-24PS-L
Wed Nov 05, 2014 11:12 am by Sophiawood
» How to cure back pain
Fri Oct 31, 2014 7:15 pm by Bergen Guildford