Linux command line for newbie
Linux command line can be used as method to check linux system, networking or analytic our system server and networking. Working with linux command line for newbie maybe it’s not easy especially if we have not accustomed to work using the console, it’s like me when the first time learned about linux. For the best way to learn linux command line is do it with practice directly on the linux OS. We could install linux operating system on virtual system like virtualbox, virtual pc, vmware and other virtual system to learn about linux command line, with the virtual system we can build labs with low cost. We just install virtual system in our pc or laptop then install linux over there, here some linux command line for newbie
ls is linux command file to list information about the files (see on man page)
ls –a : linux command file to list all file included hidden file
ls –clt : Linux command line to list the last modification file
ls –glt : like ls –clt this command to list without owner of the file
l –lS : to list file base on file size
ls -a /etc | pr -T15 -W$COLUMNS : linux command line to print 15 coloum on directory “/etc” just change how many table on the number after T
Below sample the output of ls linux command line :
We can modified all command ls above according we need, see on man page ls
du is linux command line to summarize disk usage of each file, recursively for directories
du –h is linux command line to read size of files for human readable format (e.g., 1K 234M 2G)
find is linux command line to search for files in a directory hierarchy
find / -name test.txt : this command are used to file test.txt on the root directory
sample output of the command line
We can use find linux command file with some createria for example want to find the last word that containt test.txt
And of course we can find directory with find command for example to find directory test on the root directory
All linux command line above is some basic command we can do it more and modified to build useful tool on linux. There are many linux command line that can be used to check and analytic in our system linux server.
Another linux command line