Command line in Linux - itzjac/cpplearning GitHub Wiki

Interactive Timeline of the History of Linux

Teaching Unix for beginners

Unix commands Cheat sheet

Learning VIM

a shell is a command line interpreter which provides the user interface for terminal windows

rsync echo > myfile.txt echo myline2 > myfile.txt cat << EOF > myfile.txt

Interactively enter line by line until line with content EOF is found

print "txt" > myfile.txt touch myfile.txt strings a.out objdump -d a.out | less

Pipes

Short programs cooperate between them using pipes |

$command1 | command2 | command3

Symbolic Links

Take no extra space in the filesystem Hard link ln file1.txt file2.txt what is really going on here is that it is only one file but it has more than one name associated with it, as is indicated by the 3 that appears in the ls output Soft link ln -s file1.txt file2.txt Unlike hard links, soft links can point to objects even on different filesystems (or partitions) which may or may not be currently available or even exist. In the case where the link does not point to a currently available or existing object, you obtain a dangling link.

A process is simply an instance of one or more related tasks (threads) executing on your computer. It is not the same as aprogram or a command; a single program may actually start several processes simultaneously. Some processes are independent of each other and others are related. A failure of one process may or may not affect the others running on the system.

UNIX TOOLBOX

An extensive command list

⚠️ **GitHub.com Fallback** ⚠️