1--28

来源:互联网 发布:in软件下载ipad 编辑:程序博客网 时间:2024/05/19 14:52

1.bash character

   history ----!

   autocomplete

2.visit a remote server

   Virtual Network Computing (commonly called   VNC),

   Remote Desktop Protocol (RDP)

   Secure Shell (SSH).

3.man whatis apropos info

 

4./etc/passwd /etc/group

5.Many of the processes whose name starts with k are not real processes, but kernel threads

6../make
The addition of the ./ in front of the command executes the make command in our current
directory.

 

7.file structure

   /bin/ User commands and binaries.
   /boot/ Files used by the boot loader. (We talk about boot loaders in Chapter 5.)
   /dev/ Device files.
   /etc/ System configuration files.
   /home/ User’s home directories.
   /lib/ Shared libraries and kernel modules.
   /media/ Removable media is usually mounted here (see Chapter 8).
   /mnt/ Temporary mounted file systems are usually mounted here (see Chapter 8).
   /opt/ Add-on application software packages.
   /proc/ Kernel and process status data is stored in here in text-file format.
   /root/ The root user’s home directory.
   /sbin/ System binaries.
  /srv/ Data for services provided by this host.
  /tmp/ Directory for temporary files.
  /usr/ User utilities, libraries, and applications.
   /var/ Variable or transient files and data, for example logs, mail queues, and print jobs.

 

8.sticky

Sticky permissions are slightly different and are used on directories (they have no effect on files). When
the sticky bit is set on a directory, files in that directory can be deleted only by the user who owns them or the root user, irrespective of any other permissions set on the directory.

 

9.file permission

setuid/setgid permissions are used sparely to allow this sort of access

 

10.cp

If you want to preserve the original values on the copy, you can use the -p switch

 

11.;

Another useful trick is the ability to run multiple commands on a single command line by separating
each with a semicolon:
$ ./configure; make; make test

 

12.link

Hard links can hence only be created on the physical partition or hard drive; you can’t link to a file
located on another drive or partition.