-
Notifications
You must be signed in to change notification settings - Fork 1
Command line in Linux
Interactive Timeline of the History of Linux
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
Short programs cooperate between them using pipes |
$command1 | command2 | command3
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.