Linux basics
some linux basics
Basic terminal commands:
http://www.reallylinux.com/docs/basic.shtml
commands a-z:
http://ss64.com/bash/
Piping commands:
http://wiki.linuxquestions.org/wiki/Pipe
a bunch of helpful sed one liners
SED:
http://www.unixguide.net/unix/sedoneliner.shtml
the grep command
Grep:
http://tldp.org/LDP/Bash-BeginnersGuide/html/sect_04_02.html
chmod (detailed) changing permissions:
http://osr507doc.sco.com/en/man/html.C/chmod.C.html
chown (detailed) changing ownerships:
http://osr507doc.sco.com/en/man/html.C/chown.C.html
bash basics: http://linuxbasics.org/tutorials/advanced/realworld/start
(there's alot of redundancy here, but this stuff is everwhere :P)
uncompress a .zip file | unzip -d file.zip
uncompress a .tar file | tar vxf file.tar
uncompress a .gz file | gunzip -d file.gz
uncompress a .bz2 file | bunzip2 -d file.bz2
uncompress a .tar.gz file | tar xzvf file.tar.gz
uncompress a .tar.bz2 file | tar xvjf file.tar.bz2
ok, so you just downloaded your 'source.file.compressionformat'
extracted it, now you need to compile it.. (if it calls for being compiled)
cd extractedfilesdir
ls -f, look for documentation like a README or INSTALL or README_FIRST, something to that effect..
and example type: cat README | more
..and read thoroughly, this will give you detailed instructions.
to configure a source
start off with: ./configure --help | more
this will give you the option to enable disable change installation paths so on so forth
so your basic configure would be:
source$
./configure --with-feature=enable --prefix=/usr/local/mysource
then if all goes well:
make
su -
make install
if all goes well
the source will compile and be installed in /usr/local/mysource
sometimes files are downloaded as 'bin' files
or 'sh'
(be careful with these and make sure the source from which you are obtaining them from is safe )
once downloaded ;
chmod +x filename.bin or filename.sh
(this makes the file executable)
then type ./filename.bin or ./filename.sh
(as before there's many different types, these are just the most basic)
This isn't anywhere near what linux is capable of, but you've got to learn to crawl before you walk
..My objective here is to motivate people to learn and use the console
..The most powerful user-interface in linux. It don't have to be pretty to be STRONG! ![]()
Comments
-
If you guys have any questions in general pertaining to the nature of this post -- By all means, you can ask me personally via a message or post a question in this thread0
Categories
- All Categories
- 179 LFX Mentorship
- 179 LFX Mentorship: Linux Kernel
- 776 Linux Foundation IT Professional Programs
- 384 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 76 DevOps IT Professional Program - Discontinued
- 7 DevOps & GitOps IT Professional Program
- 103 Cloud Native Developer IT Professional Program
- 7.7K Training Courses & Learning Paths
- 17 AI & ML Training
- 2 Blockchain & Decentralized Identity Training
- 47 Cloud & Containers Training
- 7 Cybersecurity Training
- 4 DevOps & Site-Reliability Training
- 3 Linux Kernel Development Training
- 3 Networking Training
- 2 Open Source Best Practice Training
- 6 System Administration Training
- 1 System Engineering Training
- 6 Web & Application Development Training
- 798 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 96 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 92 Storage
- 775 Linux Distributions
- 83 Debian
- 68 Fedora
- 24 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 32 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 473 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 104 Linux Security
- 79 Network Management
- 102 System Management
- 46 Web Management
- 175 Mobile Computing
- 32 Android
- 128 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 407 Off Topic
- 128 Introductions
- 35 Study Material
- 1.1K Programming and Development
- 312 Kernel Development
- 730 Software Development
- 1K Software
- 421 Applications
- 183 Command Line
- 5 Compiling/Installing
- 71 Games
- 320 Installation
- Archived
- 183 Small Talk
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)