------------------------------------------------(1) ls view files and folders. To view files that contain hidden files: [[email protected] ~]# ls-aCheck the asking price for your details: [[email protected] ~]# ls-l or ll (lowercase l)(2) Clear Screen CommandClear or Ctrl+l shortcut keys(3) Directory JumpCD: [[email protected] ~]# CD apache-tomcat-7.0.61/Return to Parent directory: CD.(4) View your current locationPwdsuch as: [[email protected] apache-tomcat-7.0.61]# pwd/root/apache-tomcat-7.0.6
1, using the chain list to implement the stackPackage stack;/** * * @author DENGHB * */class link {public long ddata;public link next;public link (long dd) {dData = DD; }public void DisplayLink () {System.out.print (DData + "");}} Class Linklist {private Link first; Public linklist () {first = null; public Boolean isEmpty () {return (first = = null); public void Insertfirst (long dd) {link newLink = new Link (DD); Newlink.next = First;
);
define function: int _findclose (long handle);
using namespace Std;
Defining linked Table Nodes
struct Fileinfonode
{
struct _finddata64i32_t fileInfo; Structure for saving file information
String FileName;
struct fileinfonode* left;
};
Connect the file information to the linked list head
int Savetolink (struct fileinfonode* head,//header node of the linked list, reference parameter
Const string filename,//in: file name (including path)
const struct _finddata64i32_t
GIF image playing in displaylink, add it to the loop, refresh the image cyclically, and then play the GIF image.
@interface UIImageView (LongCachePrivate)@property (nonatomic, strong) UIActivityIndicatorView *indicatorView;@property (nonatomic, strong) NSData *longGifData;@property (nonatomic, strong) NSNumber *longIndex;@property (nonatomic, strong) NSNumber *timeDuration;@property (nonatomic, strong) NSString *urlKey;@property (nonatomic, strong) C
duplicated, while cadisplaylink defaults to repeat until it expires. Another difference is that Nstimer starts running once it is initialized, and Cadisplaylink needs to add a display link to a running loop, a cocoa touch structure for handling system events. Nstimer we usually use the background calculation to update some numerical data, and if it involves the update of the screen, the evolution of the animation process, we usually use Cadisplaylink.Second, Cadisplaylink1. Create a method Self
From Java data structure and algorithm book
If the node is inserted, current points to the inserted element, and if the node is deleted, then current=current.next;
Here's the complete code:
Package com.xll; public class Interiterapp {public static void main (string[] args) {singlelinklist singlelinklist = new Singlelink
List ();
Iteratorlist iteratorlist = Singlelinklist.getiteratorlist ();
Iteratorlist.insertcurrentafter (2);
Iteratorlist.insertcurrentbefore (4);
Iteratorlist.inser
"^ d"Drwxr-xr-x 10 root 4096 09-17 jdk1.6.0 _ 16Drwxr-xr-x 16 1016 1016 4096 10-11 subversion-1.6.1Drwxr-xr-x 9 root 4096 2011-11-01 tomctomcat6.0.32
Example 4: list all files whose names start with "s" in the current working directory. to restore the files, run the following command:
Command: ls-ltr s *Output:[Root @ localhost opt] # ls-ltr s *Src:Total 0
Scrip
the uid is unknown (all the files in the etc are copied from the original compilation environment). An error occurs when the passwd command is executed, prompting "unknown uid 0 ". The solution is to add the lib file.
Libnss_compat.so.2
Libnsl. so.1
Libnss_nis.so.2
Libnss_files.so.2
I have added bash and other programs. In this way, the following files are available under/lib:
-Rwxr-xr-x 1 root 131484 ld-linux.so.2 *
-Rwxr-
libfastcommon-master]# ./make.sh installTip: if the following error is reported when the second sentence is executed, the error 3.3 is returned.
-bash: unzip: command not found
The command is not found because unzip is not installed.
The installation command is:
yum install -y unzip zip3.3 download and install FastDFS
[root@fastdfs-tracker tools]# wget http://jaist.dl.sourceforge.net/project/fastdfs/FastDFS%20Server%20Source%20Code/FastDFS%20Server%20with%20PHP%20Extension%20Source%20Code%20V5.
/Command: Ls-l/opt/soft | grep "^d"Lists the subdirectory details under the/opt/soft fileOutput:[Email protected] opt]# Ls-l/opt/soft | grep "^d"Drwxr-xr-x root root 4096 09-17 18:17 jdk1.6.0_16Drwxr-xr-x 1016 1016 4096 10-11 03:25 subversion-1.6.1Drwxr-xr-x 9 root root 4096 2011-11-01 tomcat6.0.32Example four: List the current working directory of all the names
/peidachang.
example Two : List the contents of all directories in the current directory that begin with "T" and use the following command
command :ls-l t*You can view information for all files in the current directory that have a file name that begins with "T". In fact, in the command format, the contents of the square brackets can be omitted, for the command LS, if you omit the command parameters and Operation object, directly enter "LS", will be listed in the current working dir
connection and whether the file is a symbolic connection.-H or--help online Help.-L or--list lists information about the compressed file.-L or--license display version and copyright information.The original file name and time stamp are not saved when the file is compressed by-N or--no-name.-N or--name compress the file, save the original file name and time stamp.-Q or--quiet does not display a warning message.-R or--recursive recursively handles all files and subdirectories under the specified
/Command: Ls-l/opt/soft | grep "^d"Lists the subdirectory details under the/opt/soft fileOutput:[Email protected] opt]# Ls-l/opt/soft | grep "^d"Drwxr-xr-x root root 4096 09-17 18:17 jdk1.6.0_16Drwxr-xr-x 1016 1016 4096 10-11 03:25 subversion-1.6.1Drwxr-xr-x 9 root root 4096 2011-11-01 tomcat6.0.32Example four: List the current working directory of all the names
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.