Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Shell scripts to copy all directories under the current directory of a certain type of file to the same directory     - Linux Live CD lets your PC is no longer secure (Linux)

- Live Wallpaper for Linux release adds dynamic background (Linux)

- Programmer editor Vim (Linux)

- Oracle 11g users to create, authorize and import dmp file (Database)

- Fatal NI connect error 12170 error in Alert Log (Database)

- Configuration OpenOCD + FT2232 under Ubuntu (Linux)

- Android Touch message passing mechanism analysis (Programming)

- 5 tips to improve your Linux desktop security (Linux)

- Linux deploy Tutorial (Linux)

- Use read command to read user input (Programming)

- Docker knowledge base (Server)

- Use Ansible installation NGINX and NGINX Plus (Server)

- Under CentOS yum install Nginx smooth switch mounted to Tengine (Server)

- How to configure HTTP Strict Transport Security (HSTS) (Linux)

- Two programs HAProxy + Heartbeat (note, the secondary server vip, normal HAProxy boot method) (Server)

- Linux C source code (Ascii HexToBinary: Converts hexadecimal string format ASCII codes) (Programming)

- Docker Private Registry Installation Guide at CentOS6.X (Linux)

- In the case of using cgroups Ubuntu 14.04 and Docker (Linux)

- Ubuntu terminal command - see the port occupied and off (Linux)

- Java rewrite equals method (Programming)

  Shell scripts to copy all directories under the current directory of a certain type of file to the same directory
  Add Date : 2018-11-21      
  There are some files and directories under the current directory, where each directory has a number of .txt files,

Now asked to create a new directory all in the current directory, and the directory of all those .txt files

They are copied to the directory all. In Ubuntu 12.04 the shell script to achieve the following:

#! / Bin / sh

# Message
echo "start:"

# Define variables
dst = all
pst = .txt

# Copy the files to the destination folder
if [-d $ {dst}]
echo "$ {dst} existed"
echo "mkdir $ {dst}"
mkdir ./${dst}
cp ./*/*$pst ./$dst
- CentOS 6.6 x64 Oracle Database 11gR2 RAC automated installation scripts (Database)
- dmidecode command Detailed (Hardware information) (Linux)
- CentOS5 installation Nodejs (Linux)
- JavaScript subarray Deduplication (Programming)
- The Linux firewall is configured to use proxy (Linux)
- Linux file system management partition, format, mount - label mount (Linux)
- Git bulk delete remote tag (Linux)
- Linux non-root user uses less than 1024 ports (Linux)
- Experts teach you how to identify the actual functional differences between the firewall (Linux)
- Ubuntu 14.04 to install file editor KKEdit 0.1.5 version (Linux)
- How to install MySQL on Linux Dock (Database)
- GitLab Installation Guide -Ubuntu 14.04 LTS (Server)
- FileZilla FTP && TLS connection settings of (Linux)
- Python implementation Bursa transition model (Programming)
- Linux boot process and run level (Linux)
- Oracle restrict certain IP, the malicious user actions on important table (Database)
- Linux NFS FTP use (Server)
- Linux directory permissions to read and execute permissions difference (Linux)
- Four levels to deal with Linux server attacks (Linux)
- Tomcat installation under Linux (Server)
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.